diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:46:55 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:46:55 -0400 |
commit | b928dc64041b7e3e19f7f8787cc1e38fb5b465ed (patch) | |
tree | d9411d28bb563942a2ce62698cc09e4b5cf2a021 /Logs | |
parent | 153b22df3ad7e7291178c792fcc0495ac6f4b65b (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.hs | 2 |
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 } |