From: Patrick Steinhardt Date: Mon, 01 Dec 2025 10:32:37 GMT Subject: Re: [PATCH 1/3] last-modified: handle and document NUL termination Message-ID: In-Reply-To: <87tsye0z61.fsf@iotcl.com> On Fri, Nov 28, 2025 at 07:50:30PM +0100, Toon Claes wrote: > Junio C Hamano writes: > > > Toon Claes writes: > > > >> When option `-z` is provided to git-last-modified(1), each line is > >> separated with a NUL instead of a newline. Document this properly and > >> handle parsing of the option in the builtin itself. > > > > I think documenting does make sense, but it is not clear from the > > description why it is better to handle the option in the builtin > > itself, instead of letting the setup_revisions() take care of it. > > I know it's silly, but I wanted to feed these options to > parse_options(). Doing this would make them show up in `git > last-modified -h`. I think that reasoning makes sense, but it's certainly non-obvious from the commit message. So if you expand the commit message with an explanation the change becomes much more sensible. Patrick