summaryrefslogtreecommitdiff
path: root/test-sigchain.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-05-13 12:40:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-13 12:40:57 -0700
commit429ad204136b2de1cfd2e7f7f5b20df211996c9f (patch)
tree49036b4973417ae02850b8b8da1187969784eb9a /test-sigchain.c
parentlog: decorate HEAD with branch name under --decorate=full, too (diff)
downloadtgif-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 'test-sigchain.c')
0 files changed, 0 insertions, 0 deletions