Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Bug 515613 - [node] Can't merge two different histories together
When a merge is attempted, a common ancestor is required as it may simply be a fast-forward or the active branch may already be up-to-date depending on what the tip commit of the other branch is. However, if the user tries to merge an unrelated history, there will not be a common ancestor between the two branches. We need to handle this case and immediately try to merge the two branches instead. Signed-off-by: Remy Suen <remy.suen@gmail.com>
- Loading branch information
Showing
2 changed files
with
236 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters