diff options
author | Ann T Ropea <bedhanger@gmx.de> | 2017-12-03 22:27:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-06 07:32:59 -0800 |
commit | b4c02c3008e2ebe8f214c44889d22cfc46252b60 (patch) | |
tree | 8dbd15987a832c54ba372cc98bebffd37c99540c /Documentation/git-show-branch.txt | |
parent | checkout: describe_detached_head: remove ellipsis after committish (diff) | |
download | tgif-b4c02c3008e2ebe8f214c44889d22cfc46252b60.tar.xz |
t4013: prepare for upcoming "diff --raw --abbrev" output format change
Most of the t4013 tests go through a list of sample command lines,
and each of them is executed and its output compared with an
expected one stored in t4013/ directory. Allow these lines to begin
with a colon followed by magic word(s) so that test conditions can
easily be tweaked.
The expected use that will happen in later steps of this is to run
tests expecting the traditional output and run the same test without
the GIT_PRINT_SHA1_ELLIPSIS=yes environment exported for (perhaps
some of) them, which will have to expect different output. Since
all of the existing tests are meant to run with the environment,
use the magic word "noellipses" to cause the variable not to be set
and exported.
As this step does not add any new test with the magic word, all
tests still run with the environment variable, expecting the
traditional output, but it will change soon.
Based-on-patch-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ann T Ropea <bedhanger@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-show-branch.txt')
0 files changed, 0 insertions, 0 deletions