We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b940bd1 commit 70b259fCopy full SHA for 70b259f
src/libvcs/_internal/run.py
@@ -201,6 +201,14 @@ def progress_cb(output: t.AnyStr, timestamp: datetime.datetime) -> None:
201
sys.stdout.flush()
202
203
callback = progress_cb
204
+
205
+ # Note: When git detects that stderr is not a TTY (e.g., when piped),
206
+ # it outputs progress with newlines instead of carriage returns.
207
+ # This causes each progress update to appear on a new line.
208
+ # To get proper single-line progress updates, git would need to be
209
+ # connected to a pseudo-TTY, which would require significant changes
210
+ # to how subprocess execution is handled.
211
212
while code is None:
213
code = proc.poll()
214
0 commit comments