Keeping the tree alive
This commit is contained in:
parent
f505e39c9e
commit
35518c78df
|
@ -450,6 +450,7 @@ func (v *Repository) CreateCommitFromIds(
|
|||
|
||||
runtime.KeepAlive(v)
|
||||
runtime.KeepAlive(oid)
|
||||
runtime.KeepAlive(tree)
|
||||
runtime.KeepAlive(parents)
|
||||
if ret < 0 {
|
||||
return nil, MakeGitError(ret)
|
||||
|
|
Loading…
Reference in New Issue