summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-05 08:01:18 -0700
committerRussell Belfer <rb@github.com>2013-05-05 08:01:18 -0700
commit3e96e3391cdce890e9030615fdb816301534accc (patch)
treeeaeecb4f0f6e094111f38173372104805dd3fb6b /include/git2
parentdfec726bbae0e699b78db8f1b63372134c8467a6 (diff)
parent467cbec73d1c34c3f6c1e7ea66e1276e5e44299b (diff)
downloadlibgit2-3e96e3391cdce890e9030615fdb816301534accc.tar.gz
Merge pull request #1549 from nulltoken/fix/from_oids
Strict/lax commit API
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/sys/commit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/sys/commit.h b/include/git2/sys/commit.h
index 096e028c5..34a12fb15 100644
--- a/include/git2/sys/commit.h
+++ b/include/git2/sys/commit.h
@@ -25,8 +25,9 @@ GIT_BEGIN_DECL
*
* See documentation for `git_commit_create()` for information about the
* parameters, as the meaning is identical excepting that `tree` and
- * `parents` now take `git_oid`. This is a dangerous API in that the
- * `parents` list of `git_oid`s in not checked for validity.
+ * `parents` now take `git_oid`. This is a dangerous API in that nor
+ * the `tree`, neither the `parents` list of `git_oid`s are checked for
+ * validity.
*/
GIT_EXTERN(int) git_commit_create_from_oids(
git_oid *oid,