mirror of
git://git.codemadness.org/stagit
synced 2025-03-09 17:19:10 -04:00
nvm, dont strip .git from bare repos
This commit is contained in:
parent
781beb4950
commit
8c58750b63
3
urmoms.c
3
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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user