1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-27 22:38:09 +02:00
Files
lazygit/pkg
Stefan Haller 42bbe965fa Render only + and - lines as included in a patch
It is confusing to get header lines, hunk headers, or context lines rendered as
being included in a custom patch, when including these makes no difference to
the patch.

This is only a visual change; internally, we still record these non-patch lines
as being included in the patch. It doesn't matter though; you can press space on
a header line and nothing happens.

It would probably be cleaner to only record + and - lines in the includedLines
array, but that would be a bit more work, and doesn't seem worth it.
2025-07-04 10:14:35 +02:00
..
2025-03-08 14:53:54 -05:00
2025-05-06 09:43:26 +02:00
2023-02-26 12:54:13 +11:00
2025-07-03 17:04:10 +02:00
2023-07-30 19:59:51 +10:00