diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2005-10-11 15:15:15 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-11 15:15:15 -0700 |
commit | 0a81552e06037a57eeb1f784564a3ac092f60dfb (patch) | |
tree | fbc5763f7f2c5648bb28c414d74445a305f48895 /t/t6003-rev-list-topo-order.sh | |
parent | dc1b5ea8781644203213e83b74cf3b432d88d067 (diff) | |
download | git-0a81552e06037a57eeb1f784564a3ac092f60dfb.tar.gz |
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-x | t/t6003-rev-list-topo-order.sh | 2 |
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 |