summaryrefslogtreecommitdiff
path: root/diff.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2018-01-17 11:47:06 +0000
committerCarlos Martín Nieto <[email protected]>2018-01-17 11:47:06 +0000
commita38a8e8ede58ea72e74355394950e05bb888caa2 (patch)
treeb4832480c2cc338cdfc049d7909e52e871da34aa /diff.go
parentec5d2bee0ffbea5a6d952d74e37e766366b5a316 (diff)
diff: add two missing options
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