diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-07 22:08:12 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-07 22:40:53 +1000 |
commit | 595e28d335c9874eb56f7de61a85586567cd8f8c (patch) | |
tree | 7eae43fd38f1888bd01c126c33f78fbc4b445cec /vendor/github.com/jesseduffield/lazycore/pkg/boxlayout | |
parent | 0551f29de99d1d9fe2640aaa71ce2adf76896f25 (diff) |
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
Diffstat (limited to 'vendor/github.com/jesseduffield/lazycore/pkg/boxlayout')
0 files changed, 0 insertions, 0 deletions