t3404: do not use 'describe' to implement test_cmp_rev

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2010-11-09 15:20:20 -08:00
parent 5c947e2c38
commit 56641f199c

View File

@ -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
}