mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
911aa7774b
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. |
||
---|---|---|
.. | ||
git_commands | ||
git_config | ||
hosting_service | ||
models | ||
oscommands | ||
patch | ||
testdata | ||
types/enums | ||
git_cmd_obj_builder.go | ||
git_cmd_obj_runner.go | ||
git_test.go | ||
git.go |