FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Condense output_stream description in Git.execute docstring · gitpython-developers/GitPython@ca32c22 · GitHub

Repository navigation

Commit ca32c22

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

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL