1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00
Commit Graph

36 Commits

Author SHA1 Message Date
4d14af5d4b more lint fixes 2021-04-06 19:34:32 +10:00
c34c6926d5 fix some things up 2021-04-06 19:34:32 +10:00
4fe512ff3a test
type safe view access
2021-04-06 19:34:32 +10:00
0898a7bb57 refactor 2021-04-06 19:34:32 +10:00
bc9a99387f refactor of contexts and filtering 2021-04-06 19:34:32 +10:00
798d3e2d54 get rid of these positively ghastly method signatures 2021-04-06 19:34:32 +10:00
3ea5e4d4b2 allow scrolling when staging lines or building patch 2021-04-06 19:34:32 +10:00
7d62f103e4 big refactor to give our enums actual types 2021-04-02 11:00:15 +11:00
9e85d37fb9 refactor to no longer call these things file changes 2021-04-02 11:00:15 +11:00
332a3c4cbf file tree for commit files 2021-04-02 11:00:15 +11:00
4c9ec88be5 fix mutex deadlock 2020-10-10 00:23:01 +11:00
795e4da8b8 do not put mutexes on state else we might unlock an unlocked mutex 2020-10-10 00:23:01 +11:00
bb081ca764 more mutex safety with staging panel 2020-10-10 00:23:01 +11:00
2e05ac0c90 paging keybindings for line by line panel
support searching in line by line panel

move mutexes into their own struct

add line by line panel mutex

apply LBL panel mutex

bump gocui to prevent crashing when search item count decreases
2020-10-10 00:23:01 +11:00
4198bbae6c ensure there is always a current context 2020-08-23 14:29:18 +10:00
0dd2c869a8 minor refactor 2020-08-23 14:29:18 +10:00
628404e114 use actual keys 2020-08-23 14:29:18 +10:00
12bf851c7d faster patch manager 2020-08-23 14:29:18 +10:00
146722beb8 rename to SelectedLineIdx 2020-08-23 14:29:18 +10:00
bc410d8e4a use camelCase 2020-08-23 14:29:18 +10:00
9a2dc3fe15 stop crash due to context stack not being initialized 2020-08-23 14:29:18 +10:00
f0c3d3fc4d centralise setting of main views context 2020-08-23 14:29:18 +10:00
fd8a455aff small things
WIP
2020-08-23 14:29:18 +10:00
ed4574bda9 standardise getting selected item 2020-08-23 14:29:18 +10:00
6fb83b740b WIP 2020-08-23 14:29:18 +10:00
7f89113245 WIP 2020-08-23 14:29:18 +10:00
826d1660c9 move patch stuff into its own package 2020-08-15 11:41:37 +10:00
291a8e4de0 allow opening files on the selected line in the staging panel 2020-08-15 11:41:37 +10:00
36ac764133 fix race condition when scrolling to merge conflict 2020-05-19 18:05:14 +10:00
e47ad846c4 big golangci-lint cleanup 2020-03-09 12:23:13 +11:00
79299be3b2 better keybindings for patch building mode 2020-02-29 18:48:10 +11:00
64782a433e fix segfault on line by line panel
The state object is sometimes undefined in the onclick method of the
line by line panel. Because we set it to nil in a bunch of places,
I've decided to just change the main context to 'normal' before setting
it to nil anywhere. That way the keybindings for the line by line panel
won't get executed and we won't get a segfault.
2020-01-31 08:27:49 +11:00
7e0a8f235e add contexts to views 2019-11-21 22:07:14 +11:00
131113b065 simplify how the context system works 2019-11-10 22:32:13 +11:00
e85310c0a9 add mouse support 2019-11-10 22:32:13 +11:00
6d5d054c30 support line by line additions in staging and patch building contexts 2019-11-05 19:22:01 +11:00