Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-10-12 02:15:15 +0400
committerJunio C Hamano <junkio@cox.net>2005-10-12 02:15:15 +0400
commit0a81552e06037a57eeb1f784564a3ac092f60dfb (patch)
treefbc5763f7f2c5648bb28c414d74445a305f48895 /t/t6003-rev-list-topo-order.sh
parentdc1b5ea8781644203213e83b74cf3b432d88d067 (diff)
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 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 " "' <<EOF
19