Commit 7491b3fd5d2d358c148aea0ba1db5e91b7ca9974

punkymaniac 2022-01-12T09:38:09

Set parameter name as function declaration

diff --git a/include/git2/branch.h b/include/git2/branch.h
index 071622d..d33a24f 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -34,7 +34,7 @@ GIT_BEGIN_DECL
  *
  * @param out Pointer where to store the underlying reference.
  *
- * @param repository the repository where to create the branch.
+ * @param repo the repository where to create the branch.
  *
  * @param branch_name Name for the branch; this name is
  * validated for consistency. It should also not conflict with
diff --git a/include/git2/commit.h b/include/git2/commit.h
index 29e7271..2181a7d 100644
--- a/include/git2/commit.h
+++ b/include/git2/commit.h
@@ -479,7 +479,7 @@ GIT_EXTERN(int) git_commit_create_buffer(
  * to the commit and write it into the given repository.
  *
  * @param out the resulting commit id
- * @param repository the repository where to create the commit.
+ * @param repo the repository where to create the commit.
  * @param commit_content the content of the unsigned commit object
  * @param signature the signature to add to the commit. Leave `NULL`
  * to create a commit without adding a signature field.