fix bug introduced in recent commit

This commit is contained in:
Joey Hess 2016-02-29 17:12:55 -04:00
parent 9731514c75
commit 9e6839fd3f
Failed to extract signature

View file

@ -317,7 +317,7 @@ mergeRemote remote currbranch = ifM isBareRepo
)
where
mergelisted getlist = and <$>
(mapM (merge currbranch Git.Branch.ManualCommit) =<< getlist)
(mapM (merge currbranch Git.Branch.ManualCommit . remoteBranch remote) =<< getlist)
tomerge = filterM (changed remote)
branchlist Nothing = []
branchlist (Just branch) = [branch, syncBranch branch]