MCPcopy Index your code
hub / github.com/git/git / init_diff_ui_defaults

Function init_diff_ui_defaults

diff.c:282–285  ·  view source on GitHub ↗

* These are to give UI layer defaults. * The core-level commands such as git-diff-files should * never be affected by the setting of diff.renames * the user happens to have in the configuration file. */

Source from the content-addressed store, hash-verified

280 * the user happens to have in the configuration file.
281 */
282void init_diff_ui_defaults(void)
283{
284 diff_detect_rename_default = DIFF_DETECT_RENAME;
285}
286
287int git_diff_heuristic_config(const char *var, const char *value,
288 void *cb UNUSED)

Callers 9

cmd_whatchangedFunction · 0.85
cmd_showFunction · 0.85
cmd_log_reflogFunction · 0.85
cmd_logFunction · 0.85
cmd_format_patchFunction · 0.85
show_stashFunction · 0.85
cmd_mergeFunction · 0.85
status_init_configFunction · 0.85
cmd_diffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected