[PATCH] diff.c: diff.renamelimit => diff.renameLimit in message
From: Max Nanasy <hidden>
Date: 2016-06-15 22:56:28
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Max Nanasy <hidden>
Date: 2016-06-15 22:56:28
Subsystem:
the rest · Maintainer:
Linus Torvalds
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 <redacted> --- 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