Re: [PATCH v2 3/3] submodule: document default behavior

2019-02-14 Thread Junio C Hamano
Denton Liu writes: >> > +With no arguments, the default command is 'status'. Several subcommands >> > are >> > +available to perform operations on the submodules. >> >> I am not sure if "default is status" is really true. >> >>$ git submodule status --recursive >>$ git submodule --recur

Re: [PATCH v2 3/3] submodule: document default behavior

2019-02-13 Thread Denton Liu
On Wed, Feb 13, 2019 at 10:39:48AM -0800, Junio C Hamano wrote: > Denton Liu writes: > > diff --git a/Documentation/git-submodule.txt > > b/Documentation/git-submodule.txt > > index 65a952fb96..2fdf9f4cf3 100644 > > --- a/Documentation/git-submodule.txt > > +++ b/Documentation/git-submodule.txt >

Re: [PATCH v2 3/3] submodule: document default behavior

2019-02-13 Thread Junio C Hamano
Denton Liu writes: > This patch documents the default behavior of submodule if no subcommands > are given, similar to how remote documents it in both git-remote.txt and > in its usage output. Let's stop saying "This patch does this, this patch does that". Instead (1) state what you think is wro

[PATCH v2 3/3] submodule: document default behavior

2019-02-12 Thread Denton Liu
This patch documents the default behavior of submodule if no subcommands are given, similar to how remote documents it in both git-remote.txt and in its usage output. Signed-off-by: Denton Liu --- Documentation/git-submodule.txt | 4 git-submodule.sh| 3 ++- 2 files changed,