From: Junio C Hamano Date: Tue, 9 Nov 2010 23:20:20 +0000 (-0800) Subject: t3404: do not use 'describe' to implement test_cmp_rev X-Git-Tag: v1.7.4-rc0~116^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56641f199cc30fa0649ee0e3fa102782ca251d04;p=git.git t3404: do not use 'describe' to implement test_cmp_rev Signed-off-by: Junio C Hamano --- diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index 4fcedda23..5cb7e70d5 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3404-rebase-interactive.sh @@ -30,8 +30,8 @@ Initial setup: . "$TEST_DIRECTORY"/lib-rebase.sh test_cmp_rev () { - git describe --always --tags "$1" >expect.rev && - git describe --always --tags "$2" >actual.rev && + git rev-parse --verify "$1" >expect.rev && + git rev-parse --verify "$2" >actual.rev && test_cmp expect.rev actual.rev }