Re: [RFC PATCHv2 17/17] checkout: add config option to recurse into submodules by default

2016-12-05 Thread Brandon Williams
On 12/05, Stefan Beller wrote: > On Mon, Dec 5, 2016 at 11:29 AM, Brandon Williams wrote: > > On 12/02, Stefan Beller wrote: > >> +test_expect_success 'option checkout.recurseSubmodules updates submodule' > >> ' > >> + test_config checkout.recurseSubmodules 1 && > >> + git checkout base &

Re: [RFC PATCHv2 17/17] checkout: add config option to recurse into submodules by default

2016-12-05 Thread Stefan Beller
On Mon, Dec 5, 2016 at 11:29 AM, Brandon Williams wrote: > On 12/02, Stefan Beller wrote: >> +test_expect_success 'option checkout.recurseSubmodules updates submodule' ' >> + test_config checkout.recurseSubmodules 1 && >> + git checkout base && >> + git checkout -b advanced-base && >>

Re: [RFC PATCHv2 17/17] checkout: add config option to recurse into submodules by default

2016-12-05 Thread Brandon Williams
On 12/02, Stefan Beller wrote: > +test_expect_success 'option checkout.recurseSubmodules updates submodule' ' > + test_config checkout.recurseSubmodules 1 && > + git checkout base && > + git checkout -b advanced-base && > + git -C submodule commit --allow-empty -m "empty commit" &&

[RFC PATCHv2 17/17] checkout: add config option to recurse into submodules by default

2016-12-02 Thread Stefan Beller
To make it easier for the user, who doesn't want to give the `--recurse-submodules` option whenever they run checkout, have an option for to set the default behavior for checkout to recurse into submodules. Signed-off-by: Stefan Beller --- Documentation/config.txt | 6 ++ Documentatio