Skip to content

Commit ca909da

Browse files
committed
remote: deprecate git_push_transfer_progress
Safely deprecate `git_push_transfer_progress`, forwarding it to the new `git_push_transfer_progress_cb` name.
1 parent 59001e8 commit ca909da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

include/git2/deprecated.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "index.h"
1414
#include "object.h"
1515
#include "refs.h"
16+
#include "remote.h"
1617

1718
/*
1819
* Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`.
@@ -272,6 +273,14 @@ typedef git_indexer_progress git_transfer_progress;
272273
*/
273274
typedef git_indexer_progress_cb git_transfer_progress_cb;
274275

276+
/**
277+
* Type definition for push transfer progress callbacks.
278+
*
279+
* This type is deprecated, but there is no plan to remove this
280+
* type definition at this time.
281+
*/
282+
typedef git_push_transfer_progress_cb git_push_transfer_progress;
283+
275284
/**@}*/
276285

277286
/** @} */

0 commit comments

Comments
 (0)