author | Fredrik Kuivinen <freku045@student.liu.se> | |
Mon, 3 Oct 2005 06:13:09 +0000 (08:13 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Oct 2005 07:25:42 +0000 (00:25 -0700) | ||
commit | 88f8f0a52b2962452d89e854ad751283595473e4 | |
tree | 1167cf32d0708a77bed51a0bcc08334f282ab756 | tree | snapshot |
parent | 99a19b43021024e12ddb67831f8e5919f86a5979 | commit | diff |
[PATCH] Enable and fix support for base less merges.
Let the merge strategies handle the base less case if they are able to
do it. It also fixes git-resolve.sh to die if no common ancestors
exists, instead of doing the wrong thing. Furthermore, it contains a
small independent fix for git-merge.sh and a fix for a base less code
path in gitMergeCommon.py.
With this it's possible to use
git merge -s recursive 'merge message' A B
to do a base less merge of A and B.
[jc: Thanks Fredrik for fixing the brown-paper-bag in git-merge.
I fixed a small typo in git-merge-resolve fix; 'test' equality
check is spelled with single equal sign -- C-style double equal
sign is bashism.]
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Let the merge strategies handle the base less case if they are able to
do it. It also fixes git-resolve.sh to die if no common ancestors
exists, instead of doing the wrong thing. Furthermore, it contains a
small independent fix for git-merge.sh and a fix for a base less code
path in gitMergeCommon.py.
With this it's possible to use
git merge -s recursive 'merge message' A B
to do a base less merge of A and B.
[jc: Thanks Fredrik for fixing the brown-paper-bag in git-merge.
I fixed a small typo in git-merge-resolve fix; 'test' equality
check is spelled with single equal sign -- C-style double equal
sign is bashism.]
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge-resolve.sh | diff | blob | history | |
git-merge.sh | diff | blob | history | |
gitMergeCommon.py | diff | blob | history |