update sync branch to the orig branch when in adjusted branch
This commit is contained in:
parent
048d513233
commit
9731514c75
2 changed files with 8 additions and 7 deletions
|
@ -299,7 +299,7 @@ runPush checkcloudrepos (Pushing cid (PushRequest theiruuid)) =
|
|||
(g, u) <- liftAnnex $ (,)
|
||||
<$> gitRepo
|
||||
<*> getUUID
|
||||
liftIO $ Command.Sync.updateBranch (Command.Sync.syncBranch branch) g
|
||||
liftIO $ Command.Sync.updateBranch (Command.Sync.syncBranch branch) branch g
|
||||
selfjid <- ((T.unpack <$>) . xmppClientID) <$> getDaemonStatus
|
||||
if null rs
|
||||
then return Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue