]> git.ipfire.org Git - thirdparty/git.git/commit
last-modified: handle and document NUL termination
authorToon Claes <toon@iotcl.com>
Wed, 26 Nov 2025 06:09:43 +0000 (07:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Nov 2025 16:46:54 +0000 (08:46 -0800)
commitf73f951464bd481c80d2065d9eabbcb5c3cf6c50
treeeaeb415cd2bc3e7672455730884ec1cabe9caca1
parent6ab38b7e9cc7adafc304f3204616a4debd49c6e9
last-modified: handle and document NUL termination

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.

Signed-off-by: Toon Claes <toon@iotcl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-last-modified.adoc
builtin/last-modified.c