|
8 | 8 | #define INCLUDE_git_deprecated_h__ |
9 | 9 |
|
10 | 10 | #include "common.h" |
| 11 | +#include "blame.h" |
11 | 12 | #include "buffer.h" |
| 13 | +#include "checkout.h" |
| 14 | +#include "cherrypick.h" |
| 15 | +#include "clone.h" |
| 16 | +#include "describe.h" |
| 17 | +#include "diff.h" |
12 | 18 | #include "errors.h" |
13 | 19 | #include "index.h" |
| 20 | +#include "indexer.h" |
| 21 | +#include "merge.h" |
14 | 22 | #include "object.h" |
| 23 | +#include "proxy.h" |
15 | 24 | #include "refs.h" |
| 25 | +#include "rebase.h" |
16 | 26 | #include "remote.h" |
17 | 27 | #include "trace.h" |
| 28 | +#include "repository.h" |
| 29 | +#include "revert.h" |
| 30 | +#include "stash.h" |
| 31 | +#include "status.h" |
| 32 | +#include "submodule.h" |
| 33 | +#include "worktree.h" |
18 | 34 |
|
19 | 35 | /* |
20 | 36 | * Users can avoid deprecated functions by defining `GIT_DEPRECATE_HARD`. |
@@ -316,6 +332,45 @@ typedef git_push_transfer_progress_cb git_push_transfer_progress; |
316 | 332 |
|
317 | 333 | /**@}*/ |
318 | 334 |
|
| 335 | +/** @name Deprecated Options Initialization Functions |
| 336 | + * |
| 337 | + * These functions are retained for backward compatibility. The newer |
| 338 | + * versions of these functions should be preferred in all new code. |
| 339 | + * |
| 340 | + * There is no plan to remove these backward compatibility functions at |
| 341 | + * this time. |
| 342 | + */ |
| 343 | +/**@{*/ |
| 344 | + |
| 345 | +GIT_EXTERN(int) git_blame_init_options(git_blame_options *opts, unsigned int version); |
| 346 | +GIT_EXTERN(int) git_checkout_init_options(git_checkout_options *opts, unsigned int version); |
| 347 | +GIT_EXTERN(int) git_cherrypick_init_options(git_cherrypick_options *opts, unsigned int version); |
| 348 | +GIT_EXTERN(int) git_clone_init_options(git_clone_options *opts, unsigned int version); |
| 349 | +GIT_EXTERN(int) git_describe_init_options(git_describe_options *opts, unsigned int version); |
| 350 | +GIT_EXTERN(int) git_describe_init_format_options(git_describe_format_options *opts, unsigned int version); |
| 351 | +GIT_EXTERN(int) git_diff_init_options(git_diff_options *opts, unsigned int version); |
| 352 | +GIT_EXTERN(int) git_diff_find_init_options(git_diff_find_options *opts, unsigned int version); |
| 353 | +GIT_EXTERN(int) git_diff_format_email_init_options(git_diff_format_email_options *opts, unsigned int version); |
| 354 | +GIT_EXTERN(int) git_diff_patchid_init_options(git_diff_patchid_options *opts, unsigned int version); |
| 355 | +GIT_EXTERN(int) git_fetch_init_options(git_fetch_options *opts, unsigned int version); |
| 356 | +GIT_EXTERN(int) git_indexer_init_options(git_indexer_options *opts, unsigned int version); |
| 357 | +GIT_EXTERN(int) git_merge_init_options(git_merge_options *opts, unsigned int version); |
| 358 | +GIT_EXTERN(int) git_merge_file_init_input(git_merge_file_input *input, unsigned int version); |
| 359 | +GIT_EXTERN(int) git_merge_file_init_options(git_merge_file_options *opts, unsigned int version); |
| 360 | +GIT_EXTERN(int) git_proxy_init_options(git_proxy_options *opts, unsigned int version); |
| 361 | +GIT_EXTERN(int) git_push_init_options(git_push_options *opts, unsigned int version); |
| 362 | +GIT_EXTERN(int) git_rebase_init_options(git_rebase_options *opts, unsigned int version); |
| 363 | +GIT_EXTERN(int) git_remote_create_init_options(git_remote_create_options *opts, unsigned int version); |
| 364 | +GIT_EXTERN(int) git_repository_init_init_options(git_repository_init_options *opts, unsigned int version); |
| 365 | +GIT_EXTERN(int) git_revert_init_options(git_revert_options *opts, unsigned int version); |
| 366 | +GIT_EXTERN(int) git_stash_apply_init_options(git_stash_apply_options *opts, unsigned int version); |
| 367 | +GIT_EXTERN(int) git_status_init_options(git_status_options *opts, unsigned int version); |
| 368 | +GIT_EXTERN(int) git_submodule_update_init_options(git_submodule_update_options *opts, unsigned int version); |
| 369 | +GIT_EXTERN(int) git_worktree_add_init_options(git_worktree_add_options *opts, unsigned int version); |
| 370 | +GIT_EXTERN(int) git_worktree_prune_init_options(git_worktree_prune_options *opts, unsigned int version); |
| 371 | + |
| 372 | +/**@}*/ |
| 373 | + |
319 | 374 | /** @} */ |
320 | 375 | GIT_END_DECL |
321 | 376 |
|
|
0 commit comments