Re: [PATCH] t4253-am-keep-cr-dos: avoid using pipes

2019-05-04 Thread Eric Sunshine
On Sat, May 4, 2019 at 10:39 PM Boxuan Li 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: Boxuan Li > --- > diff --git a/t/t42

[PATCH] t4253-am-keep-cr-dos: avoid using pipes

2019-05-04 Thread Boxuan Li
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: Boxuan Li --- t/t4253-am-keep-cr-dos.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletio