From: Junio C Hamano Date: Fri, 29 Apr 2016 18:38:28 GMT Subject: Re: [PATCH 12/15] git submodule summary respects groups Message-ID: In-Reply-To: <1461703833-10350-13-git-send-email-sbeller@google.com> Stefan Beller writes: > Signed-off-by: Stefan Beller > --- Same comment as 11/15 applies here. > git-submodule.sh | 5 +++++ > t/t7413-submodule--helper.sh | 26 ++++++++++++++++++++++++++ > 2 files changed, 31 insertions(+) > > diff --git a/git-submodule.sh b/git-submodule.sh > index 253ad07..f065b1f 100755 > --- a/git-submodule.sh > +++ b/git-submodule.sh > @@ -833,6 +833,11 @@ cmd_summary() { > sane_egrep '^:([0-7]* )?160000' | > while read mod_src mod_dst sha1_src sha1_dst status sm_path > do > + # ignore modules not in group > + if ! git submodule--helper in-group $sm_path > + then > + continue > + fi > # Always show modules deleted or type-changed (blob<->module)