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

Re: [GSOC] Interested in the project 'Unify ref-filter formats with other pretty formats'

From
Hariom verma <hariom18599@gmail.com>
Date
Mar 11, 2022, 21:48 UTC
Message-ID
<CA+CkUQ_2S78KzCJgFVEo819R1FUEYKZmuuiV3S02Ahnx9h9T8g@mail.gmail.com>
In-Reply-To
<CANsrJQdaix6=q=hXeB2kjUW+OTiXhsSCJom5ppa_SjzQaV5G8A@mail.gmail.com>
On Fri, Mar 11, 2022 at 9:54 PM Jayati Shrivastava <gaurijove@gmail.com> wrote:
Show 6 quoted lines
>
> For the microproject - "Use test_path_is_* functions in test scripts", is the intent
> to do away with all calls to run_command*  or to only remove those run_command*
> calls where spawning a child process is an overkill (similar to https://github.com/git/git/commit/ffcb4e94d3) ?
> If it's the latter then I am not sure how to identify such cases.
> Would be great if you could clarify it further.

Since `test_path_is_*` functions are more robust and debug-friendly. And are just wrappers around `test -(e|f|d|…)`. So, I think it's okay to use them wherever possible.

But maybe someone on the mailing list will be able to provide better and correct explanation. cc(ing) Christian and mailing list.

> Meanwhile, I'll try to work on another microproject to get familiar
> with the patch submission process.

We generally expect one microproject per student. But contributions are always welcome :)

Thanks, Hariom

Previous: Hariom verma
Message 2 of 2 in “Re: [GSOC] Interested in the project 'Unify ref-filter formats with other pretty formats'”
  1. Hariom vermaMar 10, 2022
  2. Hariom vermaMar 11, 2022

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.