Skip to content

Commit 8bb882e

Browse files
committed
Fix concurrency note for stream_object_data
1 parent e08066c commit 8bb882e

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 independent Command instance per
1576-
thread to be safe!
1575+
This method is not threadsafe. You need one independent :class:`Git`
1576+
instance per thread 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy