summaryrefslogtreecommitdiff
path: root/Remote/Git.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-22 15:23:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-22 15:23:29 -0400
commit982ffe047e8f0f32713a7bd128f4842afe6a2690 (patch)
tree0a5f13b165caca781d5cb73bfe0bee3c8bcc344b /Remote/Git.hs
parent664f736f34a914ea995862f73aad56ee87b3da6e (diff)
Avoid passing -p to rsync, to interoperate with crippled filesystems.
In general, git-annex does not try to preserve file permissions. For example, they don't round trip through special remotes. So it's ok to not preserve them for git remotes either. On crippled filesystems, rsync has been observed failing after the file was transferred because it couldn't set some permission or other.
Diffstat (limited to 'Remote/Git.hs')
-rw-r--r--Remote/Git.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index 8c8d1274c..b1b6a2938 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -427,7 +427,7 @@ rsyncParamsRemote r direction key file afile = do
-- --inplace to resume partial files
rsyncParams :: Remote -> [CommandParam]
-rsyncParams r = [Params "-p --progress --inplace"] ++
+rsyncParams r = [Params "--progress --inplace"] ++
map Param (remoteAnnexRsyncOptions $ gitconfig r)
commitOnCleanup :: Remote -> Annex a -> Annex a