Re: [PATCH 05/15] submodule-config: check if submodule a submodule is in a group

2016-04-27 Thread Stefan Beller
On Tue, Apr 26, 2016 at 4:17 PM, Junio C Hamano wrote: > Junio C Hamano writes: > >> I see room for bikeshedding here, but the material to bikeshed >> around is not even documented yet ;-) >> >> * a token prefixed with '*' is a label. >> * a token prefixed with './' is a path. >> * a token pre

Re: [PATCH 05/15] submodule-config: check if submodule a submodule is in a group

2016-04-26 Thread Junio C Hamano
Junio C Hamano writes: > I see room for bikeshedding here, but the material to bikeshed > around is not even documented yet ;-) > > * a token prefixed with '*' is a label. > * a token prefixed with './' is a path. > * a token prefixed with ':' is a name. > > Hopefully I will see some descripti

Re: [PATCH 05/15] submodule-config: check if submodule a submodule is in a group

2016-04-26 Thread Junio C Hamano
Stefan Beller writes: > diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c > index b6d4f27..23d7224 100644 > --- a/builtin/submodule--helper.c > +++ b/builtin/submodule--helper.c > @@ -814,6 +814,46 @@ static int update_clone(int argc, const char **argv, > const char *prefix)

[PATCH 05/15] submodule-config: check if submodule a submodule is in a group

2016-04-26 Thread Stefan Beller
In later patches we need to tell if a submodule is in a group, which is defined by name, path or labels. Signed-off-by: Stefan Beller --- builtin/submodule--helper.c | 43 ++- submodule-config.c | 50 +++ submodule-config.h | 3 ++