aboutsummaryrefslogtreecommitdiff
path: root/Logs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-12-05 13:46:55 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-12-05 13:46:55 -0400
commitb928dc64041b7e3e19f7f8787cc1e38fb5b465ed (patch)
treed9411d28bb563942a2ce62698cc09e4b5cf2a021 /Logs
parent153b22df3ad7e7291178c792fcc0495ac6f4b65b (diff)
Allow exporttree remotes to be marked as dead.
Union with max so that DeadTrusted wins over UnTrusted. This commit was sponsored by Trenton Cronholm on Patreon.
Diffstat (limited to 'Logs')
-rw-r--r--Logs/Trust.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/Trust.hs b/Logs/Trust.hs
index 54cafc9f4..e68efc895 100644
--- a/Logs/Trust.hs
+++ b/Logs/Trust.hs
@@ -72,7 +72,7 @@ trustMapLoad = do
map (\r -> (Types.Remote.uuid r, UnTrusted)) exports
logged <- trustMapRaw
let configured = M.fromList $ mapMaybe configuredtrust l
- let m = M.union exportoverrides $
+ let m = M.unionWith max exportoverrides $
M.union overrides $
M.union configured logged
Annex.changeState $ \s -> s { Annex.trustmap = Just m }