From 75f5ac04a2984fcf1e4d167047bfb63c5f385d44 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 3 Jul 2012 10:03:38 -0700 Subject: commit-tree: the command wants a tree and commits Signed-off-by: Junio C Hamano --- t/t1512-rev-parse-disambiguation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/t1512-rev-parse-disambiguation.sh') diff --git a/t/t1512-rev-parse-disambiguation.sh b/t/t1512-rev-parse-disambiguation.sh index 84b8dddbe3..dc56f81cb7 100755 --- a/t/t1512-rev-parse-disambiguation.sh +++ b/t/t1512-rev-parse-disambiguation.sh @@ -75,7 +75,7 @@ test_expect_success 'disambiguate blob' ' test_cmp a0blgqsjc actual ' -test_expect_failure 'disambiguate tree' ' +test_expect_success 'disambiguate tree' ' commit=$(echo "d7xm" | git commit-tree 000000000) && test $(git rev-parse $commit^{tree}) = $(git rev-parse 0000000000cdc) ' @@ -97,7 +97,7 @@ test_expect_success 'disambiguate commit-ish' ' git rev-parse --verify 000000000^0 ' -test_expect_failure 'disambiguate commit' ' +test_expect_success 'disambiguate commit' ' commit=$(echo "j9xqh" | git commit-tree 0000000000cdc -p 000000000) && test $(git rev-parse $commit^) = $(git rev-parse 0000000000e4f) ' -- cgit v1.2.1