diff options
| author | Denton Liu <liu.denton@gmail.com> | 2019-11-12 15:08:10 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-11-21 09:41:51 +0900 |
| commit | e959a18ee73d3e16c4ac2f300d61755e6b022bd7 (patch) | |
| tree | f22f555edd2bb779ba5be995ad5800b7213e8af3 /t/t0000-basic.sh | |
| parent | 5540ed27bcf30869b2f56e421cb9f52520d2c0a0 (diff) | |
| download | git-e959a18ee73d3e16c4ac2f300d61755e6b022bd7.tar.gz | |
t5520: don't put git in upstream of pipe
Before, if the invocation of git failed, it would be masked by the pipe
since only the return code of the last element of a pipe is used.
Rewrite the test to put the git command on its own line so its return
code is not masked.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0000-basic.sh')
0 files changed, 0 insertions, 0 deletions
