-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change conflict hint depending on state of working commit.
To avoid always printing the rebase instructions to fix a conflict even when a child commit to fix the conflict already exists, implement the following: * If working commit has conflicts: * if any decendants are conflict free: "Conflict fixed in <decendant>". For this, print the short_change_hash of the first decendant without conflicts. * if no decendants are conflict free: Print the existing message we print today. * If working commit has no conflicts: * If any parent has conflicts: "Conflict in parent is resolved in working copy". Explicitly not printing the "conflicting parent" here, since a merge commit could have conflict in multiple parents. * If no parent has any conflicts: exit quietly. * Rename existing unittest * Also update Changelog here
- Loading branch information
Showing
3 changed files
with
342 additions
and
18 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
Oops, something went wrong.