about summary refs log tree commit diff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorJoe Anakata <jea-signup-github@anakata.org>2016-02-22 18:45:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-22 18:46:33 +0100
commitde6098be6a65a4758ff8eac6359bd6fd30ba7bd3 (patch)
tree26ef2a8a74989348c2ec5bf17d0e1ac2a525294f /contrib/hooks
parentcmd: redirect empty about/ to homepage or summary (diff)
downloadcgit-pink-de6098be6a65a4758ff8eac6359bd6fd30ba7bd3.tar.gz
cgit-pink-de6098be6a65a4758ff8eac6359bd6fd30ba7bd3.zip
ui-plain: fix to show a repo's root directory listing in plain view
This is to fix the case of accessing http://host.com/cgit.cgi/repo.git/plain/

There is code here to make this case work (match_baselen is set to -1
for top-of-the-tree views) but the unsigned to signed comparison was
always false in this case, causing an empty directory listing without
this fix.

Signed-off-by: Joe Anakata <jea-signup-github@anakata.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe