Skip to content

Commit cd29f07

Browse files
committed
Let index.commit refer to correct method for parameter information (#1407)
1 parent b3f873a commit cd29f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/index/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ def commit(self,
974974
commit_date: Union[str, None] = None,
975975
skip_hooks: bool = False) -> Commit:
976976
"""Commit the current default index file, creating a commit object.
977-
For more information on the arguments, see tree.commit.
977+
For more information on the arguments, see Commit.create_from_tree().
978978
979979
:note: If you have manually altered the .entries member of this instance,
980980
don't forget to write() your changes to disk beforehand.

0 commit comments

Comments
 (0)