]> Sergey Matveev's repositories - public-inbox.git/commit
git: simplify local_nick, avoid "foo.git.git"
authorEric Wong <e@80x24.org>
Sat, 23 Oct 2021 20:19:37 +0000 (20:19 +0000)
committerEric Wong <e@80x24.org>
Sat, 23 Oct 2021 21:53:55 +0000 (21:53 +0000)
commit7b7d4bd01b564969eb0c1904a5bd9ee4f3dbba72
tree943bc6af40d4068456d5f2038d6f972d0ff42c60
parente6b5ef6a248f5808fff0483f02bd73dcbfea8c0a
git: simplify local_nick, avoid "foo.git.git"

We need to use a non-greedy regexp to avoid capturing the
".git" suffix in the pathname before blindly appending our
own.
lib/PublicInbox/Git.pm
t/git.t