Files
git/Documentation
Paul Tan eb8dc05c3d pull: make pull.ff=true override merge.ff
Since b814da8 (pull: add pull.ff configuration, 2014-01-15), running
git-pull with the configuration pull.ff=false or pull.ff=only is
equivalent to passing --no-ff and --ff-only to git-merge. However, if
pull.ff=true, no switch is passed to git-merge. This leads to the
confusing behavior where pull.ff=false or pull.ff=only is able to
override merge.ff, while pull.ff=true is unable to.

Fix this by adding the --ff switch if pull.ff=true, and add a test to
catch future regressions.

Furthermore, clarify in the documentation that pull.ff overrides
merge.ff.

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Reviewed-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-05-18 11:22:27 -07:00
..
2015-04-27 12:26:21 -07:00
2014-11-04 13:14:44 -08:00
2013-09-04 12:23:25 -07:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2015-03-31 14:58:38 -07:00
2014-11-04 13:14:44 -08:00
2013-10-18 13:50:12 -07:00
2015-04-28 13:00:18 -07:00
2014-11-04 13:14:44 -08:00
2013-04-12 12:00:52 -07:00
2015-04-30 11:25:06 -07:00
2014-11-04 13:14:44 -08:00
2015-01-22 13:44:14 -08:00