1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-10 04:07:18 +02:00
lazygit/pkg
Stefan Haller d675eb6507 Don't allow changing the type of certain rebase todos
We already show "merge" todo entries when starting an interactive rebase with
--rebase-merges outside of lazygit. Changing the type of a merge entry to "pick"
or "edit" doesn't make sense and shouldn't be allowed. Earlier in this branch we
have started to show "update-ref" entries, these can't be changed either (they
can be moved, though).

You might argue that it should be possible to change them to "drop", but in the
case of "update-ref" this doesn't make sense either, because "drop" needs a Sha
and we don't have one here. Also, you would then be able to later change it back
to "pick", so we would have to remember that this isn't allowed for this
particular drop entry; that's messy, so just disallow all editing.
2023-04-15 08:36:03 +02:00
..
app Bump minimum required git version to 2.20 2023-02-19 10:20:14 +01:00
cheatsheet integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
commands Make moving todo commits more robust 2023-04-15 08:36:03 +02:00
common
config Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
constants
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 Don't allow changing the type of certain rebase todos 2023-04-15 08:36:03 +02:00
i18n Don't allow changing the type of certain rebase todos 2023-04-15 08:36:03 +02:00
integration Make EditRebaseTodo more robust 2023-04-15 08:36:03 +02:00
logs clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
secureexec
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 Make moving todo commits more robust 2023-04-15 08:36:03 +02:00