jesseduffield.lazygit/pkg/gui/controllers
Stefan Haller dd61c49a15 Better error message for trying to squash or fixup the first commit
It's not so much the total number of commits that matters here, it's just
whether we are on the first one. (This includes the other condition.)

This allows us to get rid of the condition in rebase.go.
2023-02-20 07:40:04 +01:00
..
helpers Merge pull request #2239 from bdach/u2f-key-prompts 2022-12-20 21:44:29 +11:00
attach.go fix click handling 2022-03-17 19:13:40 +11:00
base_controller.go fix click handling 2022-03-17 19:13:40 +11:00
basic_commits_controller.go rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
bisect_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
branches_controller.go fix: fix ambiguous branch name 2022-11-14 19:05:07 +11:00
commit_message_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
commits_files_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
common.go add optimistic rendering for staging and unstaging files 2022-07-31 14:34:57 +10:00
context_lines_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
files_controller.go fix linting issue 2023-02-09 21:45:14 +11:00
files_remove_controller.go rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
git_flow_controller.go rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
global_controller.go lots more generics 2022-03-24 20:14:41 +11:00
list_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
local_commits_controller.go Better error message for trying to squash or fixup the first commit 2023-02-20 07:40:04 +01:00
menu_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
merge_conflicts_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
patch_building_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
patch_explorer_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
remote_branches_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
remotes_controller.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
snake_controller.go chore: change to work return-alt1 on all views 2023-02-11 21:19:47 +09:00
staging_controller.go Select next stageable line correctly after staging a range of lines 2023-02-15 21:29:00 +01:00
stash_controller.go chore: refactor rename stash 2022-10-16 09:30:04 +09:00
submodules_controller.go integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
switch_to_diff_files_controller.go introduce Ref interface 2022-04-02 17:04:42 +11:00
switch_to_sub_commits_controller.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
sync_controller.go rename key to Pull 2023-02-19 11:42:00 +11:00
tags_controller.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go migrate undo test 2023-02-19 15:48:09 +11:00
vertical_scroll_controller.go fix(#2309): fix diff scroll 2022-12-20 22:25:49 +09:00
workspace_reset_controller.go Make tooltip i18n-able 2022-05-15 12:16:20 +02:00