lazygit/pkg
Jesse Duffield 595e28d335 Support bare worktrees where worktree does not have its own .git file
This was on oversight on my part: I assumed that the --work-tree arg was
always intended for use with linked worktrees which have a .git file
pointing back to the repo.

I'm honestly confused now: seems like there are three kinds of worktrees:
* the main worktree of a non-bare repo
* a linked worktree (with its own gitdir in the repo's worktrees/ dir)
* a random folder which you specify as a worktree with the --work-tree arg

I'm pretty sure the --work-tree arg is only intended to be used with this
third kind or workree
2023-08-07 22:40:53 +10:00
..
app Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Appease linter 2023-08-02 08:32:57 +10:00
constants
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
i18n Adds EditRebaseFromBaseCommit log message to i18n 2023-07-31 19:57:14 -04:00
integration Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00