aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2021-07-15 00:45:21 +0000
committerJunio C Hamano <gitster@pobox.com>2021-07-15 16:54:24 -0700
commit05d2c61c6744212cdef6085832a84b49da77591c (patch)
treefad96c2b7995af33cf092e77ad8a4252ec96f3a5 /diff.c
parentd486ca60a51c9cb1fe068803c3f540724e95e83a (diff)
downloadgit-05d2c61c6744212cdef6085832a84b49da77591c.tar.gz
diff: correct warning message when renameLimit exceeded
The warning when quadratic rename detection was skipped referred to "inexact rename detection". For years, the only linear portion of rename detection was looking for exact renames, so "inexact rename detection" was an accurate way to refer to the quadratic portion of rename detection. However, that changed with commit bd24aa2f97a0 (diffcore-rename: guide inexact rename detection based on basenames, 2021-02-14). Let's instead use the term "exhaustive rename detection" to refer to the quadratic portion. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 52c791574b..2454e34cf6 100644
--- a/diff.c
+++ b/diff.c
@@ -6284,7 +6284,7 @@ static int is_summary_empty(const struct diff_queue_struct *q)
}
static const char rename_limit_warning[] =
-N_("inexact rename detection was skipped due to too many files.");
+N_("exhaustive rename detection was skipped due to too many files.");
static const char degrade_cc_to_c_warning[] =
N_("only found copies from modified paths due to too many files.");