diff options
author | Carlos Martín Nieto <carlosmn@github.com> | 2022-02-21 10:03:06 +0100 |
---|---|---|
committer | Carlos Martín Nieto <carlosmn@github.com> | 2022-02-21 10:03:06 +0100 |
commit | 15860aa0b29907e1a795ca2f91a2f66de63fcf59 (patch) | |
tree | dd86ae5df2b2b417ecaf7cb38d91d00cbba258ba /src/libgit2/commit_graph.h | |
parent | 83f2a20eb7727fcf418a17c75cb088ce2cc432ec (diff) | |
download | libgit2-15860aa0b29907e1a795ca2f91a2f66de63fcf59.tar.gz |
remote: do store the update_tips callback error value
We use `git_error_set_after_callback_function` to determine whether
`update_tips` returned an error but do not store its return value making us
think it always returns 0.
Fix it by adding the common patter of storing it inside the `if` when calling it.
Diffstat (limited to 'src/libgit2/commit_graph.h')
0 files changed, 0 insertions, 0 deletions