Skip to content

Commit 692e59e

Browse files
committed
Remove Commit._deserialize doc for param_from_rev_list
The git.objects.commit.Commit._deserialize method stopped accepting a param_from_rev_list argument in ae5a69f, but the documentation for that parameter was never removed. Because that was the only part of the method's docstring, and it is a nonpublic method, and the associated _serialize method does not have a docstring, this change simply removes the _deserialize method's docstring without adding anything.
1 parent 5af7446 commit 692e59e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

git/objects/commit.py

-4
Original file line numberDiff line numberDiff line change
@@ -688,10 +688,6 @@ def _serialize(self, stream: BytesIO) -> "Commit":
688688
return self
689689

690690
def _deserialize(self, stream: BytesIO) -> "Commit":
691-
"""
692-
:param from_rev_list: if true, the stream format is coming from the rev-list command
693-
Otherwise it is assumed to be a plain data stream from our object
694-
"""
695691
readline = stream.readline
696692
self.tree = Tree(self.repo, hex_to_bin(readline().split()[1]), Tree.tree_id << 12, "")
697693

0 commit comments

Comments
 (0)