1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands
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
..
git_commands Don't return commits from setCommitMergedStatuses 2023-08-29 08:16:40 +02:00
git_config Remove secureexec package 2023-07-30 19:59:51 +10:00
hosting_service Allow port in webDomain for services config values 2023-08-21 14:33:58 +03:00
models Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00
oscommands Appease linter 2023-08-02 08:32:57 +10:00
patch Stop cycling hunks when reaching the end 2023-08-15 11:40:40 +02:00
testdata
types/enums
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00
git_test.go Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
git.go Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00