Re: [PATCH 0/7] submodule groups
From: Stefan Beller <hidden>
Date: 2016-06-16 02:19:20
On Wed, May 11, 2016 at 10:50 PM, Junio C Hamano [off-list ref] wrote:
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=perl
What 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.