Skip to content

Commit 0ebe722

Browse files
committed
Go back to the v0.26 libgit2 release
Newer commits have changed the build scripts such that the HTTP parser is not included in the static library. This also reverts commit ecf4f7a.
1 parent ecf4f7a commit 0ebe722

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

patch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (v *Repository) PatchFromBuffers(oldPath, newPath string, oldBuf, newBuf []
6969
var patchPtr *C.git_patch
7070

7171
oldPtr := toPointer(oldBuf)
72-
newPtr := toPointer(newBuf)
72+
newPtr := (*C.char)(toPointer(newBuf))
7373

7474
cOldPath := C.CString(oldPath)
7575
defer C.free(unsafe.Pointer(cOldPath))

vendor/libgit2

Submodule libgit2 updated 290 files

0 commit comments

Comments
 (0)