mirror of
https://github.com/git/git.git
synced 2026-01-18 14:44:28 +00:00
t3404: do not use 'describe' to implement test_cmp_rev
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user