summaryrefslogtreecommitdiff
path: root/CopyFile.hs
Commit message (Collapse)AuthorAge
* use ShellParam typeGravatar Joey Hess2011-02-28
| | | | | So, I have a type checked safe handling of filenames starting with dashes, throughout the code.
* Support filenames that start with a dash; when such a file is passed to a ↵Gravatar Joey Hess2011-02-25
| | | | utility it will be escaped to avoid it being interpreted as an option.
* remove file before running cpGravatar Joey Hess2011-01-04
| | | | | This way, if a temp file was left behind, and permissions don't allow it to be written, cp won't fail.
* hlint tweaksGravatar Joey Hess2010-11-22
| | | | Remotes.hs next, and also Backend/* and Command/*
* Only use cp -a if it is supported, falling back to cp -p or plain cp.Gravatar Joey Hess2010-11-18
* cp --reflink=auto is used if supported, and will make git annex unlock much faster on filesystems like btrfs that support copy of write.