mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
indexer: use git_indexer_progress throughout
Update internal usage of `git_transfer_progress` to `git_indexer_progreses`.
This commit is contained in:
@@ -38,7 +38,7 @@ static int update_cb(const char *refname, const git_oid *a, const git_oid *b, vo
|
||||
* data. Most frontends will probably want to show a percentage and
|
||||
* the download rate.
|
||||
*/
|
||||
static int transfer_progress_cb(const git_transfer_progress *stats, void *payload)
|
||||
static int transfer_progress_cb(const git_indexer_progress *stats, void *payload)
|
||||
{
|
||||
(void)payload;
|
||||
|
||||
@@ -57,7 +57,7 @@ static int transfer_progress_cb(const git_transfer_progress *stats, void *payloa
|
||||
int lg2_fetch(git_repository *repo, int argc, char **argv)
|
||||
{
|
||||
git_remote *remote = NULL;
|
||||
const git_transfer_progress *stats;
|
||||
const git_indexer_progress *stats;
|
||||
git_fetch_options fetch_opts = GIT_FETCH_OPTIONS_INIT;
|
||||
|
||||
if (argc < 2) {
|
||||
|
||||
Reference in New Issue
Block a user