diff options
author | Ann T Ropea <bedhanger@gmx.de> | 2017-12-06 01:20:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-06 07:32:40 -0800 |
commit | ca69d4d5b14245c9ba4535212c4f4a0621e78ffa (patch) | |
tree | 66a56fe0f738068bcfd6c63c8ce6d89cde27b225 /t/t4013/diff.noellipses-diff-tree_-c_--abbrev_master | |
parent | print_sha1_ellipsis: introduce helper (diff) | |
download | tgif-ca69d4d5b14245c9ba4535212c4f4a0621e78ffa.tar.xz |
checkout: describe_detached_head: remove ellipsis after committish
We do not want an ellipsis displayed following an (abbreviated) SHA-1
value.
The days when this was necessary to indicate the truncation to
lower-level Git commands and/or the user are bygone.
However, to ease the transition, the ellipsis will still be printed if
the user sets the environment variable GIT_PRINT_SHA1_ELLIPSIS to "yes".
Correct documentation with respect to what describe_detached_head prints
when GIT_PRINT_SHA1_ELLIPSIS is not set as indicated above.
Add tests for the old and new behaviour.
Signed-off-by: Ann T Ropea <bedhanger@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.noellipses-diff-tree_-c_--abbrev_master')
0 files changed, 0 insertions, 0 deletions