summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-10 00:20:20 +0100
committerJunio C Hamano <gitster@pobox.com>2010-11-10 00:20:20 +0100
commit56641f199cc30fa0649ee0e3fa102782ca251d04 (patch)
tree29b1532187ed4c71b984bec6c2a3451ff5eeec16 /t
parentt3404 (rebase -i): introduce helper to check position of HEAD (diff)
downloadgit-56641f199cc30fa0649ee0e3fa102782ca251d04.tar.xz
git-56641f199cc30fa0649ee0e3fa102782ca251d04.zip
t3404: do not use 'describe' to implement test_cmp_rev
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-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
}