summaryrefslogtreecommitdiff
path: root/urmoms.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 20:58:28 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 20:58:28 +0100
commit8c58750b636edc4ee36aff62d7c126f99b803dbb (patch)
treebe8a91394f341ba2c5556004c7f2c98b28a97f5c /urmoms.c
parent781beb4950b56cd39cb95fdba9eb8979f29283bc (diff)
nvm, dont strip .git from bare repos
Diffstat (limited to 'urmoms.c')
-rw-r--r--urmoms.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/urmoms.c b/urmoms.c
index 301d0e1..9391de6 100644
--- 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",