Diff options
authorMichael Krelin <hacker@klever.net>
committerMichael Krelin <hacker@klever.net>
commit
parent
tree
download
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>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 file changed, 2 insertions, 0 deletions