Commit ca909da5 by Edward Thomson

remote: deprecate git_push_transfer_progress

Safely deprecate `git_push_transfer_progress`, forwarding it to the new
`git_push_transfer_progress_cb` name.
parent 59001e83
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "index.h" #include "index.h"
#include "object.h" #include "object.h"
#include "refs.h" #include "refs.h"
#include "remote.h"
/* /*
* Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`. * Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`.
...@@ -272,6 +273,14 @@ typedef git_indexer_progress git_transfer_progress; ...@@ -272,6 +273,14 @@ typedef git_indexer_progress git_transfer_progress;
*/ */
typedef git_indexer_progress_cb git_transfer_progress_cb; typedef git_indexer_progress_cb git_transfer_progress_cb;
/**
* Type definition for push transfer progress callbacks.
*
* This type is deprecated, but there is no plan to remove this
* type definition at this time.
*/
typedef git_push_transfer_progress_cb git_push_transfer_progress;
/**@}*/ /**@}*/
/** @} */ /** @} */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment