]> git.ipfire.org Git - thirdparty/git.git/commit
t/t3430: avoid undefined git diff behavior
authorChris Torek <chris.torek@gmail.com>
Tue, 9 Jun 2020 19:00:21 +0000 (19:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Jun 2020 22:13:56 +0000 (15:13 -0700)
commitbafa2d741e9dcc4d70ffcb3943e530635bb8e684
tree74ed5f049526504fb2479c7504f4951c44ae11ff
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec
t/t3430: avoid undefined git diff behavior

The autosquash-and-exec test used "git diff HEAD^!" to mean
"git diff HEAD^ HEAD".  Use these directly instead of relying
on the undefined but actual-current behavior of "HEAD^!".

Signed-off-by: Chris Torek <chris.torek@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3430-rebase-merges.sh