From 64671d94b2321d86e7286fe9588820e4b0bc8260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Cavignac?= Date: Tue, 22 Nov 2022 16:10:29 +0000 Subject: [PATCH] Replace mentions of deprecated git_transfer_progress with git_indexer_progress --- docs/guides/101-samples/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/101-samples/index.md b/docs/guides/101-samples/index.md index ab9201a983..cdf4a2d9b8 100644 --- a/docs/guides/101-samples/index.md +++ b/docs/guides/101-samples/index.md @@ -104,7 +104,7 @@ int error = git_clone(&repo, url, path, NULL); ~~~c typedef struct { /* … */ } progress_data; int fetch_progress( - const git_transfer_progress *stats, + const git_indexer_progress *stats, void *payload) { progress_data *pd = (progress_data*)payload; @@ -1782,7 +1782,7 @@ Note that inside a callback is the only place where `git_remote_stop` has any ef ~~~c /* Progress callback */ typedef struct { /* … */ } remote_data; -int progress_cb(const git_transfer_progress *stats, void *payload) +int progress_cb(const git_indexer_progress *stats, void *payload) { remote_data *d = (remote_data*)payload; /* … */