summaryrefslogtreecommitdiff
path: root/Logs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-18 12:26:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-18 12:26:38 -0400
commit85e78e454171812d8c8315c7d20d472b1d5ab946 (patch)
treeaef81597423e70c9673ec4e6444dee00f73e551b /Logs
parent49ac40c1e90a2a32a2728e36f02a0f3baa854c8b (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.hs2
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. -}