Commit graph

3 commits

Author SHA1 Message Date
Joey Hess
27619497ec remove file before running cp
This way, if a temp file was left behind, and permissions don't allow it
to be written, cp won't fail.
2011-01-04 22:17:18 -04:00
Joey Hess
57adb0347b hlint tweaks
Remotes.hs next, and also Backend/* and Command/*
2010-11-22 15:46:57 -04:00
Joey Hess
161823d6ea 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.
2010-11-18 13:49:01 -04:00