]> git.ipfire.org Git - thirdparty/git.git/commit
tests: prepare for a world without whatchanged
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 19:03:08 +0000 (12:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 22:29:18 +0000 (15:29 -0700)
commitab4d1880e19c2229055334f0fe309b89e91f27a9
tree825db5016495e01fb47e7f4fce8f56daa5603eea
parentba69a6c66d6b349f730bdb3b9e44c3b49dd53e91
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 <newren@gmail.com>
[en: log message]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9300-fast-import.sh
t/t9301-fast-import-notes.sh