From: Junio C Hamano Date: Wed, 26 Nov 2025 19:49:22 GMT Subject: Re: [PATCH 2/3] last-modified: document option --max-depth Message-ID: In-Reply-To: <20251126-toon-last-modified-zzzz-v1-2-608350df0caa@iotcl.com> Toon Claes writes: > Option --max-depth is supported by git-last-modified(1), because it was > added to the diff machinery in a1dfa5448d (diff: teach tree-diff a > max-depth parameter, 2025-08-07). > > This option is useful for everyday use of the git-last-modified(1) > command, so document it's existence in the man page and `-h` output. > > Signed-off-by: Toon Claes > --- > Documentation/git-last-modified.adoc | 9 ++++++++- > builtin/last-modified.c | 12 +++++++++++- > 2 files changed, 19 insertions(+), 2 deletions(-) Does this step pass t0450? fixup! last-modified: document option --max-depth diff --git a/builtin/last-modified.c b/builtin/last-modified.c index ccb7ff66d4..857554e70d 100644 --- a/builtin/last-modified.c +++ b/builtin/last-modified.c @@ -523,8 +523,8 @@ int cmd_last_modified(int argc, const char **argv, const char *prefix, struct last_modified lm = LAST_MODIFIED_INIT; const char * const last_modified_usage[] = { - N_("git last-modified [--recursive] [--show-trees] [--max-depth=] [-z] " - "[] [[--] ...]"), + N_("git last-modified [--recursive] [--show-trees] [--max-depth=] [-z]\n" + " [] [[--] ...]"), NULL };