summaryrefslogtreecommitdiff
path: root/Remotes.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-25 01:13:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-25 01:13:01 -0400
commit836e71297b8e3b5bd6f89f7eb1198f59af985b0b (patch)
tree835db9db776b23552736422baf9794eb6a3ac5e5 /Remotes.hs
parente61b47bc8a51447f9fbde6463e09d4beef8d5a7f (diff)
Support filenames that start with a dash; when such a file is passed to a utility it will be escaped to avoid it being interpreted as an option.
Diffstat (limited to 'Remotes.hs')
-rw-r--r--Remotes.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remotes.hs b/Remotes.hs
index 15f5185b9..c7e69aad8 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -282,7 +282,7 @@ rsyncParams r sending key file = do
-- inplace makes rsync resume partial files
options = ["-p", "--progress", "--inplace"]
-- the rsync shell parameter controls where rsync
- -- does, so the source/dest parameter can be a dummy value,
+ -- goes, so the source/dest parameter can be a dummy value,
-- that just enables remote rsync mode.
dummy = ":"