jesseduffield.lazygit/pkg
Brandon 1fa9ea7f04 Fix discarding submodule changes in nested folders
The current rules for discarding submodule changes is that no other changed item
must be also selected. There are some bugs with the current implementation when
submodules are in folders.

For example, selecting and discarding a folder with only a nested submodule
change will currently do nothing. The submodule changes should be discarded. The
folder only contains submodule changes so it should be no different than
pressing discard on the submodule entry itself.

Also, I noticed range selecting both the folder and the submodule and then
pressing discard would be incorrectly disallowed.
2025-04-07 09:42:19 +02:00
..
app Add screen-mode command line argument 2025-01-02 16:01:48 +11:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands fix: Make tag operation use GPG helper to run signing in sub-process 2025-03-24 08:41:58 +01:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Let users to define custom icons and color for files on the config file 2025-03-25 09:48:12 +01:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix discarding submodule changes in nested folders 2025-04-07 09:42:19 +02:00
i18n feat: Implement range stash drop 2025-04-02 17:34:35 +08:00
integration feat: Implement range stash drop 2025-04-02 17:34:35 +08:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Suppress error logs when killing process on Windows 2025-02-15 14:51:35 +11:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Migrate to only doing marshalling twice, and compare via deep copy 2025-02-27 17:05:31 -05:00