Clarify docstring for Repository.create_commit

Change the argument "reference" to "reference_name", because "reference"
might lead to the assumption that one has to pass a pygit2.Reference.
This commit is contained in:
Richard Möhn 2015-04-22 17:25:43 +09:00
parent f923e20f2d
commit b69a2f6197

@ -838,7 +838,7 @@ Repository_create_blob_fromdisk(Repository *self, PyObject *args)
PyDoc_STRVAR(Repository_create_commit__doc__,
"create_commit(reference, author, committer, message, tree, parents[, encoding]) -> Oid\n"
"create_commit(reference_name, author, committer, message, tree, parents[, encoding]) -> Oid\n"
"\n"
"Create a new commit object, return its oid.");