projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceda8c0
)
force verification after getting file from export remote
author
Joey Hess
<joeyh@joeyh.name>
Thu, 17 Dec 2020 19:31:22 +0000
(15:31 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 17 Dec 2020 19:31:22 +0000
(15:31 -0400)
This way, if annex.verify is disabled, it's still checked, since this is
not a key/value store, it has to be checked.
Remote/Helper/ExportImport.hs
patch
|
blob
|
history
diff --git
a/Remote/Helper/ExportImport.hs
b/Remote/Helper/ExportImport.hs
index 439c7d854d7ea6fda1eca91b36d5b9dfa3aa3cfc..84ed778a20d30f62423c817cd4d67765f1c61dfd 100644
(file)
--- a/
Remote/Helper/ExportImport.hs
+++ b/
Remote/Helper/ExportImport.hs
@@
-333,6
+333,6
@@
adjustExportImport rmt rs = do
)
(l:_) -> do
retrieveExport (exportActions r) k l dest p
- return
UnVerified
+ return
MustVerify
, giveup $ "exported content cannot be verified due to using the " ++ decodeBS (formatKeyVariety (fromKey keyVariety k)) ++ " backend"
)