aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-19 11:33:56 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-19 11:33:56 -0800
commitd7c6c2369ac21141b7c6cceaebc6414ec3da14ad (patch)
tree9aa0b15668a5bffa1f05e766eebab1d3cbafb380 /diff.h
parent6d2c4619a59d53325e6de2265205c407767bde9d (diff)
parent2477ab2ea8651920a9909f6d05b15ad9004a6c64 (diff)
downloadgit-d7c6c2369ac21141b7c6cceaebc6414ec3da14ad.tar.xz
Merge branch 'jt/diff-anchored-patience'
"git diff" learned a variant of the "--patience" algorithm, to which the user can specify which 'unique' line to be used as anchoring points. * jt/diff-anchored-patience: diff: support anchoring line(s)
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 0fb18dd735..7cf276f077 100644
--- a/diff.h
+++ b/diff.h
@@ -166,6 +166,10 @@ struct diff_options {
const char *stat_sep;
long xdl_opts;
+ /* see Documentation/diff-options.txt */
+ char **anchors;
+ size_t anchors_nr, anchors_alloc;
+
int stat_width;
int stat_name_width;
int stat_graph_width;