Re: [PATCH 4/4] pathspec: record labels

2016-05-13 Thread Junio C Hamano
Stefan Beller writes: > Would it make sense to mark a file as > > "follows the labeling system, but has no label" (TRUE) > "doesn't follow the labeling system at all" (FALSE) Isn't the former be "label=" I do not know what you mean by the latter. I would understand

Re: [PATCH 4/4] pathspec: record labels

2016-05-12 Thread Stefan Beller
On Thu, May 12, 2016 at 10:26 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> + >> +label:;; >> + Labels can be assigned to pathspecs in the .gitattributes file. >> + By specifying a list of labels the pattern will match only >> + files

Re: [PATCH 4/4] pathspec: record labels

2016-05-12 Thread Stefan Beller
On Thu, May 12, 2016 at 9:32 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> diff --git a/Documentation/glossary-content.txt >> b/Documentation/glossary-content.txt >> index 8ad29e6..a1fc9e0 100644 >> --- a/Documentation/glossary-content.txt >> +++

Re: [PATCH 4/4] pathspec: record labels

2016-05-12 Thread Junio C Hamano
Stefan Beller writes: > + > +label:;; > + Labels can be assigned to pathspecs in the .gitattributes file. > + By specifying a list of labels the pattern will match only > + files which have all of the listed labels. > + Attributes are given to paths, not

Re: [PATCH 4/4] pathspec: record labels

2016-05-12 Thread Junio C Hamano
Stefan Beller writes: > diff --git a/Documentation/glossary-content.txt > b/Documentation/glossary-content.txt > index 8ad29e6..a1fc9e0 100644 > --- a/Documentation/glossary-content.txt > +++ b/Documentation/glossary-content.txt > @@ -362,6 +362,11 @@ glob;; > For

[PATCH 4/4] pathspec: record labels

2016-05-12 Thread Stefan Beller
Labels were originally designed to manage large amount of submodules, the discussion steered this in a more general direction, such that other files can be labeled as well. Labels are meant to describe arbitrary set of files, which is not described via the tree layout. Signed-off-by: Stefan