summaryrefslogtreecommitdiff
path: root/src/commit_graph.c
diff options
context:
space:
mode:
authorWaleed Khan <me@waleedkhan.name>2021-06-13 16:42:00 -0700
committerGitHub <noreply@github.com>2021-06-13 16:42:00 -0700
commit0b3f6da411dd19ffa0b0ca03d5a6752d3d1f9dd2 (patch)
treeeef34e2a363928e97e958fb094b5c3df7bde249e /src/commit_graph.c
parent868f4bcb4d3290f4b5320f030fccdf1e7fc8ac8a (diff)
downloadlibgit2-0b3f6da411dd19ffa0b0ca03d5a6752d3d1f9dd2.tar.gz
Fix misleading doc for `git_index_find`
In https://github.com/libgit2/libgit2/pull/5723/files/fc46dc06f52f854f74371682f911f13856c68edb#r540092847, I was confused by the semantics of `git_index_find`. The documentation says both that it returns the output value in `at_pos` and that it returns it directly as an `int`. This is incorrect; the return value is only returned via `at_pos`.
Diffstat (limited to 'src/commit_graph.c')
0 files changed, 0 insertions, 0 deletions