From: Pranit Bauva <pranit.bauva@gmail.com>
To: Luke Diamand <luke@diamand.org>
Cc: Git Users <git@vger.kernel.org>,
Stefan Beller <sbeller@google.com>, Johannes Sixt <j6t@kdbg.org>
Subject: Re: [PATCH v3 2/2] t9813: avoid using pipes
Date: Wed, 4 Jan 2017 17:19:11 +0530 [thread overview]
Message-ID: <CAFZEwPNuWf3WPY_WjTK8on1mzC58nZgmFhNdkmqQY5=-HE9XCg@mail.gmail.com> (raw)
In-Reply-To: <CAE5ih78vLwDubesnAxD=g3TzsbN0sQZae3McdFcwDAZfYYhXSg@mail.gmail.com>
Hey Luke,
On Wed, Jan 4, 2017 at 2:41 PM, Luke Diamand <luke@diamand.org> wrote:
> On 3 January 2017 at 19:57, Pranit Bauva <pranit.bauva@gmail.com> 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.
>
> Do we also need to fix t9814-git-p4-rename.sh ?
I don't think so. As Johannes[1] and Stefan[2] pointed out, we should
avoid upstream pipes for git. p4 can be treated as an "external
command" just like grep/sed.
[1]: http://public-inbox.org/git/285ed013-5c59-0b98-7dc0-8f729587a313@kdbg.org/
[2]: http://public-inbox.org/git/CAGZ79kZRFLzD7wcAnFvke9vBxxTAgE7=Ud7F_O95EfkWqz=LJw@mail.gmail.com/
next prev parent reply other threads:[~2017-01-04 11:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-31 11:44 [PATCH] don't use test_must_fail with grep Pranit Bauva
2017-01-01 14:23 ` Luke Diamand
2017-01-01 14:50 ` Johannes Sixt
2017-01-01 15:24 ` Luke Diamand
2017-01-02 13:40 ` Pranit Bauva
2017-01-07 21:18 ` Junio C Hamano
2017-01-08 16:53 ` Pranit Bauva
2017-01-02 18:45 ` [PATCH v2 1/2] " Pranit Bauva
2017-01-03 19:57 ` [PATCH v3 " Pranit Bauva
2017-01-08 16:55 ` [PATCH v4 " Pranit Bauva
2017-01-08 16:55 ` [PATCH v4 2/2] t9813: avoid using pipes Pranit Bauva
2017-01-09 9:11 ` Luke Diamand
2017-01-09 9:54 ` Junio C Hamano
2017-01-03 19:57 ` [PATCH v3 " Pranit Bauva
2017-01-04 9:11 ` Luke Diamand
2017-01-04 11:49 ` Pranit Bauva [this message]
2017-01-02 18:45 ` [PATCH v2 " Pranit Bauva
2017-01-03 17:58 ` Stefan Beller
2017-01-03 19:44 ` Pranit Bauva
2017-01-03 19:48 ` Stefan Beller
2017-01-03 17:52 ` [PATCH] don't use test_must_fail with grep Stefan Beller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFZEwPNuWf3WPY_WjTK8on1mzC58nZgmFhNdkmqQY5=-HE9XCg@mail.gmail.com' \
--to=pranit.bauva@gmail.com \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.org \
--cc=luke@diamand.org \
--cc=sbeller@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).