Re: [PATCH 1/2] short status: improve reporting for submodule changes

2017-03-29 Thread Jonathan Nieder
Stefan Beller wrote: > Signed-off-by: Stefan Beller > Reviewed-by: Jonathan Nieder > --- > Documentation/git-status.txt | 11 > t/t3600-rm.sh| 18 +-- > t/t7506-status-submodule.sh | 117 > +++ > wt-status.c |

[PATCH 1/2] short status: improve reporting for submodule changes

2017-03-29 Thread Stefan Beller
If I add an untracked file to a submodule or modify a tracked file, currently "git status --short" treats the change in the same way as changes to the current HEAD of the submodule: $ git clone --quiet --recurse-submodules https://gerrit.googlesource.com/gerrit $ echo hello >gerri

Re: [PATCH 1/2] short status: improve reporting for submodule changes

2017-03-28 Thread Jonathan Nieder
Hi, Stefan Beller wrote: [...] > +++ b/t/t7506-status-submodule.sh [...] > @@ -287,4 +311,82 @@ test_expect_success 'diff --submodule with merge > conflict in .gitmodules' ' > test_cmp diff_submodule_actual diff_submodule_expect > ' > > +test_expect_success 'setup superproject with untr

[PATCH 1/2] short status: improve reporting for submodule changes

2017-03-28 Thread Stefan Beller
If I add an untracked file to a submodule or modify a tracked file, currently "git status --short" treats the change in the same way as changes to the current HEAD of the submodule: $ git clone --quiet --recurse-submodules https://gerrit.googlesource.com/gerrit $ echo hello >gerri