Re: [GSoC][PATCH v4] t2027: avoid using pipes
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 3, 2017, 19:40 UTC
- Message-ID
- <CAGZ79kbmriQoJgjF0-Kv1QzU2NWn=2EGN10CbNTKYO4zCBMFaA@mail.gmail.com>
- In-Reply-To
- <20170324120433.2890-1-pc44800@gmail.com>
On Fri, Mar 24, 2017 at 5:04 AM, Prathamesh Chavan <pc44800@gmail.com> wrote:
Show 5 quoted lines
> Whenever a git command is present in the upstream of a pipe, its failure > gets masked by piping and hence it should be avoided 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.
Sorry for dropping the ball here. This patch is identical in code that Torsten reviewed and has a slight grammar fix in the commit message.
> Signed-off-by: Prathamesh Chavan <pc44800@gmail.com>
I reviewed the patch it it looks fine.
Thanks, Stefan