unify two similar alerts
This commit is contained in:
parent
ed1db85d88
commit
069473872f
2 changed files with 1 additions and 5 deletions
|
@ -104,7 +104,7 @@ pushToRemotes notifypushes remotes = do
|
|||
let go = pushToRemotes' now notifypushes remotes
|
||||
if null nonxmppremotes
|
||||
then go
|
||||
else alertWhile (pushAlert nonxmppremotes) go
|
||||
else alertWhile (syncAlert nonxmppremotes) go
|
||||
pushToRemotes' :: UTCTime -> Bool -> [Remote] -> Assistant Bool
|
||||
pushToRemotes' now notifypushes remotes = do
|
||||
(g, branch, u) <- liftAnnex $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue