Skip to content

Commit 1b51fd2

Browse files
authored
Merge pull request #111 from Lattay/main
Replace mentions of deprecated git_transfer_progress with git_indexer_progress
2 parents dc85556 + 64671d9 commit 1b51fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/101-samples/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ int error = git_clone(&repo, url, path, NULL);
104104
~~~c
105105
typedef struct { /**/ } progress_data;
106106
int fetch_progress(
107-
const git_transfer_progress *stats,
107+
const git_indexer_progress *stats,
108108
void *payload)
109109
{
110110
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
17821782
~~~c
17831783
/* Progress callback */
17841784
typedef struct { /**/ } remote_data;
1785-
int progress_cb(const git_transfer_progress *stats, void *payload)
1785+
int progress_cb(const git_indexer_progress *stats, void *payload)
17861786
{
17871787
remote_data *d = (remote_data*)payload;
17881788
/**/

0 commit comments

Comments
 (0)