istrip suffix .git used typically for bare repos - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit e4e03b3bf91db3a6fe8acdcf97603240e9bf7896 /scm/stagit-gopher/commit/e4e03b3bf91db3a6fe8acdcf97603240e9bf7896.gph bitreich.org 70 1parent 3da41fa5dde944cd00171d384ce30c20fbb0c5a0 /scm/stagit-gopher/commit/3da41fa5dde944cd00171d384ce30c20fbb0c5a0.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Sat, 26 Dec 2015 12:57:33 +0100 Err bitreich.org 70 i Err bitreich.org 70 istrip suffix .git used typically for bare repos Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M urmoms.c | 3 +++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 3 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/urmoms.c b/urmoms.c /scm/stagit-gopher/file/urmoms.c.gph bitreich.org 70 i@@ -791,6 +791,9 @@ main(int argc, char *argv[]) Err bitreich.org 70 i p = xbasename(repodir); Err bitreich.org 70 i snprintf(name, sizeof(name), "%s", p); Err bitreich.org 70 i free(p); Err bitreich.org 70 i+ /* remove .git suffix, typically used by bare repos */ Err bitreich.org 70 i+ if ((p = strstr(name, ".git"))) Err bitreich.org 70 i+ *p = '\0'; Err bitreich.org 70 i Err bitreich.org 70 i /* read description or .git/description */ Err bitreich.org 70 i snprintf(path, sizeof(path), "%s%s%s", Err bitreich.org 70 .