Skip to content

Commit c3fde7f

Browse files
committed
Log args in the order they are passed to Popen
This is still not including all or even most of the arguments, nor are all the logged arguments literal (nor should either of those things likely be changed). It is just to facilitate easier comparison of what is logged to the Popen call in the code.
1 parent 790a790 commit c3fde7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: git/cmd.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -979,12 +979,12 @@ def execute(
979979
if shell is None:
980980
shell = self.USE_SHELL
981981
log.debug(
982-
"Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, stdin=%s)",
982+
"Popen(%s, cwd=%s, stdin=%s, shell=%s, universal_newlines=%s)",
983983
redacted_command,
984984
cwd,
985-
universal_newlines,
986-
shell,
987985
istream_ok,
986+
shell,
987+
universal_newlines,
988988
)
989989
try:
990990
with maybe_patch_caller_env:

0 commit comments

Comments
 (0)