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

[PATCH v2] diff.c: diff.renamelimit => diff.renameLimit in message

From
Max Nanasy <max.nanasy@gmail.com>
Date
Mar 21, 2013, 22:14 UTC
Message-ID
<1363904078-98433-1-git-send-email-max.nanasy@gmail.com>
In-Reply-To
<7va9pwa3h9.fsf@alter.siamese.dyndns.org>

In the warning message printed when rename or unmodified copy detection was skipped due to too many files, change "diff.renamelimit" to "diff.renameLimit", in order to make it consistent with git documentation, which consistently uses "diff.renameLimit".

Signed-off-by: Max Nanasy <max.nanasy@gmail.com>
---
Junio C Hamano <gitster <at> pobox.com> writes:
Show 6 quoted lines
> 
> The patch is severely whitespace damaged.  If you plan to keep
> contributing to Git, I'd like to make sure that your mail toolchain
> is sane, so that we do not have to keep hand-adjusting patches
> submitted by you before applying.
> 

I composed the first patch through the GMail web interface, which converted tabs to spaces. I'm retrying this one through git send-email.

 diff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diff.c b/diff.c
index 156fec4..052974e 100644
--- a/diff.c
+++ b/diff.c
@@ -4662,7 +4662,7 @@ int diff_result_code(struct diff_options *opt, int status)
 {
 	int result = 0;
 
-	diff_warn_rename_limit("diff.renamelimit",
+	diff_warn_rename_limit("diff.renameLimit",
 			       opt->needed_rename_limit,
 			       opt->degraded_cc_to_c);
 	if (!DIFF_OPT_TST(opt, EXIT_WITH_STATUS) &&
-- 
1.8.1.3
Previous: Junio C Hamano
Message 3 of 3 in “diff.c: diff.renamelimit => diff.renameLimit in message”
  1. diff.c: diff.renamelimit => diff.renameLimit in messageMax Nanasy, Mar 21, 2013
  2. Junio C HamanoMar 21, 2013
  3. diff.c: diff.renamelimit => diff.renameLimit in messageMax Nanasy, Mar 21, 2013

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.