1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg
Jesse Duffield 4c5b1574f1 Centralise logic for obtaining repo paths
There are quite a few paths you might want to get e.g. the repo's path, the worktree's path,
the repo's git dir path, the worktree's git dir path. I want these all obtained once and
then used when needed rather than having to have IO whenever we need them. This is not so
much about reducing time spent on IO as it is about not having to care about errors every time
we want a path.
2023-07-30 18:35:24 +10:00
..
app Change directory to worktree if given as an argument 2023-07-30 18:35:23 +10:00
cheatsheet Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00
commands Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config Support opening worktree in editor 2023-07-30 18:35:23 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
i18n Show loader when switching worktrees 2023-07-30 18:35:23 +10:00
integration Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Fix crash caused by simultaneous read/write of scanner buffer 2023-07-23 13:17:37 +10:00
theme Color view frame differently when searching/filtering 2023-07-03 12:54:14 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Fix unit tests 2023-07-30 18:35:23 +10:00