summaryrefslogtreecommitdiff
path: root/examples/clone.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-02-21 10:33:30 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-02-22 11:25:14 +0000
commita1ef995dc03379fb1f5151b5d98d16644218c95e (patch)
treef209958f5f27dfbe3dc2da296c801563a348cce4 /examples/clone.c
parent975d6722a5c203427ab63789d329c00b76461225 (diff)
downloadlibgit2-a1ef995dc03379fb1f5151b5d98d16644218c95e.tar.gz
indexer: use git_indexer_progress throughout
Update internal usage of `git_transfer_progress` to `git_indexer_progreses`.
Diffstat (limited to 'examples/clone.c')
-rw-r--r--examples/clone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/clone.c b/examples/clone.c
index fc121bc1e..ee403e139 100644
--- a/examples/clone.c
+++ b/examples/clone.c
@@ -1,7 +1,7 @@
#include "common.h"
typedef struct progress_data {
- git_transfer_progress fetch_progress;
+ git_indexer_progress fetch_progress;
size_t completed_steps;
size_t total_steps;
const char *path;
@@ -46,7 +46,7 @@ static int sideband_progress(const char *str, int len, void *payload)
return 0;
}
-static int fetch_progress(const git_transfer_progress *stats, void *payload)
+static int fetch_progress(const git_indexer_progress *stats, void *payload)
{
progress_data *pd = (progress_data*)payload;
pd->fetch_progress = *stats;