git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] diff: avoid misleading statement about -l option

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 14, 2026, 14:26 UTC
Message-ID
<xmqqbjb4rd5q.fsf@gitster.g>
In-Reply-To
<pull.2035.v2.git.1786673186855.gitgitgadget@gmail.com>
"Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> diff --git a/diff.c b/diff.c
> index 589c1969e4..c593066592 100644
> --- a/diff.c
> +++ b/diff.c
> @@ -6186,7 +6186,7 @@ struct option *add_diff_options(const struct option *opts,
>  			       N_("continue listing the history of a file beyond renames"),
>  			       PARSE_OPT_NOARG, diff_opt_follow),
>  		OPT_INTEGER('l', NULL, &options->rename_limit,
> -			    N_("prevent rename/copy detection if the number of rename/copy targets exceeds given limit")),
> +			    N_("limit to cheap rename/copy detection if the number of rename/copy targets exceeds this value")),

That is still a mouthful and it does not help that rename/copy appears twice, but that trait is shared with the original, so let's leave it outside the topic to improve it. If somebody is inclined to, he or she can do so later.

Will mark it for 'next'.  Thanks.
Show 5 quoted lines
>  
>  		OPT_GROUP(N_("Diff algorithm options")),
>  		OPT_CALLBACK_F(0, "minimal", options, NULL,
>
> base-commit: 2c78326f810173a4f3aefd8021f1e07575412481
Previous: Elijah Newren via GitGitGadget
Message 5 of 5 in “diff: avoid misleading statement about -l option”
  1. diff: avoid misleading statement about -l optionElijah Newren via GitGitGadget, Aug 12, 2026
  2. Junio C HamanoAug 12, 2026
  3. Elijah NewrenAug 12, 2026
  4. diff: avoid misleading statement about -l optionElijah Newren via GitGitGadget, Aug 14, 2026
  5. Junio C HamanoAug 14, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.