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

Re: [GSoC PATCH] t9400: prefer test_path_* helper functions

From
APAryan Pathania <aryan.pathania2003@gmail.com>
Date
Mar 14, 2025, 12:00 UTC
Message-ID
<gm67nhqkoa5adxz5ifckpvecn5f5hewubmcm62nr4hejlwbhsg@pmo472wkj7of>
In-Reply-To
<xmqqplimxgkb.fsf@gitster.g>
Hi Junio, thanks a lot for taking time to review my patch.
>That is exactly Patrick suggested (go back and read it).  I agree
>with him that the updated stronger check is an improvement and it
>deserves to be explained in the commit message.

I apologize for miscomunication. I was agreeing with the suggestion. It was redundant on my part.

Show 8 quoted lines
>    $ >this-is-file
>    $ ln -s this-is-file this-is-symlink
>    $ test -f this-is-symlink; echo $?
>    0
>    $ test -f this-is-file; echo $?
>    0
>
>And if you are not unsure, then learn to be unsure more often ;-)

Ah, thank you. Sorry I din't know symlink were regular files. I'll be more careful with other things next time.

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 8 in “t9400: prefer test_path_* helper functions”
  1. t9400: prefer test_path_* helper functionsAryan Pathania, Mar 8, 2025
  2. Patrick SteinhardtMar 10, 2025
  3. Aryan PathaniaMar 12, 2025
  4. Junio C HamanoMar 12, 2025
  5. Aryan PathaniaMar 14, 2025
  6. Junio C HamanoMar 14, 2025
  7. Use `test_path_*` helper functions instead of `test -[efd]`.Aryan Pathania, Mar 18, 2025
  8. Eric SunshineMar 18, 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.