From: Junio C Hamano Date: Mon, 12 May 2025 19:03:08 +0000 (-0700) Subject: tests: prepare for a world without whatchanged X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab4d1880e19c2229055334f0fe309b89e91f27a9;p=thirdparty%2Fgit.git tests: prepare for a world without whatchanged 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 added there while the tests were developed 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. Helped-by: Elijah Newren [en: log message] Signed-off-by: Junio C Hamano --- 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