Re: [PATCH 0/7] submodule groups
- From
Stefan Beller <sbeller@google.com>
- Date
- May 12, 2016, 15:32 UTC
- Message-ID
- <CAGZ79ka-d9skygE-LeoFz4ENY48mnn9CzVDmLvYSXH3PNVy3ug@mail.gmail.com>
- In-Reply-To
- <xmqq37pnj04f.fsf@gitster.mtv.corp.google.com>
On Wed, May 11, 2016 at 10:50 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> > git cmd -- \*.perl \*.pl \*.pm > > I've often wondered if it would be a good idea to let attributes > file to specify "these paths form the group Perl" with something > like: > > *.pm group=perl > *.pl group=perl > *.perl group=perl > *.h group=c > *.c group=c > > and say > > git cmd -- ':(group=perl)' > > instead.
How is that different to the file size example I gave earlier? You could have a change which includes:
- *.pl group=prolog
+ *.pl group=perlWhat happens in the diff/log case then (just as a file can pass an arbitrary file size within that change) ? These file attributes are as arbitrary as sizes as well as submodule labels or names.