summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b45720b)
raw | patch | inline | side by side (parent: b45720b)
author | Junio C Hamano <gitster@pobox.com> | |
Thu, 13 Jan 2011 19:56:16 +0000 (11:56 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 13 Jan 2011 20:14:55 +0000 (12:14 -0800) |
Two tests have been lost and I do not know why...
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3032-merge-recursive-options.sh | patch | blob | history |
index 44f5421be45579b10c5556a958404ad2daa02002..2b17311cb0870ea210d9b5cbe167363d13641d67 100755 (executable)
git merge-recursive --ignore-space-change HEAD^ -- HEAD remote
'
+test_expect_success 'naive cherry-pick fails' '
+ git read-tree --reset -u HEAD &&
+ test_must_fail git cherry-pick --no-commit remote &&
+ git read-tree --reset -u HEAD &&
+ test_must_fail git cherry-pick remote &&
+ test_must_fail git update-index --refresh &&
+ grep "<<<<<<" text.txt
+'
+
+test_expect_success '-Xignore-space-change makes cherry-pick succeed' '
+ git read-tree --reset -u HEAD &&
+ git cherry-pick --no-commit -Xignore-space-change remote
+'
+
test_expect_success '--ignore-space-change: our w/s-only change wins' '
q_to_cr <<-\EOF >expected &&
justice and holiness and is the nurse of his age and theQ