{"thread":{"id":"66703","subject":"[GSoC PATCH] t0410: use test_path_exists instead of test -e","startedAt":"2026-10-29T14:15:15Z","lastAt":"2026-10-29T18:51:18Z","messageCount":2,"participants":["Tilak Kumar","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"556786","messageId":"20261029141515.68254-1-raaztilak07@gmail.com","threadId":"66703","inReplyTo":null,"subject":"[GSoC PATCH] t0410: use test_path_exists instead of test -e","fromName":"Tilak Kumar","fromEmail":"raaztilak07@gmail.com","sentAt":"2026-10-29T14:15:15Z","receivedAt":"2026-10-29T14:15:15Z","isPatch":true,"sender":{"key":"raaztilak07@gmail.com","avatar":null},"body":"Use the test_path_exists helper so that a missing\npromisor packfile is reported with a clear message\ninstead of failing silently.\n\nSigned-off-by: Tilak Kumar <raaztilak07@gmail.com>\n---\n t/t0410-partial-clone.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0410-partial-clone.sh b/t/t0410-partial-clone.sh\nindex a54685e3c7..c3c5fd6e33 100755\n--- a/t/t0410-partial-clone.sh\n+++ b/t/t0410-partial-clone.sh\n@@ -627,7 +627,7 @@ test_expect_success 'gc stops traversal when a missing but promised object is re\n \tgit -C repo gc &&\n \n \t# Ensure that the promisor packfile still exists, and remove it\n-\ttest -e repo/.git/objects/pack/pack-$HASH.pack &&\n+\ttest_path_exists repo/.git/objects/pack/pack-$HASH.pack &&\n \trm repo/.git/objects/pack/pack-$HASH.* &&\n \n \t# Ensure that the single other pack contains the commit, but not the tree\n-- \n2.55.0\n\n\n"},{"id":"556817","messageId":"xmqqy0bg1gt5.fsf@gitster.g","threadId":"66703","inReplyTo":"20261029141515.68254-1-raaztilak07@gmail.com","subject":"Re: [GSoC PATCH] t0410: use test_path_exists instead of test -e","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-10-29T18:51:18Z","receivedAt":"2026-10-29T18:51:18Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Tilak Kumar <raaztilak07@gmail.com> writes:\n\n> Use the test_path_exists helper so that a missing\n> promisor packfile is reported with a clear message\n> instead of failing silently.\n>\n> Signed-off-by: Tilak Kumar <raaztilak07@gmail.com>\n> ---\n>  t/t0410-partial-clone.sh | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n\nMakes sense.  Will queue.\n\nThanks.\n\n"}]}