Don't drop CreateBlobFromChunks hintPath argument
This commit is contained in:
parent
4ee13db86d
commit
51d3ead30d
2
blob.go
2
blob.go
|
@ -84,7 +84,7 @@ func (repo *Repository) CreateBlobFromChunks(hintPath string, callback BlobChunk
|
||||||
|
|
||||||
var chintPath *C.char = nil
|
var chintPath *C.char = nil
|
||||||
if len(hintPath) > 0 {
|
if len(hintPath) > 0 {
|
||||||
C.CString(hintPath)
|
chintPath = C.CString(hintPath)
|
||||||
defer C.free(unsafe.Pointer(chintPath))
|
defer C.free(unsafe.Pointer(chintPath))
|
||||||
}
|
}
|
||||||
oid := C.git_oid{}
|
oid := C.git_oid{}
|
||||||
|
|
Loading…
Reference in New Issue