forked from tummychow/git-absorb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to be more helpful when git-absorb does nothing or stops early
- Print "Please use --base to specify the base commit." when all the commits were "hidden" by other branches. (This makes the misbehavior described in tummychow#9 less confusing.) - Instead of noting that "merge commit found", explain what it means to the user: "Will not fix up past the merge commit". - Provide suggestions when "stack limit reached": "use --base or configure absorb.maxStack to override" - Don't honor absorb.maxStack with explicit --base - Note if the stack is empty: "No commits available to fix up, exiting" - Warn if "No additions staged, try adding something to the index." - Print "Could not find a commit to fix up, use --base to increase the search range." instead of "could not find noncommutative commit", and display this message by default (without the verbose mode)
- Loading branch information
Showing
2 changed files
with
28 additions
and
5 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