1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-02 23:27:32 +02:00
lazygit/pkg/gui/controllers
Stefan Haller 437daf2f74 Disable staging and unstaging lines or hunks when the diff context size is 0
Git diff and patch doesn't work reliably with a context size of 0, so disable it
in this case (and discarding changes as well). Magit does the same, see
https://github.com/magit/magit/issues/4222.

Staging entire files by pressing space in the Files panel is still possible, of
course.
2025-02-05 16:07:22 +01:00
..
2023-04-30 13:19:52 +10:00
2023-04-30 13:19:53 +10:00
2024-04-18 10:10:30 +02:00
2025-01-03 10:50:36 +11:00