summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://launchpad.net/~stephane-gourichon-lpad <stephane-gourichon-lpad@web>2017-07-20 17:47:42 +0000
committerGravatar admin <admin@branchable.com>2017-07-20 17:47:42 +0000
commit07f887fac44d076243c3f5f6fb6d8e6bf893fea2 (patch)
tree63143d39feb8026d8b712b5674012a90e96cc4aa
parente7763c03fa28d526a4e25ab1430b5039306a61eb (diff)
Added a comment
-rw-r--r--doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_1_dc219eec54b62803831c854a620aceae._comment20
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.
+
+"""]]