All of lore.kernel.org
 help / color / mirror / Atom feed
* [Outreachy] Microproject idea: modernize a file-existence check in t/t0081-find-pack.sh
@ 2026-10-29  8:10 Immaculate Mecha
  2026-10-29  9:03 ` Okhuomon Ajayi
  0 siblings, 1 reply; 4+ messages in thread
From: Immaculate Mecha @ 2026-10-29  8:10 UTC (permalink / raw)
  To: git

Hi,

I'm preparing a microproject contribution for Outreachy and have been
exploring a small test cleanup in Git.

In t/t0081-find-pack.sh, line 35 currently uses:

test -f "$head_commit_pack" &&

I'm considering replacing it with Git's test helper:

test_path_is_file "$head_commit_pack" &&

I checked the file's history using git blame and confirmed that this
is the only test -f, test -e, or test -d check in that script.

Would this be an appropriate and useful microproject, or is there a
reason to leave this check as it is?

I have cloned Git, built it with NO_RUST=1, and run the test suite. I
have not made any changes to the source yet.

Thank you for your time.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-29 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-29  8:10 [Outreachy] Microproject idea: modernize a file-existence check in t/t0081-find-pack.sh Immaculate Mecha
2026-10-29  9:03 ` Okhuomon Ajayi
2026-10-29  9:54   ` Immaculate Mecha
2026-10-29 18:31   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.