File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,35 @@ GIT_EXTERN(void) giterr_set_oom(void);
245
245
246
246
/**@}*/
247
247
248
+ /** @name Deprecated Transfer Progress Types
249
+ *
250
+ * These types are retained for backward compatibility. The newer
251
+ * versions of these values should be preferred in all new code.
252
+ *
253
+ * There is no plan to remove these backward compatibility values at
254
+ * this time.
255
+ */
256
+ /**@{*/
257
+
258
+ /**
259
+ * This structure is used to provide callers information about the
260
+ * progress of indexing a packfile.
261
+ *
262
+ * This type is deprecated, but there is no plan to remove this
263
+ * type definition at this time.
264
+ */
265
+ typedef git_indexer_progress git_transfer_progress ;
266
+
267
+ /**
268
+ * Type definition for progress callbacks during indexing.
269
+ *
270
+ * This type is deprecated, but there is no plan to remove this
271
+ * type definition at this time.
272
+ */
273
+ typedef git_indexer_progress_cb git_transfer_progress_cb ;
274
+
275
+ /**@}*/
276
+
248
277
/** @} */
249
278
GIT_END_DECL
250
279
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ typedef struct git_indexer_progress {
46
46
size_t received_bytes ;
47
47
} git_indexer_progress ;
48
48
49
- typedef git_indexer_progress git_transfer_progress ;
50
-
51
49
/**
52
50
* Type for progress callbacks during indexing. Return a value less
53
51
* than zero to cancel the indexing or download.
@@ -57,8 +55,6 @@ typedef git_indexer_progress git_transfer_progress;
57
55
*/
58
56
typedef int GIT_CALLBACK (git_indexer_progress_cb )(const git_indexer_progress * stats , void * payload );
59
57
60
- typedef git_indexer_progress_cb git_transfer_progress_cb ;
61
-
62
58
63
59
typedef struct git_indexer_options {
64
60
unsigned int version ;
You can’t perform that action at this time.
0 commit comments