jesseduffield.lazygit/pkg
Stefan Haller a8586ba57e Refactor: simplify PrepareInteractiveRebaseCommand API
Instead of passing a bunch of different options in
PrepareInteractiveRebaseCommandOpts, where it was unclear how they interact if
several are set, have only a single field "instruction" which can be set to one
of various different instructions.

The functionality of replacing the entire todo file with our own is no longer
available; it is only possible to prepend todos to the existing file.

Also, instead of using different env vars for the various rebase operations that
we want to tell the daemon to do, use a single one that contains a json-encoded
struct with all available instructions. This makes the protocol much clearer,
and makes it easier to extend in the future.
2023-04-29 07:28:33 +02:00
..
app Refactor: simplify PrepareInteractiveRebaseCommand API 2023-04-29 07:28:33 +02:00
cheatsheet integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
commands Refactor: simplify PrepareInteractiveRebaseCommand API 2023-04-29 07:28:33 +02:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config Add an editor preset for kakoune (kakoune.org). 2023-04-27 13:41:54 -03:00
constants update release notes 2021-04-20 18:34:47 +10:00
env clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Implement moving commits up/down in terms of daemon 2023-04-29 07:28:33 +02:00
i18n use lowercase text for menu items (as we're still yet to standardise on 'Sentence case') 2023-04-15 17:29:31 +10:00
integration Implement "edit commit" in terms of the new EditRebase function 2023-04-29 07:28:33 +02:00
logs clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
secureexec Format code to pass lint 2021-09-16 21:38:43 +08:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks prevent unnecessary re-renders of view 2023-04-02 15:44:05 +10:00
theme Fix setting gui.selectedRangeBgColor as a hex value 2023-03-03 08:46:43 +01:00
updates pkg/updates: Fix resource availability check in Updater 2022-03-18 22:19:45 +11:00
utils Refactor: simplify PrepareInteractiveRebaseCommand API 2023-04-29 07:28:33 +02:00