Code

git-merge: add support for branch.<name>.mergeoptions
authorLars Hjemli <hjemli@gmail.com>
Sun, 23 Sep 2007 22:51:43 +0000 (00:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Sep 2007 00:14:03 +0000 (17:14 -0700)
commitaec7b362ad07e1a2c58051c8db653dabffee8960
tree2c1a5325238be00cbccc71c32e8ab50483a4a3d2
parentd38eb710d92864b0b1f7cd36f17e273e3d8c735c
git-merge: add support for branch.<name>.mergeoptions

This enables per branch configuration of merge options. Currently, the most
useful options to specify per branch are --squash, --summary/--no-summary
and possibly --strategy, but all options are supported.

Note: Options containing whitespace will _not_ be handled correctly. Luckily,
the only option which can include whitespace is --message and it doesn't
make much sense to give that option a default value.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-merge.txt
git-merge.sh
t/t7600-merge.sh