author | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Oct 2005 21:25:52 +0000 (14:25 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Oct 2005 21:25:52 +0000 (14:25 -0700) | ||
commit | 47f0b6d5d49247b85898083d1ccf4f899ef7294a | |
tree | f69393968e164e20c33142923ec563eb75252583 | tree | snapshot |
parent | bc162e40ea6dc3208e3bda76301d6409607ed3ff | commit | diff |
Fall back to three-way merge when applying a patch.
After git-apply fails, attempt to find a base tree that the patch
cleanly applies to, and do a three-way merge using that base tree into
the current index, if .dotest/.3way file exists. This flag can be
controlled by giving -m flag to git-applymbox command.
When the fall-back merge fails, the working tree can be resolved the
same way as you would normally hand resolve a conflicting merge.
When making commit, use .dotest/final-commit as the log message
template. Or you could just choose to 'git-checkout-index -f -a'
to revert the failed merge.
Signed-off-by: Junio C Hamano <junkio@cox.net>
After git-apply fails, attempt to find a base tree that the patch
cleanly applies to, and do a three-way merge using that base tree into
the current index, if .dotest/.3way file exists. This flag can be
controlled by giving -m flag to git-applymbox command.
When the fall-back merge fails, the working tree can be resolved the
same way as you would normally hand resolve a conflicting merge.
When making commit, use .dotest/final-commit as the log message
template. Or you could just choose to 'git-checkout-index -f -a'
to revert the failed merge.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-applymbox.txt | diff | blob | history | |
git-applymbox.sh | diff | blob | history | |
git-applypatch.sh | diff | blob | history |