Open
Description
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?
Activity
Let index.commit refer to correct method for parameter information (#…
Byron commentedon Feb 3, 2022
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 cd29f07 .
gcmarx commentedon May 22, 2025
This looks like it's complete - there are no references to tree.commit in the repo in the newest version that I could find.