Skip to content

Commit 05d2c61

Browse files
newrengitster
authored andcommitted
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 bd24aa2 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d486ca6 commit 05d2c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6284,7 +6284,7 @@ static int is_summary_empty(const struct diff_queue_struct *q)
62846284
}
62856285

62866286
static const char rename_limit_warning[] =
6287-
N_("inexact rename detection was skipped due to too many files.");
6287+
N_("exhaustive rename detection was skipped due to too many files.");
62886288

62896289
static const char degrade_cc_to_c_warning[] =
62906290
N_("only found copies from modified paths due to too many files.");

0 commit comments

Comments
 (0)