syncNewRemote is not only used for new remotes; rename to syncRemote

This commit is contained in:
Joey Hess 2013-04-08 15:36:09 -04:00
parent 4ba729461c
commit 1f1cddbaa7
7 changed files with 11 additions and 15 deletions

View file

@ -60,7 +60,7 @@ makeXMPPGitRemote buddyname jid u = do
liftAnnex $ void remoteListRefresh
remote' <- liftAnnex $ fromMaybe (error "failed to add remote")
<$> Remote.byName (Just buddyname)
syncNewRemote remote'
syncRemote remote'
return True
{- Pushes over XMPP, communicating with a specific client.