We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e35a6a commit ce57d85Copy full SHA for ce57d85
t/t3432-rebase-fast-forward.sh
@@ -60,15 +60,16 @@ test_rebase_same_head_ () {
60
fi &&
61
oldhead=\$(git rev-parse HEAD) &&
62
test_when_finished 'git reset --hard \$oldhead' &&
63
- cp .git/logs/HEAD expect &&
+ git reflog HEAD >expect &&
64
git rebase$flag $* >stdout &&
65
+ git reflog HEAD >actual &&
66
if test $what = work
67
then
68
old=\$(wc -l <expect) &&
- test_line_count '-gt' \$old .git/logs/HEAD
69
+ test_line_count '-gt' \$old actual
70
elif test $what = noop
71
- test_cmp expect .git/logs/HEAD
72
+ test_cmp expect actual
73
74
newhead=\$(git rev-parse HEAD) &&
75
if test $cmp = same
0 commit comments