Make git-recursive the default strategy for git-pull.
commita1c292958f9968565f4048a17196d99fd16fc7ca
authorJunio C Hamano <junkio@cox.net>
Tue, 8 Nov 2005 10:00:31 +0000 (8 02:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 10 Nov 2005 02:56:29 +0000 (9 18:56 -0800)
tree6466c53ae80cddbb581c5fdb2332f9321fade867
parent13956670a7baf4b3b794a2cc799bd501753f1746
Make git-recursive the default strategy for git-pull.

This does two things:

 - It changes the hardcoded default merge strategy for two-head
   git-pull from resolve to recursive.

 - .git/config file acquires two configuration items.
   pull.twohead names the strategy for two-head case, and
   pull.octopus names the strategy for octopus merge.

IOW you are paranoid, you can have the following lines in your
.git/config file and keep using git-merge-resolve when pulling
one remote:

[pull]
twohead = resolve

OTOH, you can say this:

[pull]
twohead = resolve
twohead = recursive

to try quicker resolve first, and when it fails, fall back to
recursive.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-pull.sh