diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2018-01-17 12:18:08 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-01-17 12:18:08 +0000 |
| commit | 432a164805a43a5ee0df15f7939dc771fc8d4fbd (patch) | |
| tree | b4832480c2cc338cdfc049d7909e52e871da34aa | |
| parent | f439cc93e95cd4d837e3875e11c31400c66b1612 (diff) | |
| parent | a38a8e8ede58ea72e74355394950e05bb888caa2 (diff) | |
Merge pull request #419 from libgit2/cmn/bump-libgit2
Cmn/bump libgit2
| -rw-r--r-- | config.go | 2 | ||||
| -rw-r--r-- | diff.go | 2 | ||||
| m--------- | vendor/libgit2 | 0 |
3 files changed, 3 insertions, 1 deletions
@@ -77,7 +77,7 @@ func (c *Config) AddFile(path string, level ConfigLevel, force bool) error { runtime.LockOSThread() defer runtime.UnlockOSThread() - ret := C.git_config_add_file_ondisk(c.ptr, cpath, C.git_config_level_t(level), cbool(force)) + ret := C.git_config_add_file_ondisk(c.ptr, cpath, C.git_config_level_t(level), nil, cbool(force)) runtime.KeepAlive(c) if ret < 0 { return MakeGitError(ret) @@ -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 diff --git a/vendor/libgit2 b/vendor/libgit2 -Subproject c7c5f2c4ecc727ac555f51bd20353f7f3ae9c07 +Subproject f1323d9c161aeeada190fd9615a8b5a9fb8a7f3 |
