diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-12-15 15:40:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-16 11:56:26 -0800 |
commit | bf901f8e748144a19d057d9d00582417d480c795 (patch) | |
tree | e130fd952bcf455bb78d5495b79ac9f27720271f /builtin.h | |
parent | teach bash completion to treat commands with "--" as a helper (diff) | |
download | tgif-bf901f8e748144a19d057d9d00582417d480c795.tar.xz |
gitweb: disambiguate heads and tags withs the same name
Avoid wrong disambiguation that would link logs/trees of tags and
heads which share the same name to the same page, leading to
a disambiguation that would prefer the tag, thus making it impossible
to access the corresponding head log and tree without hacking the url
by hand.
It does it by using full refname (with 'refs/heads/' or 'refs/tags/'
prefix) instead of shortened one in the URLs in 'heads' and 'tags'
tables. This makes URLs (and refs) provided by gitweb unambiguous.
Signed-off-by: Guillaume Seguin <guillaume@segu.in>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions