t3404: do not use 'describe' to implement test_cmp_rev
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5c947e2c38
commit
56641f199c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user