]> git.ipfire.org Git - thirdparty/git.git/commit - list-objects-filter-options.c
list-objects-filter-options: always supply *errbuf
authorMatthew DeVore <matvore@google.com>
Thu, 27 Jun 2019 22:54:07 +0000 (15:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Jun 2019 15:41:53 +0000 (08:41 -0700)
commit842b00516aebee06fc99c51a663b6587f642d36d
treee7d68abf219d4ffaeef30dd12c1e5575375bf994
parent7a7c7f4a6d22477e3548021eb3571384651c00be
list-objects-filter-options: always supply *errbuf

Making errbuf an optional argument complicates error reporting. Fix this
by making all callers supply an errbuf, even if they may ignore it. This
will be important in follow-up patches where the filter-spec parsing has
more pitfalls and possible errors.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
list-objects-filter-options.c