Message ID | cover.1561675151.git.matvore@google.com (mailing list archive) |
---|---|
Headers | show |
Series | Filter combination | expand |
Matthew DeVore <matvore@google.com> writes: > This applies suggestions made by Jonathan Tan, as well as fixes a > Coccinelle-breaking error in strbuf usage, and makes an additional string > localizable. OK, so the convention is that errbuf has already translated string, so the call to die() made in a fairly high point in the callchain do not use _(). I looked at the new _() in deeper level of the callchain this round adds relative to the previous one, and they all looked sensible. The helper function should_delegate is now gone---it had only one callsite in the previous round, so I suspect the resulting code would be the same either way with moderately decent compilers. Will queue; thanks.
> This applies suggestions made by Jonathan Tan, as well as fixes a > Coccinelle-breaking error in strbuf usage, and makes an additional string > localizable. > > Thanks, > > Matthew DeVore (10): > list-objects-filter: encapsulate filter components > list-objects-filter: put omits set in filter struct > list-objects-filter-options: always supply *errbuf > list-objects-filter: implement composite filters > list-objects-filter-options: move error check up > list-objects-filter-options: make filter_spec a string_list > strbuf: give URL-encoding API a char predicate fn > list-objects-filter-options: allow mult. --filter > list-objects-filter-options: clean up use of ALLOC_GROW > list-objects-filter-options: make parser void Thanks - the range-diff looks good to me. (I generated the range diff using a base of a6a95cd1b4 for v4 and 8dca754b1 for v5.)