From aa9c55b66719c86896d134d35de8c263c078a481 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 17 Jan 2009 19:08:12 +0100 Subject: 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 @{-} notation. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- t/t1505-rev-parse-last.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t1505-rev-parse-last.sh') 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} ' -- cgit v1.2.3