about summary refs log tree commit diff
path: root/COPYING
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-04-16 18:39:58 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-17 13:40:16 +0200
commit9a725f4f0991710336584bb284a83dcf5fa5bf1e (patch)
tree6087786d97c50ae613b1ccd6c4195d9766aff42e /COPYING
parentt0001: ignore ".dirty" suffix on Git version (diff)
downloadcgit-pink-9a725f4f0991710336584bb284a83dcf5fa5bf1e.tar.gz
cgit-pink-9a725f4f0991710336584bb284a83dcf5fa5bf1e.zip
scan-tree: fix regression in section-from-path=-1
Commit fb3655d (use struct strbuf instead of static buffers -
2013-04-06) introduced a regression in the "section-from-path" handling
when the configured value is negative.  By changing the "rel" variable
so that it includes a trailing slash, counting slashes from the end of
the string no longer gives the same answer as it did before.

Fix this by ensuring that "rel" does not have a trailing slash.

Reported-by: Julius Plenz <plenz@cis.fu-berlin.de>
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
an title='2019-12-19 15:42:21 -0500'>2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe