Diff options
authorJulian Maurice <julian.maurice@biblibre.com>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Fix cgit_parse_url when a repo url is contained in another repo url
For example, if I have two repos (remove-suffix is enabled): /foo /foo/bar http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'" instead of "repository 'foo/bar'"
-rw-r--r--parsing.c23
1 file changed, 14 insertions, 9 deletions