]> git.ipfire.org Git - thirdparty/git.git/commit
doc txt & -h consistency: add "-z" to cat-file "-h"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 13 Oct 2022 15:39:04 +0000 (17:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 16:32:55 +0000 (09:32 -0700)
commitdfc833332a8a45a700ec8c8be3bdb1334bdb7f4c
tree3111c7bbba14db70f9a915687568dcd157f632dc
parentd4056dba1fbe7a0b1e36eab34b9a2ff8435f86a4
doc txt & -h consistency: add "-z" to cat-file "-h"

Fix a bug in db9d67f2e9c (builtin/cat-file.c: support NUL-delimited
input with `-z`, 2022-07-22), before that change the SYNOPSIS and "-h"
output were the same, but not afterwards.

That change followed a similar earlier divergence in
473fa2df08d (Documentation: add --batch-command to cat-file synopsis,
2022-04-07). Subsequent commits will fix this sort of thing more
systematically, but let's fix this one as a one-off.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c