fix check that remote branch needs merged
This commit is contained in:
parent
79231bcff0
commit
f2b584ad74
1 changed files with 2 additions and 2 deletions
|
@ -130,8 +130,8 @@ mergeRemote :: Remote.Remote Annex -> Git.Ref -> CommandCleanup
|
|||
mergeRemote remote branch = all id <$> mapM go [branch, syncBranch branch]
|
||||
where
|
||||
go b = do
|
||||
e <- inRepo $ Git.Branch.changed branch b
|
||||
if e
|
||||
c <- inRepo $ Git.Branch.changed b (remotebranch b)
|
||||
if c
|
||||
then mergeFrom $ remotebranch b
|
||||
else return True
|
||||
remotebranch = Git.Ref.under $
|
||||
|
|
Loading…
Reference in a new issue