Skip to content
Prev Previous commit
Next Next commit
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.
  • Loading branch information
EliahKagan committed Oct 3, 2023
commit c3fde7fb8dcd48d17ee24b78db7b0dd25d2348ab
6 changes: 3 additions & 3 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,12 +979,12 @@ def execute(
if shell is None:
shell = self.USE_SHELL
log.debug(
"Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, stdin=%s)",
"Popen(%s, cwd=%s, stdin=%s, shell=%s, universal_newlines=%s)",
redacted_command,
cwd,
universal_newlines,
shell,
istream_ok,
shell,
universal_newlines,
)
try:
with maybe_patch_caller_env:
Expand Down