Commit graph

3 commits

Author SHA1 Message Date
tmwatchanan 799deabfef
Stop treating tool errors as command log boundaries when copying git output
A non-indented error line followed by indented context matches the shape
of an action plus command, so copied git output was truncated mid-block.
Only treat the next line as a new log entry when it looks like a lazygit
command rather than any indented text.
2026-06-20 21:37:59 +07:00
tmwatchanan a2b21978c6
Keep indented stderr when copying git output from the command log
Hook and linter output often uses leading spaces for stack traces and
continuations. Those lines are visible in the log but were dropped on
copy
because every two-space-prefixed line was treated as lazygit log noise.
2026-06-20 21:37:59 +07:00
tmwatchanan 224f8e7e50
Allow copying streamed git output from the command log
Hook and push output is easy to read in lazygit but hard to reuse
elsewhere. Parse git output blocks from the command log view so copies
match what is shown, include the action and command above each block,
and avoid logging clipboard operations back into the stream.
2026-06-20 21:37:58 +07:00