diff options
| author | Prathamesh Chavan <pc44800@gmail.com> | 2017-04-04 03:05:57 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-04-14 16:55:24 -0700 |
| commit | 210e5dba0b43db7136d9a054fed55965c8b1a843 (patch) | |
| tree | 534e0fab239f56e0bd4b0a35e5fcdbabee8fa673 /builtin/commit.c | |
| parent | Tenth batch for 2.13 (diff) | |
| download | git-210e5dba0b43db7136d9a054fed55965c8b1a843.tar.gz git-210e5dba0b43db7136d9a054fed55965c8b1a843.zip | |
t2027: avoid using pipes
Whenever a git command is present in the upstream of a pipe, its failure
gets masked by piping. Hence we should avoid it for testing the
upstream git command. By writing out the output of the git command to
a file, we can test the exit codes of both the commands as a failure exit
code in any command is able to stop the && chain.
Signed-off-by: Prathamesh Chavan <pc44800@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
