summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-05-31 12:00:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-31 12:00:02 -0700
commitb3c89315a33fbded4a8c5d533ca8ddc6087e4c23 (patch)
tree804bd0c440bcbd6c365460e5d60163b44cd8c200 /diff.h
parentMerge branch 'rr/doc-content-type' into maint (diff)
parentdiffcore-rename: fall back to -C when -C -C busts the rename limit (diff)
downloadtgif-b3c89315a33fbded4a8c5d533ca8ddc6087e4c23.tar.xz
Merge branch 'jc/rename-degrade-cc-to-c' into maint
* jc/rename-degrade-cc-to-c: diffcore-rename: fall back to -C when -C -C busts the rename limit diffcore-rename: record filepair for rename src diffcore-rename: refactor "too many candidates" logic builtin/diff.c: remove duplicated call to diff_result_code()
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 42b49d8f22..6e4d436e0c 100644
--- a/diff.h
+++ b/diff.h
@@ -111,6 +111,7 @@ struct diff_options {
int rename_score;
int rename_limit;
int needed_rename_limit;
+ int degraded_cc_to_c;
int show_rename_progress;
int dirstat_percent;
int setup;
@@ -270,6 +271,7 @@ extern void diffcore_fix_diff_index(struct diff_options *);
extern int diff_queue_is_empty(void);
extern void diff_flush(struct diff_options*);
+extern void diff_warn_rename_limit(const char *varname, int needed, int degraded_cc);
/* diff-raw status letters */
#define DIFF_STATUS_ADDED 'A'