summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-05-02 11:43:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-05-02 11:43:30 -0400
commit913775410bb1b30116c3550c43389747c3b0cf14 (patch)
treedf908a5d9195c32ab0e9ce7435005a3c199eb1e3
parent5337c4e0c4e9f7a803a77532057a20f7c54fe28a (diff)
update
-rw-r--r--Utility/RsyncFile.hs2
-rw-r--r--doc/bugs/Error___39__get__39__ting_files_from_rsync_remote__44___versions_3.20120315_and_3.20120430.mdwn8
2 files changed, 7 insertions, 3 deletions
diff --git a/Utility/RsyncFile.hs b/Utility/RsyncFile.hs
index fae23d4ce..db9057843 100644
--- a/Utility/RsyncFile.hs
+++ b/Utility/RsyncFile.hs
@@ -58,7 +58,7 @@ rsyncUrlIsShell s
| "rsync://" `isPrefixOf` s = False
| otherwise = go s
where
- -- host:dir is rsync protocol, while host/dir is ssh/rsh
+ -- host::dir is rsync protocol, while host:dir is ssh/rsh
go [] = False
go (c:cs)
| c == '/' = False -- got to directory with no colon
diff --git a/doc/bugs/Error___39__get__39__ting_files_from_rsync_remote__44___versions_3.20120315_and_3.20120430.mdwn b/doc/bugs/Error___39__get__39__ting_files_from_rsync_remote__44___versions_3.20120315_and_3.20120430.mdwn
index ad97a82b2..c57c645a0 100644
--- a/doc/bugs/Error___39__get__39__ting_files_from_rsync_remote__44___versions_3.20120315_and_3.20120430.mdwn
+++ b/doc/bugs/Error___39__get__39__ting_files_from_rsync_remote__44___versions_3.20120315_and_3.20120430.mdwn
@@ -56,7 +56,11 @@ The rsync remote config in .git/config:
> That's because here it's using rsync over ssh, which actually requires
> that quoting. Are you using rsync
> over the rsync protocol? If so, the workaround is to explicitly make
-> the rsyncurl start with `rsync://` -- and if this is the case, I need
+> the rsyncurl start with `rsync://`
+>
+> And if this is the case, I need
> to adjust the code in git-annex that determines if it's using ssh or
-> the rsync protocol.
+> the rsync protocol. It assumes that (and this is what the rsync man
+> says AFAICS) that the rsync protocol is only used if the url starts
+> with `rsync://` or contains `::`.
> --[[Joey]]