]> Sergey Matveev's repositories - public-inbox.git/commit
git: local_nick: handle trailing or redundant '/' in git_dir
authorEric Wong <e@80x24.org>
Mon, 29 Mar 2021 23:58:54 +0000 (23:58 +0000)
committerEric Wong <e@80x24.org>
Tue, 30 Mar 2021 06:26:05 +0000 (02:26 -0400)
commit9d08d49c68541babf0e618b20f5a1cd11c7c256e
tree69be370b5e87ed82f42b658b071b54b2b6c306c0
parent49b036771ef3bf45cdbfd90ac282dd922f9ad5ac
git: local_nick: handle trailing or redundant '/' in git_dir

Some cgit configs use trailing slashes in pathnames
which we preserve internally.

Before this change, trailing slashes in cgit config files
was causing ViewVCS (SolverGit) output to show up as "???"
for coderepos without cgitUrl configured.
lib/PublicInbox/Git.pm