Commit f094212
authored
There are cases for having bare clones with multiple worktrees in the
same folder to manage various versions in a workspace
Currently, however, the only supported way to do this is to have the
.git/ files such as HEAD, branches/, refs/, worktrees/, etc in the same
folder as your actual worktrees. This makes your workspace very
cluttered and is counterproductive to the structured way of multiple
worktrees
What many of us prefer is to have an "empty" bare clone with the normal
bare clone files within the .git/ folder or another folder labeled .bare
and use a .git file with a gitdir reference
This fix will allow for the worktrees view to function the same way it
would show on a `git worktree list` command
1 parent 2789e6e commit f094212
3 files changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1813 | 1813 | | |
1814 | 1814 | | |
1815 | 1815 | | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1826 | 1819 | | |
1827 | 1820 | | |
1828 | 1821 | | |
| |||
0 commit comments