summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorAndreas Linde <mail@andreaslinde.de>2013-06-24 15:33:41 +0200
committerAndreas Linde <mail@andreaslinde.de>2013-06-24 15:33:41 +0200
commite1967164574816b8bf6740ea17d08eeb26c091d2 (patch)
treeb074641f5a6680946c5e861ac630b3a5c41a1ee0 /include/git2/commit.h
parent9f1b2c5cb79526f274c0c72eed56f9da0efb0321 (diff)
downloadlibgit2-e1967164574816b8bf6740ea17d08eeb26c091d2.tar.gz
Fixed most documentation header bugs
Fixed a few header @param and @return typos with the help of -Wdocumentation in Xcode. The following warnings have not been fixed: common.h:213 - Not sure how the documentation format is for '...' notes.h:102 - Correct @param name but empty text notes.h:111 - Correct @param name but empty text pack.h:140 - @return missing text pack.h:148 - @return missing text
Diffstat (limited to 'include/git2/commit.h')
-rw-r--r--include/git2/commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/commit.h b/include/git2/commit.h
index 20b345f84..544d21d87 100644
--- a/include/git2/commit.h
+++ b/include/git2/commit.h
@@ -235,7 +235,7 @@ GIT_EXTERN(int) git_commit_nth_gen_ancestor(
*
* @param parent_count Number of parents for this commit
*
- * @param parents[] Array of `parent_count` pointers to `git_commit`
+ * @param parents Array of `parent_count` pointers to `git_commit`
* objects that will be used as the parents for this commit. This
* array may be NULL if `parent_count` is 0 (root commit). All the
* given commits must be owned by the `repo`.