mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 14:06:32 -04:00
PipeCommands runs a chain of commands to completion and gathers what they wrote to stderr. Rendering a diff through a renderer needs the same chain, but has to read the last command's output as it arrives, so it can't use PipeCommands as it stands. Pull out what both need: naming the chain for a log, wiring each command's output to the next one's input, and starting them all with the cleanup a failure to start requires. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>