lazygit/pkg/commands
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
..
git_commands Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
git_config Use mutex on cached git config 2023-07-09 21:30:19 +10:00
hosting_service Update gitlab commit URL to match new routing 2023-05-22 07:39:47 +03:30
models Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +10:00
oscommands Log when directory is changed 2023-07-30 18:35:22 +10:00
patch Refactor interface for ApplyPatch 2023-05-20 20:54:39 +10:00
testdata
types/enums more refactoring 2022-01-04 09:07:15 +11:00
git.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00
git_test.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00