Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-07 00:45:46 +0300
committerJunio C Hamano <gitster@pobox.com>2016-05-07 00:45:46 +0300
commit0018da1088e3d7e282998d80db3c719fa7a18ce3 (patch)
tree68f5adf91842c3aabd6db45afaa29e989be885b5 /xdiff/xdiff.h
parent21b4ae74b4c6094f5aabcafe4fc01bd2d8cfd054 (diff)
parent77085a616b0fe0eaba99dfe27247ae733f1570e9 (diff)
Merge branch 'jk/diff-compact-heuristic'
Patch output from "git diff" and friends has been tweaked to be more readable by using a blank line as a strong hint that the contents before and after it belong to a logically separate unit. * jk/diff-compact-heuristic: diff: undocument the compaction heuristic knobs for experimentation xdiff: implement empty line chunk heuristic xdiff: add recs_match helper function
Diffstat (limited to 'xdiff/xdiff.h')
-rw-r--r--xdiff/xdiff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xdiff/xdiff.h b/xdiff/xdiff.h
index 4fb7e79410..7423f77fc8 100644
--- a/xdiff/xdiff.h
+++ b/xdiff/xdiff.h
@@ -41,6 +41,8 @@ extern "C" {
#define XDF_IGNORE_BLANK_LINES (1 << 7)
+#define XDF_COMPACTION_HEURISTIC (1 << 8)
+
#define XDL_EMIT_FUNCNAMES (1 << 0)
#define XDL_EMIT_FUNCCONTEXT (1 << 2)