summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpunkymaniac <punkymaniac@protonmail.ch>2022-01-12 09:38:09 +0100
committerpunkymaniac <punkymaniac@protonmail.ch>2022-01-12 09:40:13 +0100
commit7491b3fd5d2d358c148aea0ba1db5e91b7ca9974 (patch)
tree52fe18527a6545dbcd95d8b0661e5b2134afebc5
parent4e93ecfa7a5626496cb357c9fe6f5f16f1bcac25 (diff)
downloadlibgit2-7491b3fd5d2d358c148aea0ba1db5e91b7ca9974.tar.gz
Set parameter name as function declaration
-rw-r--r--include/git2/branch.h2
-rw-r--r--include/git2/commit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 071622d83..d33a24f72 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 29e7271ea..2181a7d7e 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.