mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
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:
parent
2423646199
commit
00cc6349d0
3 changed files with 71 additions and 7 deletions
|
@ -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']
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue