summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist:_use_hardlinks_for_local_clones/comment_4_e0be9631d7f017dbff5baaabbd0e2d5c._comment
blob: 69dc0a6cee04198b07a34b07d3c75fc350d78685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!comment format=mdwn
 username="joey"
 subject="""comment 4"""
 date="2015-02-04T20:03:19Z"
 content="""
No, please don't wrap your `cp`. Forcing git-annex to hard link
files like that can result in data loss, in a number of different
scenarios. And it's generally asking for a broken system.

Since version 5.20140915, you can "git clone --shared" and
this will set up a clone of a repository in which git-annex will
use hardlinks, in a safe and reliable way. (Notably it marks the clone
as untrusted.)
"""]]