From: Stefan Beller Date: Fri, 13 May 2016 05:41:13 GMT Subject: Re: [PATCH 4/4] pathspec: record labels Message-ID: In-Reply-To: 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 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=