git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] t2027: avoid using pipes

From
Christian Couder <christian.couder@gmail.com>
Date
Mar 23, 2017, 10:15 UTC
Message-ID
<CAP8UFD3xOMbXgH5JATS7-cK_d0YA7Mvkk-ZpLh8sn-KYNm3wxg@mail.gmail.com>
In-Reply-To
<20170313065148.10707-1-pc44800@gmail.com>

Please add something like [GSoC] in the subject so that it is easy for us to find GSoC related patches.

On Mon, Mar 13, 2017 at 7:51 AM, Prathamesh <pc44800@gmail.com> wrote:
> 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
Maybe: s/the commands/commands/
> code in any command is able to stop the && chain.
Maybe: s/is able to/will/
> Signed-off-by: Prathamesh <pc44800@gmail.com>
> ---
> Changed sendemail.name configuration of the .gitconfig file with a single
> name,
About that, please note that in Documentation/SubmittingPatches there is:

"Also notice that a real name is used in the Signed-off-by: line. Please don't hide your real name."

So my opinion on this is that it would be better with your full name instead of just one of your names.

> and also included the leftover files of each test to be removed by
> test_when_finished if the test is passed successfully.
Ok.

You could also here tell us (again) that it is your GSoC microproject. It would help if we are searching microproject related patches.

>  t/t2027-worktree-list.sh | 35 +++++++++++++++++++++--------------
>  1 file changed, 21 insertions(+), 14 deletions(-)
Otherwise it looks good to me.
Previous: PrathameshNext: Prathamesh Chavan
Message 8 of 13 in “t2027: avoid using pipes”
  1. t2027: avoid using pipesPrathamesh Chavan, Mar 9, 2017
  2. Christian CouderMar 9, 2017
  3. t2027: avoid using pipesPrathamesh Chavan, Mar 10, 2017
  4. Junio C HamanoMar 13, 2017
  5. t2027: avoid using pipespc44800@gmail.com, Mar 13, 2017
  6. t2027: avoid using pipesPrathamesh, Mar 13, 2017
  7. PrathameshMar 22, 2017
  8. Christian CouderMar 23, 2017
  9. [GSoC][PATCH v4] t2027: avoid using pipesPrathamesh Chavan, Mar 24, 2017
  10. Torsten BögershausenMar 24, 2017
  11. [GSoC][PATCH v4] t2027: avoid using pipesPrathamesh Chavan, Mar 24, 2017
  12. Stefan BellerApr 3, 2017
  13. [GSoC][PATCH v5] t2027: avoid using pipesPrathamesh Chavan, Apr 3, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.