diff options
| author | Joe Anakata <[email protected]> | 2016-02-22 17:45:53 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2016-02-22 17:46:33 +0000 |
| commit | de6098be6a65a4758ff8eac6359bd6fd30ba7bd3 (patch) | |
| tree | 26ef2a8a74989348c2ec5bf17d0e1ac2a525294f /ui-log.c | |
| parent | cmd: redirect empty about/ to homepage or summary (diff) | |
| download | cgit-de6098be6a65a4758ff8eac6359bd6fd30ba7bd3.tar.gz cgit-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 <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'ui-log.c')
0 files changed, 0 insertions, 0 deletions
