jesseduffield.lazygit/pkg/gui
Jesse Duffield f4e552f982 prevent deadlocks.
Hard to choose between the lock with a defer unlock in an anonymous function
vs just having an explicit unlock at the end with additional unlocks before
any early returns. The former is less error prone, but the former is much more
readable, especially if the anonymous function would have needed to return
an error value.
2021-04-06 19:34:32 +10:00
..
boxlayout big refactor to give our enums actual types 2021-04-02 11:00:15 +11:00
filetree fix issue when switching repos while files refresh 2021-04-06 19:34:32 +10:00
mergeconflicts refactor 2021-04-02 11:09:12 +11:00
modes/filtering show branches context when starting in filtering mode 2021-04-06 19:34:32 +10:00
presentation better colouring for directories for when adding a patch 2021-04-02 11:00:15 +11:00
types support labels for suggestions which are distinct from values 2020-11-28 20:48:17 +11:00
app_status_manager.go more refactoring 2021-04-06 19:34:32 +10:00
arrangement.go switching repos without restarting the gui 2021-04-06 19:34:32 +10:00
branches_panel.go test 2021-04-06 19:34:32 +10:00
cherry_picking.go test 2021-04-06 19:34:32 +10:00
commit_files_panel.go more refactoring 2021-04-06 19:34:32 +10:00
commit_message_panel.go more refactoring 2021-04-06 19:34:32 +10:00
commits_panel.go test 2021-04-06 19:34:32 +10:00
confirmation_panel.go more refactoring 2021-04-06 19:34:32 +10:00
context.go prevent deadlocks. 2021-04-06 19:34:32 +10:00
credentials_panel.go more refactoring 2021-04-06 19:34:32 +10:00
custom_commands.go test 2021-04-06 19:34:32 +10:00
diffing.go allow opening diff menu panel when other popup is open 2021-04-06 19:34:32 +10:00
discard_changes_menu_panel.go big refactor to give our enums actual types 2021-04-02 11:00:15 +11:00
editors.go support alt-enter for inserting newline when typing commit message within the app 2021-04-06 19:34:32 +10:00
errors.go remove sentinel errors 2021-04-06 19:34:32 +10:00
file_watching.go big refactor to give our enums actual types 2021-04-02 11:00:15 +11:00
files_panel.go show error when user attempts to commit when no files are present 2021-04-06 19:34:32 +10:00
filtering.go refactor 2021-04-06 19:34:32 +10:00
filtering_menu_panel.go allow opening filter menu panel when other popup is open 2021-04-06 19:34:32 +10:00
git_flow.go add retry logic for running git commands to avoid index.lock problems 2021-04-06 19:34:32 +10:00
global_handlers.go more refactoring 2021-04-06 19:34:32 +10:00
gui.go remove time limit 2021-04-06 19:34:32 +10:00
gui_test.go much cleaner integration test code 2021-04-06 19:34:32 +10:00
keybindings.go change language 2021-04-06 19:34:32 +10:00
layout.go move suggestions view behind confirmation view 2021-04-06 19:34:32 +10:00
line_by_line_panel.go more lint fixes 2021-04-06 19:34:32 +10:00
list_context.go test 2021-04-06 19:34:32 +10:00
main_panels.go fix windows compilation issue 2021-04-06 19:34:32 +10:00
menu_panel.go test 2021-04-06 19:34:32 +10:00
merge_panel.go more refactoring 2021-04-06 19:34:32 +10:00
modes.go change order of filtering and patch building so that esc key exits patch building mode first 2021-04-06 19:34:32 +10:00
options_menu_panel.go get rid of these positively ghastly method signatures 2021-04-06 19:34:32 +10:00
patch_building_panel.go test 2021-04-06 19:34:32 +10:00
patch_options_panel.go refactor 2021-04-06 19:34:32 +10:00
pty.go more refactoring 2021-04-06 19:34:32 +10:00
pty_windows.go fix windows compilation issue 2021-04-06 19:34:32 +10:00
quitting.go only re-use repo state when jumping in and out of submodules 2021-04-06 19:34:32 +10:00
rebase_options_panel.go refactor 2021-04-06 19:34:32 +10:00
recent_repos_panel.go only re-use repo state when jumping in and out of submodules 2021-04-06 19:34:32 +10:00
recording.go allow decimal replay speeds for integration tests 2021-04-06 19:34:32 +10:00
reflog_panel.go test 2021-04-06 19:34:32 +10:00
remote_branches_panel.go test 2021-04-06 19:34:32 +10:00
remotes_panel.go test 2021-04-06 19:34:32 +10:00
reset_menu_panel.go refactor 2021-04-06 19:34:32 +10:00
searching.go more refactoring 2021-04-06 19:34:32 +10:00
side_window.go test 2021-04-06 19:34:32 +10:00
staging_panel.go test 2021-04-06 19:34:32 +10:00
stash_panel.go test 2021-04-06 19:34:32 +10:00
status_panel.go test 2021-04-06 19:34:32 +10:00
sub_commits_panel.go test 2021-04-06 19:34:32 +10:00
submodules_panel.go only re-use repo state when jumping in and out of submodules 2021-04-06 19:34:32 +10:00
suggestions_panel.go test 2021-04-06 19:34:32 +10:00
tags_panel.go fix bug with tags panel 2021-04-06 19:34:32 +10:00
tasks_adapter.go more refactoring 2021-04-06 19:34:32 +10:00
undoing.go get rid of these positively ghastly method signatures 2021-04-06 19:34:32 +10:00
updates.go more refactoring 2021-04-06 19:34:32 +10:00
view_helpers.go more refactoring 2021-04-06 19:34:32 +10:00
window.go more refactoring 2021-04-06 19:34:32 +10:00
workspace_reset_options_panel.go get rid of these positively ghastly method signatures 2021-04-06 19:34:32 +10:00