summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-02-21 11:45:23 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-02-22 11:26:51 +0000
commitca909da5dd92d4bfddf151852f029e74c4ef8a48 (patch)
treea3f1d7cd4bc7f63cce73f206e53ccd5aae662adf
parent59001e83057467c0123069df5b1fbc257022528e (diff)
downloadlibgit2-ca909da5dd92d4bfddf151852f029e74c4ef8a48.tar.gz
remote: deprecate git_push_transfer_progressethomson/transfer_progress
Safely deprecate `git_push_transfer_progress`, forwarding it to the new `git_push_transfer_progress_cb` name.
-rw-r--r--include/git2/deprecated.h9
1 files changed, 9 insertions, 0 deletions
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;
+
/**@}*/
/** @} */