get --from is the same as copy --from

get not honoring --from has surprised me a few times, so least surprise
suggests it should just behave like copy --from. This leaves the difference
between get and copy being that copy always requires the remote to copy
from, while get will decide whether to get a file from a key/value store or
a remote.
This commit is contained in:
Joey Hess 2011-06-09 18:54:49 -04:00
parent 2136534be1
commit 90dd245522
8 changed files with 17 additions and 9 deletions

View file

@ -30,7 +30,7 @@ The newline is in the wrong place and confuses the user. It should be printed _a
> A related problem occurs if an error message is unexpetedly printed.
> Dummying up an example:
>
> O get test1 (copying from foo...) E git-annex: failed to run ssh
> O get test1 (from foo...) E git-annex: failed to run ssh
> failed
>
> --[[Joey]]