summaryrefslogtreecommitdiff
path: root/diff.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2018-01-17 12:18:08 +0000
committerGitHub <[email protected]>2018-01-17 12:18:08 +0000
commit432a164805a43a5ee0df15f7939dc771fc8d4fbd (patch)
treeb4832480c2cc338cdfc049d7909e52e871da34aa /diff.go
parentf439cc93e95cd4d837e3875e11c31400c66b1612 (diff)
parenta38a8e8ede58ea72e74355394950e05bb888caa2 (diff)
Merge pull request #419 from libgit2/cmn/bump-libgit2
Cmn/bump libgit2
Diffstat (limited to 'diff.go')
-rw-r--r--diff.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.go b/diff.go
index 3cc1dc2..3088320 100644
--- a/diff.go
+++ b/diff.go
@@ -437,6 +437,8 @@ const (
DiffShowUnmodified DiffOptionsFlag = C.GIT_DIFF_SHOW_UNMODIFIED
DiffPatience DiffOptionsFlag = C.GIT_DIFF_PATIENCE
DiffMinimal DiffOptionsFlag = C.GIT_DIFF_MINIMAL
+ DiffShowBinary DiffOptionsFlag = C.GIT_DIFF_SHOW_BINARY
+ DiffIndentHeuristic DiffOptionsFlag = C.GIT_DIFF_INDENT_HEURISTIC
)
type DiffNotifyCallback func(diffSoFar *Diff, deltaToAdd DiffDelta, matchedPathspec string) error