X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft6003-rev-list-topo-order.sh;h=3c4c44c24d0781a1f876e7d4d016bf95f070e232;hb=23d61f8343282643c830e1c446962b213dbcc09a;hp=88d14ee1a3419f06c45a30e42a79934c4284c465;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh index 88d14ee1..3c4c44c2 100755 --- a/t/t6003-rev-list-topo-order.sh +++ b/t/t6003-rev-list-topo-order.sh @@ -77,7 +77,7 @@ save_tag h2 unique_commit g4 tree -p g2 save_tag g3 unique_commit g5 tree -p g2 save_tag g4 unique_commit g6 tree -p g3 -p h2 -tag l5 > .git/HEAD +git-update-ref HEAD $(tag l5) test_expect_success 'rev-list has correct number of entries' 'git-rev-list HEAD | wc -l | tr -s " "' <