Skip to content

fix(fold): capture git rebase --continue output instead of leaking it - #179

Open
dfaure-kdab wants to merge 2 commits into
narnaud:mainfrom
dfaure-kdab:wip/dfaure/fix-159
Open

fix(fold): capture git rebase --continue output instead of leaking it#179
dfaure-kdab wants to merge 2 commits into
narnaud:mainfrom
dfaure-kdab:wip/dfaure/fix-159

Conversation

@dfaure-kdab

Copy link
Copy Markdown
Collaborator

fix(fold): capture git rebase --continue output instead of leaking it

continue_rebase ran with inherited stdio, so git's own "Successfully
rebased" / "Updated the following refs" messages printed to the
terminal. Multi-phase folds (e.g. moving a file between commits) called
it twice, doubling the noise on top of loom's own success line. Capture
the output and route stderr to the trace, matching run_rebase.

Fixes #159

Claude-Session: https://claude.ai/code/session_01GhTVonYVZ24ZMgNZQLVyAU


test(fold): assert continue_rebase records output to trace

Regression test for #159: a paused rebase is continued and the trace log
must contain the 'rebase --continue' step, which only happens if the
command's output is captured rather than inherited.

Claude-Session: https://claude.ai/code/session_01GhTVonYVZ24ZMgNZQLVyAU

@dfaure-kdab
dfaure-kdab requested a review from narnaud as a code owner July 17, 2026 15:17
continue_rebase ran with inherited stdio, so git's own "Successfully
rebased" / "Updated the following refs" messages printed to the
terminal. Multi-phase folds (e.g. moving a file between commits) called
it twice, doubling the noise on top of loom's own success line. Capture
the output and route stderr to the trace, matching run_rebase.

Fixes narnaud#159
Regression test for narnaud#159: a paused rebase is continued and the trace log
must contain the 'rebase --continue' step, which only happens if the
command's output is captured rather than inherited.
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.

When moving files from one commit to another, I see some outputs on the console

1 participant