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

Commit8bb882e

Browse files
committed
Fix concurrency note for stream_object_data
1 parente08066c commit8bb882e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,8 +1572,8 @@ def stream_object_data(self, ref: str) -> Tuple[str, str, int, "Git.CatFileConte
15721572
(hexsha, type_string, size_as_int, stream)
15731573
15741574
:note:
1575-
This method is not threadsafe. You need one independentCommand instance per
1576-
thread to be safe!
1575+
This method is not threadsafe. You need one independent:class:`Git`
1576+
instance perthread to be safe!
15771577
"""
15781578
cmd=self._get_persistent_cmd("cat_file_all","cat_file",batch=True)
15791579
hexsha,typename,size=self.__get_object_header(cmd,ref)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp