summaryrefslogtreecommitdiff
path: root/t/t1505-rev-parse-last.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2009-01-17 19:08:12 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-19 16:36:34 -0800
commitaa9c55b66719c86896d134d35de8c263c078a481 (patch)
tree3a979a00c3fa6b01d594c4039eaf337980ab8e80 /t/t1505-rev-parse-last.sh
parentc2883e62f5b9980e5402431f2261c961354d0f15 (diff)
downloadgit-aa9c55b66719c86896d134d35de8c263c078a481.tar.gz
Fix parsing of @{-1}@{1}
To do that, Git no longer looks forward for the '@{' corresponding to the closing '}' but backward, and dwim_ref() as well as dwim_log() learnt about the @{-<N>} notation. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1505-rev-parse-last.sh')
-rwxr-xr-xt/t1505-rev-parse-last.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1505-rev-parse-last.sh b/t/t1505-rev-parse-last.sh
index 1e49dd2c8f..c745ec4372 100755
--- a/t/t1505-rev-parse-last.sh
+++ b/t/t1505-rev-parse-last.sh
@@ -54,7 +54,7 @@ test_expect_success '@{-1}^2 works' '
test_rev_equivalent side^2 @{-1}^2
'
-test_expect_failure '@{-1}@{1} works' '
+test_expect_success '@{-1}@{1} works' '
test_rev_equivalent side@{1} @{-1}@{1}
'