summaryrefslogtreecommitdiff
path: root/t/t6001-rev-list-merge-order.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6001-rev-list-merge-order.sh')
-rwxr-xr-xt/t6001-rev-list-merge-order.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6001-rev-list-merge-order.sh b/t/t6001-rev-list-merge-order.sh
index 0101242382..8ec9ebb98a 100755
--- a/t/t6001-rev-list-merge-order.sh
+++ b/t/t6001-rev-list-merge-order.sh
@@ -108,7 +108,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 " "' <<EOF
19