about summary refs log tree commit diff
path: root/ui-commit.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-01-15 22:18:14 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2015-01-19 17:52:10 +0100
commitc422b9b3d5938a4d386533604d4c0dbedfcb2b6d (patch)
treedf512e44809bf0e34ca80a8d57a6fc74482007d9 /ui-commit.c
parentReturn proper HTTP response when accessing info/ (diff)
downloadcgit-pink-c422b9b3d5938a4d386533604d4c0dbedfcb2b6d.tar.gz
cgit-pink-c422b9b3d5938a4d386533604d4c0dbedfcb2b6d.zip
tag: reference with "h" instead of "id"
When clicking on "log" from a tag we end up showing the log of whatever
branch we used to reach the tag.  If the tag doesn't point onto a branch
then the tagged commit won't appear in this output.

By linking to tags with the head parameter instead of the "id" parameter
the log link will show the log of the tag.  This is clearly desirable
when the tag has been reached from the refs UI and changing the
behaviour for tag decorations makes them match branch decorations where
log -> decoration -> log shows the log of the decoration.

Reported-by: Ferry Huberts <mailings@hupie.com>
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-commit.c')
0 files changed, 0 insertions, 0 deletions
r-highlight'> 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe