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

Re: [PATCH] [GSoC Patch] Modernize Test Path Checking: test -(e|f|d)

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Mar 18, 2025, 17:39 UTC
Message-ID
<CAPig+cQrCdtN4+hyZyPWQuvnoetarbcgkwKU7cD-TpzfzK=jzw@mail.gmail.com>
In-Reply-To
<pull.1918.git.git.1742299111861.gitgitgadget@gmail.com>
Thanks for submitting this GSoC microproject. See comments below...

On Tue, Mar 18, 2025 at 7:58 AM Sampriyo Guin via GitGitGadget <gitgitgadget@gmail.com> wrote:

> From: rimo <sampriyoguin@gmail.com>

This name should match the Signed-off-by: name. Since the "From:" header is generated from the author information in the commit, you probably need to adjust your "user.name" configuration to fix this.

> test -e changed to test_path_exists
> test -f changed to test_path_is_file

People reading the patch would like to know why a change is being made, so this is where you should explain the reason (for instance, "the test_path_* functions provide better diagnostics upon failure" or such). As Karthik mentioned[*], read the "Describe your changes well" section in Documentation/SubmittingPatches to learn how to craft a good commit message.

[*]: https://lore.kernel.org/git/CAOLa=ZSkMp+H9PZeBZXK47=fx1sH=S54AuPT=oUosm7F7V8MGg@mail.gmail.com/
> Signed-off-by: Sampriyo Guin <sampriyoguin@gmail.com>
> ---
>     , Jialuo She shejialuo@gmail.com , Christian Couder
>     christian.couder@gmail.com, Ghanshyam Thakkar shyamthakkar001@gmail.com

It appears that GitGitGadget didn't like how this list was formatted. Instead, place each recipient on its own Cc: line.

Show 5 quoted lines
>  t/chainlint/chained-subshell.expect | 2 +-
>  t/chainlint/chained-subshell.test   | 2 +-
>  t/chainlint/function.expect         | 2 +-
>  t/chainlint/function.test           | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

Let's not touch any of the "chainlint" files; they are checking validity of a completely separate tool ("chainlint"), and have nothing to do with checking Git itself. Instead, pick one of the t/t???-*.sh files.

Previous: Sampriyo Guin via GitGitGadgetNext: Junio C Hamano
Message 2 of 5 in “Modernize Test Path Checking: test -(e|f|d)”
  1. [GSoC Patch] Modernize Test Path Checking: test -(e|f|d)Sampriyo Guin via GitGitGadget, Mar 18, 2025
  2. Eric SunshineMar 18, 2025
  3. Junio C HamanoMar 18, 2025
  4. Eric SunshineMar 18, 2025
  5. Karthik NayakMar 24, 2025

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.