nub transitionList to avoid ugly message after repeated transitions, and avoid redundant work for repeated ForgetDeadRemotes transitions
This commit is contained in:
parent
766728c8cf
commit
823c28d2dc
2 changed files with 4 additions and 3 deletions
|
@ -77,7 +77,7 @@ combineTransitions :: [Transitions] -> Transitions
|
|||
combineTransitions = S.unions
|
||||
|
||||
transitionList :: Transitions -> [Transition]
|
||||
transitionList = map transition . S.elems
|
||||
transitionList = nub . map transition . S.elems
|
||||
|
||||
{- Typically ran with Annex.Branch.change, but we can't import Annex.Branch
|
||||
- here since it depends on this module. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue