Skip to content

Capture clone subprocess output to match rest of file - #18

Open
jamesgol wants to merge 1 commit into
capitalone:mainfrom
jamesgol:fix/clone-capture-output-strip-trace
Open

Capture clone subprocess output to match rest of file#18
jamesgol wants to merge 1 commit into
capitalone:mainfrom
jamesgol:fix/clone-capture-output-strip-trace

Conversation

@jamesgol

Copy link
Copy Markdown

Every other subprocess call in clone.py (scrub, fetch, checkout) uses capture_output=True, but the main git clone call in shallow_clone() does not, its stderr goes straight to the parent process's file descriptors. This adds capture_output=True to match the rest of the file.

Add capture_output=True to the git clone call in shallow_clone(),
consistent with every other subprocess call in the file.
@jamesgol
jamesgol requested a review from a team as a code owner July 25, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant