commit | de6098be6a65a4758ff8eac6359bd6fd30ba7bd3 | [log] [tgz] |
---|---|---|
author | Joe Anakata <jea-signup-github@anakata.org> | Mon Feb 22 18:45:53 2016 +0100 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Mon Feb 22 18:46:33 2016 +0100 |
tree | 26ef2a8a74989348c2ec5bf17d0e1ac2a525294f | |
parent | 94c02bbf732d938c92df4961026c4d8f6fd4c37e [diff] |
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>