summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-12-14 14:41:17 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2018-12-14 14:44:27 +0100
commit5bd78c48e10a8a025b17a53ed700a42d1b594c08 (patch)
treed5e34f75ed87a1455f66c232830b4c3f85a4cbc1 /src/annotated_commit.c
parent0f299365ef4f574e77bdabd2952e2452331cb675 (diff)
downloadlibgit2-5bd78c48e10a8a025b17a53ed700a42d1b594c08.tar.gz
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.
Diffstat (limited to 'src/annotated_commit.c')
0 files changed, 0 insertions, 0 deletions