jesseduffield.lazygit/pkg/commands
Stefan Haller c5acad777d Don't use hunk mode for added or deleted files
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.
2025-07-27 12:10:25 +02:00
..
git_commands Fix showing diffs for renamed file when filtering by path 2025-07-27 12:05:41 +02:00
git_config Enable errorlint linter, and fix warnings 2025-06-30 18:30:11 +02:00
hosting_service Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
models Fix showing diffs for renamed file when filtering by path 2025-07-27 12:05:41 +02:00
oscommands Remove deprecated edit configs 2025-07-08 16:32:21 +02:00
patch Don't use hunk mode for added or deleted files 2025-07-27 12:10:25 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Use WorkingTreeState instead of RebaseMode in CommitLoader 2025-04-20 15:53:17 +02:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00