Fwd: [GSoC][PATCH v2 4/5] t0022-crlf-rename: avoid using pipes

2019-03-11 Thread ttjtftx
Sorry, I forgot to Cc. -- Forwarded message - From: ttjtftx Date: Mon, Mar 11, 2019 at 11:43 PM Subject: Re: [GSoC][PATCH v2 4/5] t0022-crlf-rename: avoid using pipes To: Eric Sunshine On Sun, Mar 10, 2019 at 6:03 PM Eric Sunshine wrote: > All of the patches in this ser

Re: [GSoC][PATCH v2 4/5] t0022-crlf-rename: avoid using pipes

2019-03-10 Thread Eric Sunshine
On Sun, Mar 10, 2019 at 4:10 AM Jonathan Chang wrote: > The exit code of the upstream in a pipe is ignored thus we should avoid > using it. By writing out the output of the git command to a file, we can > test the exit codes of both the commands. > > Signed-off-by: Jonathan Chang All of the patc

[GSoC][PATCH v2 4/5] t0022-crlf-rename: avoid using pipes

2019-03-10 Thread Jonathan Chang
The exit code of the upstream in a pipe is ignored thus we should avoid using it. By writing out the output of the git command to a file, we can test the exit codes of both the commands. Signed-off-by: Jonathan Chang diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh index 7af3fbcc7b..