assistant: Fix bug, introduced in last release, that caused the assistant to make many unncessary empty merge commits.
This commit is contained in:
parent
91688ae46e
commit
4a66cd3f91
4 changed files with 16 additions and 6 deletions
|
@ -79,11 +79,13 @@ onChange file
|
|||
|
||||
mergecurrent (Just current)
|
||||
| equivBranches changedbranch current = do
|
||||
debug
|
||||
[ "merging", Git.fromRef changedbranch
|
||||
, "into", Git.fromRef current
|
||||
]
|
||||
void $ liftAnnex $ autoMergeFrom changedbranch (Just current) Git.Branch.AutomaticCommit
|
||||
void $ liftAnnex $ autoMergeFrom changedbranch (Just current) Git.Branch.AutomaticCommit
|
||||
whenM (liftAnnex $ inRepo $ Git.Branch.changed current changedbranch) $ do
|
||||
debug
|
||||
[ "merging", Git.fromRef changedbranch
|
||||
, "into", Git.fromRef current
|
||||
]
|
||||
void $ liftAnnex $ autoMergeFrom changedbranch (Just current) Git.Branch.AutomaticCommit
|
||||
mergecurrent _ = noop
|
||||
|
||||
handleDesynced = case fromTaggedBranch changedbranch of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue