diff options
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index e9065b250..d1e41ff4d 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -557,7 +557,8 @@ struct git_remote_callbacks { * Completion is called when different parts of the download * process are done (currently unused). */ - int GIT_CALLBACK(completion)(git_remote_completion_t type, void *data); + int GIT_CALLBACK(completion)(git_remote_completion_t type, + void *data); /** * This will be called if the remote host requires @@ -587,7 +588,9 @@ struct git_remote_callbacks { * Each time a reference is updated locally, this function * will be called with information about it. */ - int GIT_CALLBACK(update_tips)(const char *refname, const git_oid *a, const git_oid *b, void *data); + int GIT_CALLBACK(update_tips)(const char *refname, + const git_oid *a, const git_oid *b, git_refspec *spec, + void *data); /** * Function to call with progress information during pack |