From: Han-Wen Nienhuys Date: Fri, 10 Jul 2020 17:19:51 +0000 (+0000) Subject: t3432: use git-reflog to inspect the reflog for HEAD X-Git-Tag: v2.29.0-rc0~215^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce57d85645540fe59e8ec84929288361f1affae7;p=thirdparty%2Fgit.git t3432: use git-reflog to inspect the reflog for HEAD Signed-off-by: Han-Wen Nienhuys Signed-off-by: Junio C Hamano --- diff --git a/t/t3432-rebase-fast-forward.sh b/t/t3432-rebase-fast-forward.sh index 6f0452c0ea..a29eda87e9 100755 --- a/t/t3432-rebase-fast-forward.sh +++ b/t/t3432-rebase-fast-forward.sh @@ -60,15 +60,16 @@ test_rebase_same_head_ () { fi && oldhead=\$(git rev-parse HEAD) && test_when_finished 'git reset --hard \$oldhead' && - cp .git/logs/HEAD expect && + git reflog HEAD >expect && git rebase$flag $* >stdout && + git reflog HEAD >actual && if test $what = work then old=\$(wc -l