diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-05-18 12:26:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-05-18 12:26:38 -0400 |
commit | 85e78e454171812d8c8315c7d20d472b1d5ab946 (patch) | |
tree | aef81597423e70c9673ec4e6444dee00f73e551b /Logs | |
parent | 49ac40c1e90a2a32a2728e36f02a0f3baa854c8b (diff) |
nub transitionList to avoid ugly message after repeated transitions, and avoid redundant work for repeated ForgetDeadRemotes transitions
Diffstat (limited to 'Logs')
-rw-r--r-- | Logs/Transitions.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/Transitions.hs b/Logs/Transitions.hs index eb9fb433b..544004768 100644 --- a/Logs/Transitions.hs +++ b/Logs/Transitions.hs @@ -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. -} |