Re: [PATCH 12/15] git submodule summary respects groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Beller <sbeller@xxxxxxxxxx> writes:

> Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx>
> ---

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)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]