Commit 5bd78c48e10a8a025b17a53ed700a42d1b594c08

Carlos Martín Nieto 2018-12-14T14:41:17

refs: constify git_reference_peel 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.