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-08-07 22:40:53 +10:00
2023-04-30 13:19:52 +10:00
2023-04-30 13:19:52 +10:00
2023-05-25 23:52:19 +10:00
2023-07-29 14:44:00 +02:00
2023-07-30 18:35:24 +10:00
2023-04-30 13:19:53 +10:00
2023-04-30 13:19:53 +10:00
2023-05-25 23:52:19 +10:00
2023-07-31 11:41:55 +02:00
2023-04-30 13:19:53 +10:00
2023-05-25 23:52:19 +10:00
2023-04-30 13:19:53 +10:00
2023-07-30 18:51:23 +10:00
2023-07-26 14:27:18 +02:00
2023-06-28 18:54:21 +06:00
2023-07-31 11:41:55 +02:00
2023-07-30 18:35:22 +10:00
2023-07-03 12:54:13 +10:00
2023-05-25 23:52:19 +10:00
2023-05-25 23:52:19 +10:00
2023-05-25 23:52:19 +10:00
2023-04-30 13:19:53 +10:00
2023-07-03 12:54:13 +10:00
2023-07-31 19:42:41 -04:00
2023-07-20 21:05:52 +10:00
2023-07-31 19:42:41 -04:00
2023-07-30 18:51:23 +10:00
2023-05-25 23:52:19 +10:00
2023-07-03 12:54:13 +10:00
2023-07-30 18:35:23 +10:00
2023-07-31 11:41:55 +02:00
2023-07-10 17:12:21 +10:00
2023-07-10 17:12:21 +10:00
2023-04-30 13:19:53 +10:00
2023-07-03 12:54:13 +10:00
2023-07-03 12:54:13 +10:00
2023-04-30 13:19:53 +10:00
2023-04-30 13:19:53 +10:00
2023-06-26 08:19:58 +02:00
2023-07-31 11:41:55 +02:00
2023-07-30 18:51:23 +10:00
2023-07-31 11:41:55 +02:00
2023-07-31 11:41:55 +02:00
2023-04-30 13:19:53 +10:00
2023-07-03 12:54:14 +10:00
2023-07-31 08:34:01 +02:00
2023-07-31 11:38:52 +02:00
2023-07-22 14:36:35 +10:00
2023-07-31 11:41:55 +02:00
2022-04-02 17:04:42 +11:00
2023-07-10 15:09:17 +02:00
2023-04-30 13:19:53 +10:00
2023-08-02 08:32:57 +10:00
2023-07-30 18:35:22 +10:00
2023-07-30 18:35:24 +10:00