1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00
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
..
2023-03-19 16:30:39 +11:00
2023-07-31 22:33:04 +10:00
2023-06-01 20:12:20 +10:00
2023-08-02 21:50:44 +10:00
2023-04-30 13:19:53 +10:00
2023-08-02 21:50:44 +10:00
2022-12-30 20:01:14 +09:00
2023-07-31 22:33:04 +10:00
2023-07-31 22:33:04 +10:00
2023-08-06 12:03:23 +02:00
2023-08-02 21:50:44 +10:00
2023-04-30 13:19:53 +10:00
2023-07-31 22:33:04 +10:00
2021-09-16 21:38:43 +08:00
2023-08-02 07:37:40 +10:00