@matheusbsbs / matheus-bagliano / commits / 56641f199c
Fork 0

t3404: do not use 'describe' to implement test_cmp_rev

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 9, 2010 at 15:20 UTC 56641f199cc30fa0649ee0e3fa102782ca251d04
1 file changed +2 -2
t/t3404-rebase-interactive.sh
+2 -2
@@ -30,8 +30,8 @@ Initial setup:
30 . "$TEST_DIRECTORY"/lib-rebase.sh
31
32 test_cmp_rev () {
33 - git describe --always --tags "$1" >expect.rev &&
34 - git describe --always --tags "$2" >actual.rev &&
33 + git rev-parse --verify "$1" >expect.rev &&
34 + git rev-parse --verify "$2" >actual.rev &&
35 test_cmp expect.rev actual.rev
36 }
37