summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-11-06 15:52:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-11-06 15:52:32 -0400
commitc1655e8f4ba604e706bdc413004a2355708c8ec4 (patch)
tree79693a3d40b8c19574d6dddd9f827937d596f35a /doc
parentb4a3be1a91d9231ebbd1770de58235bf1830f95e (diff)
comment
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment b/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment
new file mode 100644
index 000000000..5fb2eaec6
--- /dev/null
+++ b/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2014-11-06T19:50:54Z"
+ content="""
+Yes, there's another option since git-annex version 5.20140915.
+
+annex.hardlink can be set to true, and then `git annex get` will
+simply hardlink the files into place.
+
+Note the caution about using this option:
+
+ Use with caution -- This can invalidate numcopies counting,
+ since with hard links, fewer copies of a file can exist. So, it
+ is a good idea to mark a repository using this setting as
+ untrusted.
+
+And, there's a nice easy way to set up local clone that is configured this way:
+
+ When a repository is set up using git clone --shared, git-annex
+ init will automatically set annex.hardlink and mark the reposiā€
+ tory as untrusted.
+"""]]