Skip to content

Commit

Permalink
Condense output_stream description in Git.execute docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Feb 26, 2024
1 parent 37421e1 commit ca32c22
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,8 @@ def execute(
:param output_stream:
If set to a file-like object, data produced by the git command will be
output to the given stream directly.
This feature only has any effect if `as_process` is False. Processes will
always be created with a pipe due to issues with subprocess.
This merely is a workaround as data will be copied from the
output pipe to the given output stream directly.
Judging from the implementation, you shouldn't use this parameter!
copied to the given stream instead of being returned as a string.
This feature only has any effect if `as_process` is False.
:param stdout_as_string:
If False, the command's standard output will be bytes. Otherwise, it will be
Expand Down

0 comments on commit ca32c22

Please sign in to comment.