stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit 9a29ca4f359f3f0b8c54248a2d5e3feade824d3c
parent 34872c4907ffb773cf672c818b1abd86bfae4c0c
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat,  4 Apr 2020 21:38:09 -0500

Add more license and readme file templages

Diffstat:
Mstagit.c | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -65,9 +65,14 @@ static char description[255];
 static char cloneurl[1024];
 static char baseurl[255] = "https://git.shimmy1996.com";
 static char *submodules;
-static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:COPYING" };
+static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:.LICENSE",
+                                "HEAD:LICENSE.md", "HEAD:.LICENSE.md",
+                                "HEAD:LICENSE.org", "HEAD:.LICENSE.org",
+                                "HEAD:COPYING", "HEAD:.COPYING" };
 static char *license;
-static char *readmefiles[] = { "HEAD:README", "HEAD:README.md" };
+static char *readmefiles[] = { "HEAD:README", "HEAD:.README",
+                               "HEAD:README.md", "HEAD:.README.md",
+                               "HEAD:README.org", "HEAD:.README.org" };
 static char *readme;
 static long long nlogcommits = 100; /* < 0 indicates not used */