mirror of https://git.zx2c4.com/cgit/
introduce cgit_repobasename
that shortens reponame stripping any directories and .git suffixes, that is turning 'dir/repo.git/' or 'dir/repo/.git/' or alikes into mere 'repo'. Signed-off-by: Michael Krelin <hacker@klever.net>lh/pretty-blob-view
parent
0df096f6e1
commit
1cb8bedf1e
Loading…
Reference in New Issue