From cd29f07b2efda24bdc690626ed557590289d11a6 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 3 Feb 2022 15:34:10 +0800 Subject: Let index.commit refer to correct method for parameter information (#1407) --- git/index/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/index/base.py b/git/index/base.py index 7cb77f15..209bfa8d 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -974,7 +974,7 @@ class IndexFile(LazyMixin, git_diff.Diffable, Serializable): commit_date: Union[str, None] = None, skip_hooks: bool = False) -> Commit: """Commit the current default index file, creating a commit object. - For more information on the arguments, see tree.commit. + For more information on the arguments, see Commit.create_from_tree(). :note: If you have manually altered the .entries member of this instance, don't forget to write() your changes to disk beforehand. -- cgit v1.2.1