projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
781beb4
)
nvm, dont strip .git from bare repos
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 26 Dec 2015 19:58:28 +0000
(20:58 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 26 Dec 2015 19:58:28 +0000
(20:58 +0100)
urmoms.c
patch
|
blob
|
history
diff --git
a/urmoms.c
b/urmoms.c
index 301d0e17e423955d0e8b61d213fe77b920baae34..9391de6f937143477da2fccc0986973f35094e45 100644
(file)
--- 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",