revert "checkout: introduce checkout.overlayMode config"
authorThomas Gummerer <t.gummerer@gmail.com>
Mon, 4 Feb 2019 21:13:16 +0000 (21:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Feb 2019 21:30:14 +0000 (13:30 -0800)
commite92aa0e4ef5a91781530449f9466a45c16c91f7f
treef72dbe0c834e26a998196a749795ea7b70df53d9
parent1495ff7da526c61bff88e31fcdf419fb023a42c5
revert "checkout: introduce checkout.overlayMode config"

This reverts 1495ff7da5 ("checkout: introduce checkout.overlayMode
config", 2019-01-08) and thus removes the checkout.overlayMode config
option.

The option was originally introduced to give users the option to make
the new no-overlay behaviour the default.  However users may be using
'git checkout' in scripts, even though it is porcelain.  Users setting
the option to false may actually end up accidentally breaking scripts.

With the introduction of a new subcommand that will make the behaviour
the default, the config option will not be needed anymore anyway.
Revert the commit and remove the config option, so we don't risk
breaking scripts.

Suggested-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/checkout.txt
builtin/checkout.c
t/t2025-checkout-no-overlay.sh