aboutsummaryrefslogtreecommitdiffstats
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-30 14:04:04 +0900
committerJunio C Hamano <gitster@pobox.com>2018-05-30 14:04:04 +0900
commit6e2ba77bda8a23f911ac7e6dd8a313f4f03afb5e (patch)
tree11ca48aef79f68e740aa7a97c4956327d58114cb /diff.h
parentc5aa4bccb5ffcc01e45915c00d2fce30ce959dab (diff)
parent6f10a09e0a1a7c3c3a6ee8e67390a4839dbe6a1b (diff)
downloadgit-6e2ba77bda8a23f911ac7e6dd8a313f4f03afb5e.tar.gz
Merge branch 'bp/merge-rename-config'
With merge.renames configuration set to false, the recursive merge strategy can be told not to spend cycles trying to find renamed paths and merge them accordingly. * bp/merge-rename-config: merge: pass aggressive when rename detection is turned off merge: add merge.renames config setting merge: update documentation for {merge,diff}.renameLimit
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index d29560f822..dedac472ca 100644
--- a/diff.h
+++ b/diff.h
@@ -324,6 +324,7 @@ extern int git_diff_ui_config(const char *var, const char *value, void *cb);
extern void diff_setup(struct diff_options *);
extern int diff_opt_parse(struct diff_options *, const char **, int, const char *);
extern void diff_setup_done(struct diff_options *);
+extern int git_config_rename(const char *var, const char *value);
#define DIFF_DETECT_RENAME 1
#define DIFF_DETECT_COPY 2