stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit 044a15e3508bba01d3e585c7215eea009c36ff67 parent b50a95019a8c223f42fbc04a540b827b7f0c43cd Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 26 Dec 2015 20:58:28 +0100 nvm, dont strip .git from bare repos Diffstat:
| M | urmoms.c | | | 3 | --- |
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/urmoms.c b/urmoms.c @@ -791,9 +791,6 @@ main(int argc, char *argv[]) p = xbasename(repodir); snprintf(name, sizeof(name), "%s", p); free(p); - /* remove .git suffix, typically used by bare repos */ - if ((p = strstr(name, ".git"))) - *p = '\0'; /* read description or .git/description */ snprintf(path, sizeof(path), "%s%s%s",