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

53 Commits

Author SHA1 Message Date
e33fe37a99 Standardise on using lo for slice functions
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.

My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).

I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
13326344f0 Support filtering files 2023-07-03 12:54:13 +10:00
a9e2c8129f Introduce filtered list view model
We're going to start supporting filtering of list views
2023-07-03 12:54:13 +10:00
e8b97c9fe2 fix could-not-access error 2022-11-11 12:30:14 +11:00
95426c5e46 handle nil properly with file nodes 2022-08-01 20:32:01 +10:00
682be18507 refactor to use generics for file nodes
use less generic names
2022-07-31 19:43:14 +10:00
7077ea428f add optimistic rendering for staging and unstaging files 2022-07-31 14:34:57 +10:00
53257db99d fix: fix diff of renamed files 2022-04-06 08:26:13 +10:00
4835fc00b8 introduce Ref interface 2022-04-02 17:04:42 +11:00
94a53484a1 would you believe that I'm adding even more generics 2022-03-24 20:14:41 +11:00
1b75ed3740 many more generics 2022-03-24 20:14:41 +11:00
eda8f4a5d4 lots more generics 2022-03-24 20:14:41 +11:00
c7a629c440 make more use of generics 2022-03-24 20:14:41 +11:00
a34bdf1a04 update linters 2022-03-19 12:12:57 +11:00
d93fef4c61 use generics to DRY up context code 2022-03-19 12:12:57 +11:00
ef7c4c9ca9 refactor custom commands
more custom command refactoring
2022-03-17 19:13:40 +11:00
b5515da00b move commit files context into new structure 2022-03-17 19:13:40 +11:00
c084abb378 move more view model logic into the files view model 2022-03-17 19:13:40 +11:00
8ea7b7a62e migrate files context to new structure 2022-03-17 19:13:40 +11:00
1dd7307fde start moving commit panel handlers into controller
more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
2022-03-17 19:13:40 +11:00
fa2e7ae1e7 show only merge conflict files when there are merge conflicts 2022-01-26 20:28:32 +11:00
c8cc18920f improve merge conflict flow 2022-01-26 14:50:47 +11:00
5b7dd9e43c properly resolve cyclic dependency 2022-01-22 10:48:51 +11:00
4ab5e54139 add support for git bisect 2022-01-22 10:48:51 +11:00
7a464ae5b7 add graph algorithm 2021-11-01 10:03:49 +11:00
711bd5a670 Lint 2021-08-25 20:13:50 +10:00
6b68f4f25d Update as per review and add tests 2021-08-25 20:13:50 +10:00
2dc6f5f079 Implement state filtering for commit files 2021-08-25 20:13:50 +10:00
46c146a8c1 fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go 2021-08-06 02:18:04 -07:00
62393cf28a more treeish files 2021-07-27 21:52:42 +10:00
fc76b44b45 correctly show files with special chars in commit 2021-07-23 12:04:23 +02:00
9e5f031553 bubble up tracked files in flat file view 2021-04-17 10:04:49 +10:00
21049be233 support file tree mode on windows 2021-04-08 21:33:17 +10:00
f89c47b83d add test for building tree 2021-04-08 21:33:17 +10:00
267da3b4db fix issue when switching repos while files refresh 2021-04-06 19:34:32 +10:00
633b6f596d WIP 2021-04-06 19:34:32 +10:00
f1d7f59e49 switching repos without restarting the gui 2021-04-06 19:34:32 +10:00
44896bcd51 safer code 2021-04-02 11:09:12 +11:00
f7772f00c4 do not jump cursor around when fixing merge conflicts 2021-04-02 11:09:12 +11:00
efe43077bc fix name 2021-04-02 11:00:15 +11:00
949c7726d1 fix bug caused by interface 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
50c169e0a3 better colouring for directories for when adding a patch 2021-04-02 11:00:15 +11:00
7364525bf5 do not show commit files of another parent as added to the patch 2021-04-02 11:00:15 +11:00
54910fdb76 refactor 2021-04-02 11:00:15 +11:00
332a3c4cbf file tree for commit files 2021-04-02 11:00:15 +11:00
ac41c41809 refactor to support commit file tree 2021-04-02 11:00:15 +11:00
3103247e8f refactor 2021-03-30 21:57:00 +11:00
b5a5169372 expand to path when switching to tree mode 2021-03-30 21:57:00 +11:00
d5639e6e95 refactor 2021-03-30 21:57:00 +11:00