mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-24 18:49:22 +00:00
The function to write trees allocates a new buffer for each tree. This causes problems with performance when performing a lot of actions involving writing trees, e.g. when doing many merges. Fix the issue by instead handing in a shared buffer, which is then re-used across the calls without having to re-allocate between calls. |
||
|---|---|---|
| .. | ||
| git2 | ||
| git2.h | ||