summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2017-09-29 09:56:41 +0200
committerGitHub <[email protected]>2017-09-29 09:56:41 +0200
commitb011f6b2485c697062425cc804f0a645429415b2 (patch)
tree77bfc7b64a48e740b13a0dd6e63ff9ba51264b76
parenta2e6f1db859c3f5856e165b9f0f69af749f08d4f (diff)
parenta69a0b1919870410aaeb4a6117b6a26fe77e82e3 (diff)
Merge pull request #409 from libgit2/cmn/bumping
Bump libgit2 to c7c5f2c4ec
-rw-r--r--patch.go2
m---------vendor/libgit20
2 files changed, 1 insertions, 1 deletions
diff --git a/patch.go b/patch.go
index 75e843c..7e6f71d 100644
--- a/patch.go
+++ b/patch.go
@@ -69,7 +69,7 @@ func (v *Repository) PatchFromBuffers(oldPath, newPath string, oldBuf, newBuf []
var patchPtr *C.git_patch
oldPtr := toPointer(oldBuf)
- newPtr := (*C.char)(toPointer(newBuf))
+ newPtr := toPointer(newBuf)
cOldPath := C.CString(oldPath)
defer C.free(unsafe.Pointer(cOldPath))
diff --git a/vendor/libgit2 b/vendor/libgit2
-Subproject 15e119375018fba121cf58e02a9f17fe22df0df
+Subproject c7c5f2c4ecc727ac555f51bd20353f7f3ae9c07