map: Support remotes with /~/ and /~user/

More accurately, it was supported already when map uses git-annex-shell,
but not when it does not.

Note that the user name cannot be shell escaped using git-annex's current
approach for shell escaping. I tried and some shells like dash cannot
cd ~'joey'. Rest of directory is still shell escaped, not for security but
in case a directory has a space or other weird character.
This commit is contained in:
Joey Hess 2011-11-11 16:18:41 -04:00
parent 826d5887b2
commit 71b216d1fb
3 changed files with 14 additions and 5 deletions

View file

@ -42,3 +42,5 @@ map` works too:
ok
> [[fixed|done]] --[[Joey]]