Skip to content

Commit 79e09e1

Browse files
authored
Merge pull request libgit2#3944 from mhagger/diff-indent-heuristic
Implement a diff indent heuristic
2 parents 781d73b + 1b9cc2e commit 79e09e1

File tree

2 files changed

+523
-78
lines changed

2 files changed

+523
-78
lines changed

src/xdiff/xdiff.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ extern "C" {
4343

4444
#define XDF_IGNORE_BLANK_LINES (1 << 7)
4545

46+
#define XDF_INDENT_HEURISTIC (1 << 8)
47+
4648
#define XDL_EMIT_FUNCNAMES (1 << 0)
4749
#define XDL_EMIT_COMMON (1 << 1)
4850
#define XDL_EMIT_FUNCCONTEXT (1 << 2)

0 commit comments

Comments
 (0)