stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit cfd2d23d1a7cdf6e78e35b5ac7ae53d36970b2dc
parent e660d51cbcb85ea05fe6b382ee136f7ac768337b
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
@@ -59,9 +59,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 */