summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-02-03 15:34:10 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2022-02-03 15:36:30 +0800
commitcd29f07b2efda24bdc690626ed557590289d11a6 (patch)
tree6c460846f41e4cbb3f49aed15a7ecf2fdf2ababf
parentb3f873a1458223c075fdde6c85eb656648bcdcae (diff)
downloadgitpython-cd29f07b2efda24bdc690626ed557590289d11a6.tar.gz
Let index.commit refer to correct method for parameter information (#1407)
-rw-r--r--git/index/base.py2
1 files changed, 1 insertions, 1 deletions
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.