mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
When entering staging (or patch building) for an added or deleted file, it doesn't make sense to use hunk mode, because pressing space would stage/unstage the entire file, and if the user wanted to do that, they would have pressed space in the Files panel. So always use line mode for added/deleted files by default, even if the useHunkModeInStagingView user config is on. |
||
|---|---|---|
| .. | ||
| format.go | ||
| hunk.go | ||
| parse.go | ||
| patch.go | ||
| patch_builder.go | ||
| patch_line.go | ||
| patch_test.go | ||
| transform.go | ||