diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-13 12:40:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-13 12:40:57 -0700 |
commit | 429ad204136b2de1cfd2e7f7f5b20df211996c9f (patch) | |
tree | 49036b4973417ae02850b8b8da1187969784eb9a /t/t3001-ls-files-others-exclude.sh | |
parent | log: decorate HEAD with branch name under --decorate=full, too (diff) | |
download | tgif-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 't/t3001-ls-files-others-exclude.sh')
0 files changed, 0 insertions, 0 deletions