mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-23 23:16:26 +00:00
We have no need to take a non-const reference. This does involve some other work to make sure we don't mix const and non-const variables, but by splitting what we want each variable to do we can also simplify the logic for when we do want to free a new reference we might have allocated.