summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-09-14 11:15:49 +0200
committernulltoken <emeric.fermas@gmail.com>2012-09-17 10:48:30 +0200
commit5af61863dd735887e73d98e9a8cba699276303fd (patch)
treeb3daaf4154e4accc749f622459e5dbd7c8ad5fc2 /include/git2/checkout.h
parentc214fa1caff937f20ca3a388652352cda92ce85b (diff)
downloadlibgit2-5af61863dd735887e73d98e9a8cba699276303fd.tar.gz
checkout: drop git_checkout_reference()
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r--include/git2/checkout.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index 5707de0d7..b15b56a33 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -58,22 +58,6 @@ GIT_EXTERN(int) git_checkout_head(
git_indexer_stats *stats);
/**
- * Updates files in the index and the working tree to match the content of the
- * commit pointed at by the reference.
- *
- *
- * @param ref reference to follow to a commit
- * @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_reference(
- git_reference *ref,
- git_checkout_opts *opts,
- git_indexer_stats *stats);
-
-/**
* Updates files in the working tree to match the content of the index.
*
* @param repo repository to check out (must be non-bare)