range-diff: adjust the output of the commit pairs
[gitweb.git] / t / t1410-reflog.sh
index dd2be049ecf6302dfa3d052a14095b3278d58f03..8293131001ee0e816406df858dc47bc2fb9be3ce 100755 (executable)
@@ -339,8 +339,8 @@ test_expect_failure 'reflog with non-commit entries displays all entries' '
 '
 
 test_expect_success 'reflog expire operates on symref not referrent' '
-       git branch -l the_symref &&
-       git branch -l referrent &&
+       git branch --create-reflog the_symref &&
+       git branch --create-reflog referrent &&
        git update-ref referrent HEAD &&
        git symbolic-ref refs/heads/the_symref refs/heads/referrent &&
        test_when_finished "rm -f .git/refs/heads/referrent.lock" &&
@@ -359,7 +359,6 @@ test_expect_success 'continue walking past root commits' '
                HEAD@{3} commit (initial): initial
                EOF
                test_commit initial &&
-               git reflog &&
                git checkout --orphan orphan1 &&
                test_commit orphan1-1 &&
                test_commit orphan1-2 &&