Thread (1 message) 1 message, 1 author, 2026-01-16

Re: [PATCH v2 4/5] last-modified: add option '--max-depth' to help output

From: Junio C Hamano <hidden>
Date: 2026-01-16 18:42:47

Toon Claes [off-list ref] writes:
In previous commit option '--max-depth' was added to the documentation.
To have it also appear in the help output of `git last-modified -h`,
move the handling of '--max-depth' to parse_options() in
builtin/last-modified.c itself.

It enables us to change default behavior in a subsequent commit.
This split of the max-depth into two steps does not look right to
me.  If we are handling the option ourselves here, shouldn't we do
so in the same step, so that "git cmd -h" and the synopsis section
of the documentation match?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help