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

Commitca32c22

Browse files
committed
Condense output_stream description in Git.execute docstring
For#1845.
1 parent37421e1 commitca32c22

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)

[8]ページ先頭

©2009-2026 Movatter.jp