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.
This commit is contained in:
parent
1f937ee840
commit
4e38c4f57f
3 changed files with 4 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue