diff options
Diffstat (limited to 'src/remote.c')
-rw-r--r-- | src/remote.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c index 7dcba6d6b..920ca7a18 100644 --- a/src/remote.c +++ b/src/remote.c @@ -681,9 +681,8 @@ int git_remote_download( static int update_tips_callback(git_remote_head *head, void *payload) { git_vector *refs = (git_vector *)payload; - git_vector_insert(refs, head); - return 0; + return git_vector_insert(refs, head); } static int remote_head_for_fetchspec_src(git_remote_head **out, git_vector *update_heads, const char *fetchspec_src) |