Only use cp -a if it is supported, falling back to cp -p or plain cp.
* cp --reflink=auto is used if supported, and will make git annex unlock much faster on filesystems like btrfs that support copy of write.
This commit is contained in:
parent
54513c69ba
commit
161823d6ea
7 changed files with 48 additions and 18 deletions
|
@ -3,3 +3,5 @@ The unlock command needs to copy a file, and it would be great to use this:
|
|||
|
||||
O(1) overhead on BTRFS. Needs coreutils 7.6; and remember that git-annex
|
||||
may be used on systems without coreutils..
|
||||
|
||||
[[done]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue