Support working trees set up by git-worktree.
Support working trees set up by git-worktree, by setting up some symlinks such that git-annex links work right. Also improved support for repositories created with --separate-git-dir. At least recent git makes a .git file for those (older may have used a symlink?), so that also needs to be converted to a symlink. This commit was sponsored by Nick Piper on Patreon.
This commit is contained in:
parent
ac5680f6f5
commit
081f8e57c6
4 changed files with 81 additions and 18 deletions
|
@ -39,6 +39,10 @@ to copy files between the two repos, using space only once. This
|
|||
works, of course, only on filesystems that support hardlinks, but
|
||||
that's usually the case for filesystems that support symlinks.
|
||||
|
||||
Alternatively, `git worktree` can be used to add another worktree to a git
|
||||
repository. This way, multiple worktrees can share the same git-annex
|
||||
object store.
|
||||
|
||||
Real world cases
|
||||
----------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue