jesseduffield.lazygit/pkg
Stefan Haller 911aa7774b Don't return commits from setCommitMergedStatuses
Since the slice stores pointers to objects, and we're only modifying the objects
but not the slice itself, there's no need to return it and assign it back. This
will allow us to call the function for subslices of commits.

Also, move the condition that checks for an empty string inside the function;
we're going to call it from more than one place, so this makes it easier.
2023-08-29 08:16:40 +02:00
..
app Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Don't return commits from setCommitMergedStatuses 2023-08-29 08:16:40 +02:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Support custom keybindings for confirm discard 2023-08-25 08:50:05 -05:00
constants update release notes 2021-04-20 18:34:47 +10: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 Remove the magenta color on menu items that open a menu 2023-08-29 08:04:47 +02:00
i18n Add sections (local, global) to the keybindings menu 2023-08-29 08:04:47 +02:00
integration Add a mechanism to insert non-model items into list contexts 2023-08-29 08:04:47 +02: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 Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Make columnPositions include entries for removed columns 2023-08-28 14:21:06 +02:00