BOOM two new awesome levels before rebase 9000

This commit is contained in:
Peter Cottle 2013-07-28 18:19:15 -07:00
parent 542d68a975
commit d4d7fb21c7
11 changed files with 612 additions and 29 deletions

View file

@ -413,7 +413,8 @@ commandConfig = {
rebase: {
sc: /^gr($|\s)/,
options: [
'-i'
'-i',
'--aboveAll'
],
regex: /^git +rebase($|\s)/,
execute: function(engine, command) {
@ -423,7 +424,12 @@ commandConfig = {
if (commandOptions['-i']) {
var args = commandOptions['-i'];
command.twoArgsImpliedHead(args, ' -i');
engine.rebaseInteractive(args[0], args[1]);
engine.rebaseInteractive(
args[0],
args[1], {
aboveAll: !!commandOptions['--aboveAll']
}
);
return;
}