MCPcopy Create free account
hub / github.com/git/git / diff_warn_rename_limit

Function diff_warn_rename_limit

diff.c:7038–7049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7036 "%d and retry the command.");
7037
7038void diff_warn_rename_limit(const char *varname, int needed, int degraded_cc)
7039{
7040 fflush(stdout);
7041 if (degraded_cc)
7042 warning(_(degrade_cc_to_c_warning));
7043 else if (needed)
7044 warning(_(rename_limit_warning));
7045 else
7046 return;
7047 if (0 < needed)
7048 warning(_(rename_limit_advice), varname, needed);
7049}
7050
7051static void create_filepairs_for_header_only_notifications(struct diff_options *o)
7052{

Callers 2

diff_result_codeFunction · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected