From 0a81552e06037a57eeb1f784564a3ac092f60dfb Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 11 Oct 2005 15:15:15 -0700 Subject: Use git-update-ref and git-symbolic-ref in tests This makes all tests pass on cygwin. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- t/t6003-rev-list-topo-order.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t6003-rev-list-topo-order.sh') diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh index 88d14ee1a3..3c4c44c24d 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 " "' <