From ca909da5dd92d4bfddf151852f029e74c4ef8a48 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 21 Feb 2019 11:45:23 +0000 Subject: remote: deprecate git_push_transfer_progress Safely deprecate `git_push_transfer_progress`, forwarding it to the new `git_push_transfer_progress_cb` name. --- include/git2/deprecated.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index 3777c0e00..ca8a23ccd 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -13,6 +13,7 @@ #include "index.h" #include "object.h" #include "refs.h" +#include "remote.h" /* * Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`. @@ -272,6 +273,14 @@ typedef git_indexer_progress git_transfer_progress; */ 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; + /**@}*/ /** @} */ -- cgit v1.2.1