Skip to content

Commit

Permalink
t3404: do not use 'describe' to implement test_cmp_rev
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Nov 9, 2010
1 parent 5c947e2 commit 56641f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t3404-rebase-interactive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 56641f1

Please sign in to comment.