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

[Outreachy]Microproject: modernize path checks in t1410-reflog.sh

From
VSVedansh singh <vedh2o2@gmail.com>
Date
Oct 4, 2025, 18:08 UTC
Message-ID
<CAMWvevL03vRzX35tiRCkoU6CKucKim+GfacEVuN6wwm9r+1a6Q@mail.gmail.com>
Hello,
I'm Vedansh and I'm interested in contributing to Git through Outreachy 2025.

I have successfully built Git from source on Ubuntu (via WSL2) and run the test suite. All tests pass.

For my microproject, I'd like to modernize the path checking in t/t1410-reflog.sh by replacing 'test -f' with test_path_is_file in lines 133-136 (in the 'rewind' test).

I found 4 instances that are assertions (part of && chains):
- test -f C
- test -f A/B/E
- ! test -f F
- ! test -f A/G

I've verified these are test assertions, not flow control statements, and the test currently passes on my system.

Is this appropriate for a microproject?

Thanks, Vedansh

Next: Usman Akinyemi
Message 1 of 3 in “[Outreachy]Microproject: modernize path checks in t1410-reflog.sh”
  1. Vedansh singhOct 4, 2025
  2. Usman AkinyemiOct 5, 2025
  3. Vedansh singhOct 5, 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.