Really fix bug that caused the assistant to make many unncessary empty merge commits.
This commit is contained in:
parent
d76b5a674f
commit
6fe35aab87
3 changed files with 6 additions and 2 deletions
|
@ -78,8 +78,7 @@ onChange file
|
|||
changedbranch = fileToBranch file
|
||||
|
||||
mergecurrent (Just current)
|
||||
| equivBranches changedbranch current = do
|
||||
void $ liftAnnex $ autoMergeFrom changedbranch (Just current) Git.Branch.AutomaticCommit
|
||||
| equivBranches changedbranch current =
|
||||
whenM (liftAnnex $ inRepo $ Git.Branch.changed current changedbranch) $ do
|
||||
debug
|
||||
[ "merging", Git.fromRef changedbranch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue