From: Junio C Hamano Date: Fri, 13 May 2016 05:26:10 GMT Subject: Re: [PATCH 4/4] pathspec: record labels Message-ID: In-Reply-To: <20160513001936.7623-5-sbeller@google.com> 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 pathspecs. You specify which paths the entry applies to by matching the pattern (which is at the beginning of the line) against each path, and take the matching entries. In any case, what the first sentence tries to explain applies to each and every attribute .gitattributes file can define, and explaining it should be better left for the first sentence in the DESCRIPTION section. As to the second sentence, I would say "When specifying the paths to work on to various Git commands, the :(label=