summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chatelain <ben@octop.ad>2015-07-27 14:46:50 -0600
committerBen Chatelain <ben@octop.ad>2015-07-27 14:46:50 -0600
commit41808d04705644b8af566c9039a3ddcbb3257c99 (patch)
treebb894b0d8acfef6e13fc54551b9ba7ba3dcff060
parentabbe17ef1ffbc264101808829a3317c1c805df96 (diff)
downloadlibgit2-41808d04705644b8af566c9039a3ddcbb3257c99.tar.gz
Fix @param names in doc comments
-rw-r--r--include/git2/repository.h2
-rw-r--r--include/git2/sys/odb_backend.h2
-rw-r--r--include/git2/sys/refdb_backend.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index ce56fef0f..cf268ef85 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -745,7 +745,7 @@ GIT_EXTERN(int) git_repository_ident(const char **name, const char **email, cons
*
* @param repo the repository to configure
* @param name the name to use for the reflog entries
- * @param name the email to use for the reflog entries
+ * @param email the email to use for the reflog entries
*/
GIT_EXTERN(int) git_repository_set_ident(git_repository *repo, const char *name, const char *email);
diff --git a/include/git2/sys/odb_backend.h b/include/git2/sys/odb_backend.h
index 0a51c6dba..fe102ff3c 100644
--- a/include/git2/sys/odb_backend.h
+++ b/include/git2/sys/odb_backend.h
@@ -93,7 +93,7 @@ struct git_odb_backend {
* Initializes a `git_odb_backend` with default values. Equivalent to
* creating an instance with GIT_ODB_BACKEND_INIT.
*
- * @param opts the `git_odb_backend` struct to initialize.
+ * @param backend the `git_odb_backend` struct to initialize.
* @param version Version the struct; pass `GIT_ODB_BACKEND_VERSION`
* @return Zero on success; -1 on failure.
*/
diff --git a/include/git2/sys/refdb_backend.h b/include/git2/sys/refdb_backend.h
index d943e550f..8b004a7e0 100644
--- a/include/git2/sys/refdb_backend.h
+++ b/include/git2/sys/refdb_backend.h
@@ -175,7 +175,7 @@ struct git_refdb_backend {
* Initializes a `git_refdb_backend` with default values. Equivalent to
* creating an instance with GIT_REFDB_BACKEND_INIT.
*
- * @param opts the `git_refdb_backend` struct to initialize
+ * @param backend the `git_refdb_backend` struct to initialize
* @param version Version of struct; pass `GIT_REFDB_BACKEND_VERSION`
* @return Zero on success; -1 on failure.
*/