Commit deac801de98be4974cfe806eb4bc072f34f81cc5

Ben Straub 2012-07-13T15:50:23

Fix documentation comment to match actual params.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index 9dec5b9..313d52f 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -22,12 +22,9 @@
 GIT_BEGIN_DECL
 
 /**
- * Updates files in the working tree to match the version in the index
- * or HEAD.
+ * Updates files in the working tree to match the version in the index.
  *
  * @param repo repository to check out (must be non-bare)
- * @param origin_url repository to clone from
- * @param workdir_path local directory to clone to
  * @param stats pointer to structure that receives progress information (may be NULL)
  * @return 0 on success, GIT_ERROR otherwise (use git_error_last for information about the error)
  */