aboutsummaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-16 13:29:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-16 13:29:54 -0400
commit693d324e2b3e7af786a17f251fa8075593064883 (patch)
tree97d44100173c97d243e137f3289cc0af8b752c83 /Command
parent760f8ab86c916f884ee4666ab7203caa8f5ec686 (diff)
Fix wording of message displayed when unable to get a file that is available in untrusted repositories.
Diffstat (limited to 'Command')
-rw-r--r--Command/Drop.hs2
-rw-r--r--Command/Get.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs
index 9460c47b4..3779b3459 100644
--- a/Command/Drop.hs
+++ b/Command/Drop.hs
@@ -156,7 +156,7 @@ notEnoughCopies key need have skip bad = do
show (length have) ++ " out of " ++ show (fromNumCopies need) ++
" necessary copies"
Remote.showTriedRemotes bad
- Remote.showLocations key (have++skip)
+ Remote.showLocations True key (have++skip)
"Rather than dropping this file, try using: git annex move"
hint
return False
diff --git a/Command/Get.hs b/Command/Get.hs
index a49c7c409..2213e32fb 100644
--- a/Command/Get.hs
+++ b/Command/Get.hs
@@ -79,7 +79,7 @@ getKeyFile' key afile dest = dispatch
( docopy r witness <||> trycopy full rs witness
, trycopy full rs witness
)
- showlocs = Remote.showLocations key []
+ showlocs = Remote.showLocations False key []
"No other repository is known to contain the file."
-- This check is to avoid an ugly message if a remote is a
-- drive that is not mounted.