Web lists-archives.com

Re: [PATCH 0/2] bringing attributes to pathspecs




On Thu, Mar 9, 2017 at 1:07 PM, Brandon Williams <bmwill@xxxxxxxxxx> wrote:
> This small series extends the pathspec magic to allow users to specify
> attributes that files must have in order for a pathspec to 'match' a file.
>
> One potential use for this is to allow a repository to specify attributes for a
> set of files.  The user can then specify that attribute as a pathspec to
> perform various operations only on that set of files. One simple example:
>
>         git ls-files -- ":(attr:text)"
>
> can be used to list all of the files with the 'text' attribute.

Thanks for reviving these patches.

I have read through both of them and they look good to me.

Thanks,
Stefan