diff options
Diffstat (limited to 'src/fetch.h')
| -rw-r--r-- | src/fetch.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/fetch.h b/src/fetch.h index ae030c6eb..c10973422 100644 --- a/src/fetch.h +++ b/src/fetch.h @@ -10,9 +10,21 @@ #include "netops.h" int git_fetch_negotiate(git_remote *remote); -int git_fetch_download_pack(git_remote *remote, git_off_t *bytes); -int git_fetch__download_pack(git_transport *t, git_repository *repo, git_off_t *bytes, git_indexer_stats *stats); +int git_fetch_download_pack( + git_remote *remote, + git_off_t *bytes, + git_indexer_progress_callback progress_cb, + void *progress_payload); + +int git_fetch__download_pack( + git_transport *t, + git_repository *repo, + git_off_t *bytes, + git_indexer_stats *stats, + git_indexer_progress_callback progress_cb, + void *progress_payload); + int git_fetch_setup_walk(git_revwalk **out, git_repository *repo); #endif |
