mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
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. |
||
|---|---|---|
| .. | ||
| format.go | ||
| hunk.go | ||
| parse.go | ||
| patch.go | ||
| patch_builder.go | ||
| patch_line.go | ||
| patch_test.go | ||
| transform.go | ||