remove trailing "/" if user supplied one
commit3e0c51e9902ed4940b52207502ae0bb62919a79b
authorSitaram Chamarty <sitaramc@gmail.com>
Wed, 6 Dec 2017 01:32:06 +0000 (6 07:02 +0530)
committerSitaram Chamarty <sitaramc@gmail.com>
Wed, 6 Dec 2017 05:35:26 +0000 (6 11:05 +0530)
treeed57675d7c38e8849e8c2c73ba929a3cb66a6f4a
parent210fdf158993d0c0a17e81fd7278e644b3242366
remove trailing "/" if user supplied one

Basically, Linus complained that git-daemon is happy with the trailing /
so why does gitolite choke on it?

Fair enough.

Actual implementation: we choose to kill the "/" at the point of entry,
rather than weaken the sanity() function.

ref: https://groups.google.com/forum/#!topic/gitolite/zLMoQ7u28gk
src/gitolite-shell