syncNewRemote is not only used for new remotes; rename to syncRemote
This commit is contained in:
parent
4ba729461c
commit
1f1cddbaa7
7 changed files with 11 additions and 15 deletions
|
@ -204,9 +204,9 @@ manualPull currentbranch remotes = do
|
|||
sendNetMessage $ Pushing (getXMPPClientID r) PushRequest
|
||||
return (catMaybes failed, haddiverged)
|
||||
|
||||
{- Start syncing a newly added remote, using a background thread. -}
|
||||
syncNewRemote :: Remote -> Assistant ()
|
||||
syncNewRemote remote = do
|
||||
{- Start syncing a remote, using a background thread. -}
|
||||
syncRemote :: Remote -> Assistant ()
|
||||
syncRemote remote = do
|
||||
updateSyncRemotes
|
||||
thread <- asIO $ do
|
||||
reconnectRemotes False [remote]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue