summaryrefslogtreecommitdiff
path: root/include/git2/clone.h
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-07-31 19:39:06 -0700
committerBen Straub <bstraub@github.com>2012-07-31 19:39:06 -0700
commit5280f4e6983555e9ae111a6cb10765c7635e7e12 (patch)
tree70e490f3b3dbb6a34044c83d89e9e029164954cd /include/git2/clone.h
parent78cd966aafe6617142a359c2d79a8cb46621fb77 (diff)
downloadlibgit2-5280f4e6983555e9ae111a6cb10765c7635e7e12.tar.gz
Add checkout.h to git2.h.
Also correcting some documentation strings.
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r--include/git2/clone.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h
index 73b6ea54c..f134a045c 100644
--- a/include/git2/clone.h
+++ b/include/git2/clone.h
@@ -30,7 +30,7 @@ GIT_BEGIN_DECL
* @param workdir_path local directory to clone to
* @param fetch_stats pointer to structure that receives fetch progress information (may be NULL)
* @param checkout_opts options for the checkout step (may be NULL)
- * @return 0 on success, GIT_ERROR otherwise (use git_error_last for information about the error)
+ * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information about the error)
*/
GIT_EXTERN(int) git_clone(git_repository **out,
const char *origin_url,
@@ -46,7 +46,7 @@ GIT_EXTERN(int) git_clone(git_repository **out,
* @param origin_url repository to clone from
* @param dest_path local directory to clone to
* @param fetch_stats pointer to structure that receives fetch progress information (may be NULL)
- * @return 0 on success, GIT_ERROR otherwise (use git_error_last for information about the error)
+ * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information about the error)
*/
GIT_EXTERN(int) git_clone_bare(git_repository **out,
const char *origin_url,