Re: [PATCH 5/5] ref-filter.c: parse trailers arguments with %(contents) atom

2017-09-30 Thread Jeff King
On Fri, Sep 29, 2017 at 11:22:38PM -0700, Taylor Blau wrote: > The %(contents) atom takes a contents "field" as its argument. Since > "trailers" > is one of those fields, extend contents_atom_parser to parse "trailers"'s > arguments when used through "%(contents)", like: > > %(contents:trailer

[PATCH 5/5] ref-filter.c: parse trailers arguments with %(contents) atom

2017-09-29 Thread Taylor Blau
The %(contents) atom takes a contents "field" as its argument. Since "trailers" is one of those fields, extend contents_atom_parser to parse "trailers"'s arguments when used through "%(contents)", like: %(contents:trailers:unfold,only) A caveat: trailers_atom_parser expects NULL when no argumen