Re: [PATCH v2] submodule: Fix documentation of update subcommand

2015-02-19 Thread Michal Sojka
On Thu, Feb 19 2015, Junio C Hamano wrote: > Michal Sojka writes: > >> The documentation of 'git submodule update' has several problems: >> >> 1) It says that submodule.$name.update can be overridden by --checkout >>only if its value is `none`. > > Hmm, I do not read the existing sentence that

Re: [PATCH v2] submodule: Fix documentation of update subcommand

2015-02-18 Thread Junio C Hamano
Michal Sojka writes: > The documentation of 'git submodule update' has several problems: > > 1) It says that submodule.$name.update can be overridden by --checkout >only if its value is `none`. Hmm, I do not read the existing sentence that way, though. The "only if" above is only in your he

[PATCH v2] submodule: Fix documentation of update subcommand

2015-02-18 Thread Michal Sojka
The documentation of 'git submodule update' has several problems: 1) It says that submodule.$name.update can be overridden by --checkout only if its value is `none`. This is not true, because both implementation and documentation of --checkout specifies that the override applies to all po