summaryrefslogtreecommitdiff
path: root/t/t3404-rebase-interactive.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-09 15:20:20 -0800
committerJunio C Hamano <gitster@pobox.com>2010-11-09 15:20:20 -0800
commit56641f199cc30fa0649ee0e3fa102782ca251d04 (patch)
tree29b1532187ed4c71b984bec6c2a3451ff5eeec16 /t/t3404-rebase-interactive.sh
parent5c947e2c386aea5c94546c7a40a0d4d7f7b3934a (diff)
downloadgit-56641f199cc30fa0649ee0e3fa102782ca251d04.tar.gz
t3404: do not use 'describe' to implement test_cmp_rev
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3404-rebase-interactive.sh')
-rwxr-xr-xt/t3404-rebase-interactive.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh
index 4fcedda23d..5cb7e70d54 100755
--- a/t/t3404-rebase-interactive.sh
+++ b/t/t3404-rebase-interactive.sh
@@ -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
}