diff options
| author | Elijah Newren <newren@gmail.com> | 2018-08-08 09:31:05 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-08-08 10:52:55 -0700 |
| commit | 65799fbca72a251c75b087e7d018f367a4f7794f (patch) | |
| tree | 5c2b7c4ac623ff323cd76f2d534636989f2de611 /t/t4013/diff.diff_initial..side | |
| parent | t7406: simplify by using diff --name-only instead of diff --raw (diff) | |
| download | git-65799fbca72a251c75b087e7d018f367a4f7794f.tar.gz git-65799fbca72a251c75b087e7d018f367a4f7794f.zip | |
t7406: avoid having git commands upstream of a pipe
When a git command is on the left side of a pipe, the pipe will swallow
its exit status, preventing us from detecting failures in said commands.
Restructure the tests to put the output in a temporary file to avoid
this problem.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
