diff options
author | Stefan Beller <sbeller@google.com> | 2018-07-16 16:05:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-17 11:25:31 -0700 |
commit | 74cfa7bed96ea003e0a3ea20455096187c517b19 (patch) | |
tree | 3d35238685139d82f0ecec782908952d2f051a24 /t/t9116-git-svn-log.sh | |
parent | xdiff/xdiffi.c: remove unneeded function declarations (diff) | |
download | tgif-74cfa7bed96ea003e0a3ea20455096187c517b19.tar.xz |
t4015: avoid git as a pipe input
In t4015 we have a pattern of
git diff [<options, related to color>] |
grep -v "index" |
test_decode_color >actual &&
to produce output that we want to test against. This pattern was introduced
in 86b452e2769 (diff.c: add dimming to moved line detection, 2017-06-30)
as then the focus on getting the colors right. However the pattern used
is not best practice as we do care about the exit code of Git. So let's
not have Git as the upstream of a pipe. Piping the output of grep to
some function is fine as we assume grep to be un-flawed in our test suite.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9116-git-svn-log.sh')
0 files changed, 0 insertions, 0 deletions