diff options
author | Ben Straub <bs@github.com> | 2012-10-16 20:23:10 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-19 19:36:21 -0700 |
commit | 806426565f78ff0ee0ac12e125d59658e3ef34be (patch) | |
tree | 5cf8d85837c66ff57df689be89d111dfdab94e80 /include/git2/checkout.h | |
parent | 2c8bbb27d91ec35162522079d632608fcaac2a57 (diff) | |
download | libgit2-806426565f78ff0ee0ac12e125d59658e3ef34be.tar.gz |
Convert checkout_* to use progress callback
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r-- | include/git2/checkout.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index d0190c260..9032c6b2c 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -86,22 +86,19 @@ typedef struct git_checkout_opts { * * @param repo repository to check out (must be non-bare) * @param opts specifies checkout options (may be NULL) - * @param stats structure through which progress information is reported * @return 0 on success, GIT_EORPHANEDHEAD when HEAD points to a non existing * branch, GIT_ERROR otherwise (use giterr_last for information * about the error) */ GIT_EXTERN(int) git_checkout_head( git_repository *repo, - git_checkout_opts *opts, - git_indexer_stats *stats); + git_checkout_opts *opts); /** * Updates files in the working tree to match the content of the index. * * @param repo repository to check out (must be non-bare) * @param opts specifies checkout options (may be NULL) - * @param stats structure through which progress information is reported * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information * about the error) */ @@ -117,15 +114,13 @@ GIT_EXTERN(int) git_checkout_index( * @param treeish a commit, tag or tree which content will be used to update * the working directory * @param opts specifies checkout options (may be NULL) - * @param stats structure through which progress information is reported * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information * about the error) */ GIT_EXTERN(int) git_checkout_tree( git_repository *repo, git_object *treeish, - git_checkout_opts *opts, - git_indexer_stats *stats); + git_checkout_opts *opts); /** @} */ GIT_END_DECL |