Introduction
Introduction Statistics Contact Development Disclaimer Help
tnvm, dont strip .git from bare repos - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 8c58750b636edc4ee36aff62d7c126f99b803dbb
parent 781beb4950b56cd39cb95fdba9eb8979f29283bc
Author: Hiltjo Posthuma <[email protected]>
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
t@@ -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",
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.