diff options
Diffstat (limited to 'doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment')
-rw-r--r-- | doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment new file mode 100644 index 000000000..2c49a613d --- /dev/null +++ b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="https://launchpad.net/~stephane-gourichon-lpad" + nickname="stephane-gourichon-lpad" + avatar="http://cdn.libravatar.org/avatar/02d4a0af59175f9123720b4481d55a769ba954e20f6dd9b2792217d9fa0c6089" + subject="comment 1" + date="2017-07-20T17:47:42Z" + content=""" +Symbolic links point to `......./.git/annex/objects/.....` + +So, you can have them work by making your `.git/annex/objects` a link to the main repo's `.git/annex/objects`. + + cd $mylightweightclone/.git/annex + mv objects objects.empty # move away but keep, just in case + ln -s $centralrepository/.git/annex/objects + +If the lightweight clone only performs read operations, I would expect things to work fine. + +I don't know if it can be dangerous to the health of your central repository besides that, so be careful. + +"""]] |