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

14 Commits

Author SHA1 Message Date
7d62f103e4 big refactor to give our enums actual types 2021-04-02 11:00:15 +11:00
682db77401 fix lint errors 2020-11-18 08:36:19 +11:00
79e59d5460 add some safe goroutines
WIP
2020-10-10 00:23:01 +11:00
ce6f8ed1bc move models folder into commands folder 2020-09-29 20:48:49 +10:00
8d2af5cc61 move file and submodule 2020-09-29 20:48:49 +10:00
077f113618 add in-built logging support for a better dev experience 2020-09-26 11:00:50 +10:00
906a49049e smart refreshing files 2020-03-28 11:59:45 +11:00
e47ad846c4 big golangci-lint cleanup 2020-03-09 12:23:13 +11:00
83a3c9fc8d handle when fsnotify doesn't work 2020-01-12 14:46:23 +11:00
c3d54f3c2e don't watch deleted files 2020-01-08 21:57:39 +11:00
c7d367a791 minor fixup 2020-01-08 21:55:52 +11:00
ba4253668d reduce to 50 2020-01-08 21:41:39 +11:00
1ce5c69cd2 improve file watching
By default, macs have 256 open files allowed by a given process.
This sucks when you end up with over 256 files modified in a repo
because after you've watched all of them, lots of other calls to
the command line will fail due to violating the limit.

Given there's no easy platform agnostic way to see what you've got
configured for how many files a process can have open, I'm going to
arbitrarily set the max to 200 and when we hit the limit we start
unwatching older files to make way for new ones.

WIP
2020-01-08 21:34:02 +11:00
f15e47bb67 add file watching for modified files
log createErrorPanel error

swallow error when adding file to watcher
2019-11-14 22:22:47 +11:00