jesseduffield.lazygit/pkg/commands/patch
Stefan Haller ce9fbe58b2 Toggle only added/deleted lines in patch building view
This improves the experience when selecting a hunk generously with the mouse, by
dragging over it including some context lines above and below. Previously we
would consider the "moving end" of the selection range for whether things need
to be added or removed, but this doesn't make sense if it's a context line. Now
we consider the first actual change line that is included in the range.
2025-07-04 10:14:35 +02:00
..
format.go Export PatchLine.isChange 2025-07-04 10:14:35 +02:00
hunk.go refactor patch code 2023-03-19 16:30:39 +11:00
parse.go refactor patch code 2023-03-19 16:30:39 +11:00
patch.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
patch_builder.go Toggle only added/deleted lines in patch building view 2025-07-04 10:14:35 +02:00
patch_line.go Export PatchLine.isChange 2025-07-04 10:14:35 +02:00
patch_test.go Adjust line number for working copy when editing a line 2025-01-07 17:46:51 +01:00
transform.go Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00