Update t3508 status
PATCH 1/1 Update t3508 status
From: Elijah Newren <[email protected]>
Test #8 of t3508-cherry-pick-many-commits.sh has been fixed since 3af0bba8bff88ec1b078aae966a59af26c7a0718.
--- t/t3508-cherry-pick-many-commits.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
t/t3508-cherry-pick-many-commits.sh +1 -1
@@ -82,7 +82,7 @@ test_expect_success 'revert fourth fourth~1 fourth~2 works' ' git diff --quiet HEAD first ' -test_expect_failure 'cherry-pick -3 fourth works' ' +test_expect_success 'cherry-pick -3 fourth works' ' git checkout -f master && git reset --hard first && test_tick &&
Signature · 1 line
1.7.2.rc0.207.ga9fc
Quoted 18 lines · On Tuesday 29 June 2010 03:31:31 [email protected] wrote:
From: Elijah Newren <[email protected]>
Test #8 of
t3508-cherry-pick-many-commits.shhas been fixed since3af0bba8bff88ec1b078aae966a59af26c7a0718.Signed-off-by Elijah Newren <[email protected]>--- t/t3508-cherry-pick-many-commits.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)(quoted diff) +0
-0
b/t/t3508-cherry-pick-many-commits.shindex 93d7189..f90ed3d 100755t/t3508-cherry-pick-many-commits.sh +0
-0@@ -82,7 +82,7 @@ test_expect_success 'revert fourth fourth~1 fourth~2works' ' git diff --quiet HEAD first
'
t/t3508-cherry-pick-many-commits.sh test_expect_success 'revert fourth fourth~1 fourth~2 works' ' · line 88
Quoted 5 lines
t/t3508-cherry-pick-many-commits.sh +1
-1-test_expect_failure 'cherry-pick -3 fourth works' ' +test_expect_success 'cherry-pick -3 fourth works' ' git checkout -f master && git reset --hard first && test_tick &&
I tried to put this hunk in the following patch:
http://thread.gmane.org/gmane.comp.version-control.git/149156/
but Junio said in a private mail that the test did not pass for him so he dropped this hunk.
By the way it looks like the third patch in the series has been lost:
http://thread.gmane.org/gmane.comp.version-control.git/149157
Thanks,
Christian.
Quoted 6 lines · [email protected] writes:
From: Elijah Newren <[email protected]>
Test #8 of
t3508-cherry-pick-many-commits.shhas been fixed since3af0bba8bff88ec1b078aae966a59af26c7a0718.Signed-off-by Elijah Newren <[email protected]>
Curious.
This test is broken in the second parent of 3af0bba8b (i.e. the tip of cc/cherry-pick-stdin), but in 3af0bba8b, i.e. the merge result, it does seem to be fine.
What am I missing???
Quoted 17 lines
--- t/t3508-cherry-pick-many-commits.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)t/t3508-cherry-pick-many-commits.sh +1
-1@@ -82,7 +82,7 @@ test_expect_success 'revert fourth fourth~1 fourth~2 works' ' git diff --quiet HEAD first ' -test_expect_failure 'cherry-pick -3 fourth works' ' +test_expect_success 'cherry-pick -3 fourth works' ' git checkout -f master && git reset --hard first && test_tick &&
Quoted 3 lines · Junio C Hamano
Quoted 1 line · [email protected] writes:
Test #8 of
t3508-cherry-pick-many-commits.sh
[...]
Quoted 7 lines
Curious.
This test is broken in the second parent of
3af0bba8b(i.e. the tip of cc/cherry-pick-stdin), but in3af0bba8b, i.e. the merge result, it does seem to be fine.What am I missing???
The fix is in commit v1.7.2-rc0~6^2 (DWIM 'git show -5' to 'git show --do-walk -5', 2010-06-01):
disable --no-walk in this case so ‘git show’ and future ‘git cherry-pick’ can behave as expected.
Jonathan
Quoted 11 lines · Jonathan Nieder
Quoted 3 lines · Junio C Hamano
Quoted 1 line · [email protected] writes:
Test #8 of
t3508-cherry-pick-many-commits.sh[...]
Quoted 6 lines
Curious.
This test is broken in the second parent of
3af0bba8b(i.e. the tip of cc/cherry-pick-stdin), but in3af0bba8b, i.e. the merge result, it does seem to be fine.
Quoted 7 lines
Quoted 1 line
What am I missing???
The fix is in commit v1.7.2-rc0~6^2 (DWIM 'git show -5' to 'git show --do-walk -5', 2010-06-01):
disable --no-walk in this case so ‘git show’ and future ‘git cherry-pick’ can behave as expected.
Ah, that's it. 3af0bba (Merge branch 'cc/cherry-pick-stdin' into next, 2010-06-27) is on 'next', so this has to be queued as an evil merge of your "DWIM" thing into cc/cherry-pick-stdin. That way, when the latter graduates to 'master', the test will be marked as "expect_success".
Thanks.