aboutsummaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-13 12:40:35 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-13 12:40:57 -0700
commit429ad204136b2de1cfd2e7f7f5b20df211996c9f (patch)
tree49036b4973417ae02850b8b8da1187969784eb9a /xdiff-interface.h
parent76c61fbdbab6241af5b229a314946714fdc45908 (diff)
downloadgit-429ad204136b2de1cfd2e7f7f5b20df211996c9f.tar.gz
git-429ad204136b2de1cfd2e7f7f5b20df211996c9f.tar.xz
log: do not shorten decoration names too early
The DECORATE_SHORT_REFS option given to load_ref_decorations() affects the way a copy of the refname is stored for each decorated commit, and this forces later steps like current_pointed_by_HEAD() to adjust their behaviour based on this initial settings. Instead, we can always store the full refname and then shorten them when producing the output. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions