From ba9610eac785025ea1ec03fa3c1221da30b9e8f9 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~stephane-gourichon-lpad" Date: Thu, 20 Jul 2017 17:47:42 +0000 Subject: [PATCH] Added a comment --- ..._dc219eec54b62803831c854a620aceae._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment 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 0000000000..2c49a613d2 --- /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. + +"""]]