Skip to content

Commit ca32c22

Browse files
committed
Condense output_stream description in Git.execute docstring
For #1845.
1 parent 37421e1 commit ca32c22

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

git/cmd.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,12 +1018,8 @@ def execute(
10181018
10191019
:param output_stream:
10201020
If set to a file-like object, data produced by the git command will be
1021-
output to the given stream directly.
1022-
This feature only has any effect if `as_process` is False. Processes will
1023-
always be created with a pipe due to issues with subprocess.
1024-
This merely is a workaround as data will be copied from the
1025-
output pipe to the given output stream directly.
1026-
Judging from the implementation, you shouldn't use this parameter!
1021+
copied to the given stream instead of being returned as a string.
1022+
This feature only has any effect if `as_process` is False.
10271023
10281024
:param stdout_as_string:
10291025
If False, the command's standard output will be bytes. Otherwise, it will be

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