From: Junio C Hamano Date: Mon, 24 Jul 2023 21:48:32 GMT Subject: Re: [PATCH v2 3/5] t5318: avoid top-level directory changes Message-ID: In-Reply-To: <12ce967bafecf993bb4eb1ed3c17878ae98c9fc4.1690216758.git.me@ttaylorr.com> Taylor Blau writes: > test_expect_success 'exit with correct error on bad input to --stdin-packs' ' > - cd "$TRASH_DIRECTORY/full" && > echo doesnotexist >in && > - test_expect_code 1 git commit-graph write --stdin-packs stderr && > + test_expect_code 1 git -C full commit-graph write --stdin-packs \ > + stderr && > test_i18ngrep "error adding pack" stderr > ' Strictly speaking, this changes behaviour in that "in" and "stderr" files are now left in the top-level directory (they used to be in the "full" directory). It is rather hard to make sure that this difference (and similar ones the patch makes) does not matter in the rest of the tests only from the patch context, but I'll read through "git diff -U999" and did not spot anything questionable.