Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit692e59e

Browse files
committed
Remove Commit._deserialize doc for param_from_rev_list
The git.objects.commit.Commit._deserialize method stopped acceptinga param_from_rev_list argument inae5a69f, but the documentationfor that parameter was never removed.Because that was the only part of the method's docstring, and it isa nonpublic method, and the associated _serialize method does nothave a docstring, this change simply removes the _deserializemethod's docstring without adding anything.
1 parent5af7446 commit692e59e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎git/objects/commit.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,10 +688,6 @@ def _serialize(self, stream: BytesIO) -> "Commit":
688688
returnself
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)

[8]ページ先頭

©2009-2026 Movatter.jp