diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs index 1c8f84fcd3..16a16276f0 100644 --- a/Assistant/Sync.hs +++ b/Assistant/Sync.hs @@ -167,8 +167,10 @@ syncAction rs a failed <- a rs let failed' = filter (not . Git.repoIsLocalUnknown . Remote.repo) failed let succeeded = filter (`notElem` failed) nonxmppremotes - updateAlertMap $ mergeAlert i $ - syncResultAlert succeeded failed' + if null succeeded && null failed' + then removeAlert i + else updateAlertMap $ mergeAlert i $ + syncResultAlert succeeded failed' return failed where nonxmppremotes = filter (not . isXMPPRemote) rs diff --git a/git-annex.cabal b/git-annex.cabal index 8a36e5f4f8..f82ca8048a 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 4.20130323 +Version: 4.20130324 Cabal-Version: >= 1.8 License: GPL Maintainer: Joey Hess