GitPython icon indicating copy to clipboard operation
GitPython copied to clipboard

Referenced method in documentation doesn't appear to exist

Open gmc444-b opened this issue 3 years ago • 2 comments

The docstring for this commit method references tree.commit for documentation on the arguments, but that method doesn't appear to exist.

What would be the correct reference, or should the documentation for the arguments just be in this docstring?

gmc444-b avatar Feb 02 '22 16:02 gmc444-b

I believe to have found the name of the method it should instead refer to, Commit.create_from_tree().

I'd agree that the documentation could just be repeated, by now one could consider all of this stable enough, which is why this issue can remain open to improve on cd29f07b2efda24bdc690626ed557590289d11a6 .

Byron avatar Feb 03 '22 07:02 Byron