Pass -a to cp even when it supports --reflink=auto, to preserve permissions.

Amoung other things, this makes unlocking a WORM backed file and then
re-adding it without making any changes not add a new object, as the
timestamp is preserved.
This commit is contained in:
Joey Hess 2012-05-15 14:18:51 -04:00
parent 300d3cbdef
commit e36808e167
2 changed files with 14 additions and 7 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
git-annex (3.20120512) UNRELEASED; urgency=low
* Pass -a to cp even when it supports --reflink=auto, to preserve
permissions.
-- Joey Hess <joeyh@debian.org> Tue, 15 May 2012 14:17:49 -0400
git-annex (3.20120511) unstable; urgency=low
* Rsync special remotes can be configured with shellescape=no