diff options
| author | lhchavez <[email protected]> | 2019-01-08 02:50:42 +0000 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2019-01-08 02:50:42 +0000 |
| commit | 35518c78df9ae727651212512bfaa1a8dae02585 (patch) | |
| tree | 940d4379a9a5bc4cf883da8503cf44d65f271382 /repository.go | |
| parent | f505e39c9eac64264d6341cc925c5fa7f67b56cf (diff) | |
Keeping the tree alive
Diffstat (limited to 'repository.go')
| -rw-r--r-- | repository.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.go b/repository.go index 30673a7..2a4e9c8 100644 --- a/repository.go +++ b/repository.go @@ -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) |
