summaryrefslogtreecommitdiff
path: root/t/t6003-rev-list-topo-order.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-10-11 22:15:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-11 22:15:15 (GMT)
commit0a81552e06037a57eeb1f784564a3ac092f60dfb (patch)
treefbc5763f7f2c5648bb28c414d74445a305f48895 /t/t6003-rev-list-topo-order.sh
parentdc1b5ea8781644203213e83b74cf3b432d88d067 (diff)
downloadgit-0a81552e06037a57eeb1f784564a3ac092f60dfb.zip
git-0a81552e06037a57eeb1f784564a3ac092f60dfb.tar.gz
git-0a81552e06037a57eeb1f784564a3ac092f60dfb.tar.bz2
Use git-update-ref and git-symbolic-ref in tests
This makes all tests pass on cygwin. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
-rwxr-xr-xt/t6003-rev-list-topo-order.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh
index 88d14ee..3c4c44c 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 " "' <<EOF
19