From: Junio C Hamano Date: Sat, 03 May 2025 00:58:11 GMT Subject: [PATCH v3 3/6] tests: prepare for a world without whatchanged Message-ID: <20250503005814.3030099-4-gitster@pobox.com> In-Reply-To: <20250503005814.3030099-1-gitster@pobox.com> Some tests on fast-import run "git whatchanged" without even checking the output from the command. It is tempting to remove the calls altogether since they are not doing anything useful, but they presumably were placed while the tests were developped to manually sanity check which paths were touched. Replace these calls with "git log --raw", which is a rough equivalent in the more modern Git. This does not remove "git whatchanged", but we no longer have to worry about adjusting these places when we eventually do. Signed-off-by: Junio C Hamano --- t/t9300-fast-import.sh | 12 ++++++------ t/t9301-fast-import-notes.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index b258dbf1df..4dc3d645bf 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -120,7 +120,7 @@ test_expect_success 'A: create pack from stdin' ' INPUT_END git fast-import --export-marks=marks.out