Do not preserve permissions and acls when copying files from one local git repository to another. Timestamps are still preserved as long as cp --preserve=timestamps is supported.
This avoids cp -a overriding the default mode acls that the user might have set in a git repository. With GNU cp, this behavior change should not be a breaking change, because git-anex also uses rsync sometimes in the same situation, and has only ever preserved timestamps when using rsync. Systems without GNU cp will no longer use cp -a, but instead just cp. So, timestamps will no longer be preserved. Preserving timestamps when copying between repos is not guaranteed anyway. Closes: #729757
This commit is contained in:
parent
06b51f67ac
commit
6eb5c3f479
11 changed files with 28 additions and 16 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -8,6 +8,9 @@ git-annex (5.20140818) UNRELEASED; urgency=medium
|
|||
Closes: #758630
|
||||
* Fix handing of autocorrection when running outside a git repository.
|
||||
* Fix stub git-annex test support when built without tasty.
|
||||
* Do not preserve permissions and acls when copying files from
|
||||
one local git repository to another. Timestamps are still preserved
|
||||
as long as cp --preserve=timestamps is supported. Closes: #729757
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 19 Aug 2014 12:52:41 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue