commit | fbbccd0a10f314d9cce4427a4135efd051610880 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Mon Dec 05 10:58:23 2011 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Dec 06 14:17:01 2011 -0800 |
tree | 6ec4f0f7268dedc7bfd417102e8f372599122e67 | |
parent | ec014eac0e9e6f30cbbca616090fa2ecf74797e7 [diff] |
checkout -m: no need to insist on having all 3 stages The content level merge machinery ll_merge() is prepared to merge correctly in "both sides added differently" case by using an empty blob as if it were the common ancestor. "checkout -m" could do the same, but didn't bother supporting it and instead insisted on having all three stages. Reported-by: Pete Harlan Signed-off-by: Junio C Hamano <gitster@pobox.com>