From 56641f199cc30fa0649ee0e3fa102782ca251d04 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 9 Nov 2010 15:20:20 -0800 Subject: [PATCH] t3404: do not use 'describe' to implement test_cmp_rev Signed-off-by: Junio C Hamano --- t/t3404-rebase-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index 4fcedda23d..5cb7e70d54 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 }