summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-09 18:54:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-09 18:54:49 -0400
commit90dd245522ccffee0e77eba3b79e32d6029977fc (patch)
tree88f243d03da2a8906b6ac30bbb688f67d5646d3e /Backend
parent2136534be156c78273f949c34a9f54cdb37b7560 (diff)
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.
Diffstat (limited to 'Backend')
-rw-r--r--Backend/File.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/File.hs b/Backend/File.hs
index bf21224a9..386af0266 100644
--- a/Backend/File.hs
+++ b/Backend/File.hs
@@ -81,7 +81,7 @@ copyKeyFile key file = do
Left _ -> return False
else return True
docopy r continue = do
- showNote $ "copying from " ++ Remote.name r ++ "..."
+ showNote $ "from " ++ Remote.name r ++ "..."
copied <- Remote.retrieveKeyFile r key file
if copied
then return True