summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 9327320b4..ca75126f9 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -184,9 +184,15 @@ GIT_EXTERN(int) git_remote_ls(git_remote *remote, git_headlist_cb list_cb, void
*
* @param remote the remote to download from
* @param filename where to store the temporary filename
+ * @param progress_cb function to call with progress information
+ * @param progress_payload payload for the progress callback
* @return 0 or an error code
*/
-GIT_EXTERN(int) git_remote_download(git_remote *remote, git_off_t *bytes);
+GIT_EXTERN(int) git_remote_download(
+ git_remote *remote,
+ git_off_t *bytes,
+ git_indexer_progress_callback progress_cb,
+ void *progress_payload);
/**
* Check whether the remote is connected