Added extra flag to interactive rebase which accepts a list of commits (ordering counts). This list will then be shown to the user when the rebase dialog shows up when showing a solution that does an interactive rebase. This is so the user doesn't have to guess about what commits were picked and how they were ordered for the solution

This commit is contained in:
Patrick 2014-07-24 23:36:20 -04:00
parent 2423646199
commit 00cc6349d0
3 changed files with 71 additions and 7 deletions

View file

@ -569,6 +569,7 @@ var commandConfig = {
sc: /^gr($|\s)/,
options: [
'-i',
'--solution-ordering',
'--interactive-test',
'--aboveAll',
'-p',
@ -595,6 +596,7 @@ var commandConfig = {
args[0],
args[1], {
aboveAll: !!commandOptions['--aboveAll'],
initialCommitOrdering: commandOptions['--solution-ordering']
}
);
}