update
This commit is contained in:
parent
5337c4e0c4
commit
913775410b
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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]]
|
||||
|
|
Loading…
Reference in a new issue