From: Junio C Hamano Date: Mon, 02 Oct 2017 04:26:21 GMT Subject: Re: [PATCH v5 6/6] ref-filter.c: parse trailers arguments with %(contents) atom Message-ID: In-Reply-To: <20171002003304.77514-6-me@ttaylorr.com> Taylor Blau writes: > A caveat: trailers_atom_parser expects NULL when no arguments are given > (see: `parse_ref_filter_atom`). This is because string_list_split (given > a maxsplit of -1) returns a 1-ary string_list* containing the given > string if the delimiter could not be found using `strchr`. OK. That's unfortunate, but the solution here is far cleaner and simpler than fixing string-list-split. Thanks for an updated explanation here.