From dd58afde765b477f70d9203f892a894830564ba7 Mon Sep 17 00:00:00 2001 From: Patrick Tully Date: Sun, 20 Jul 2014 12:29:57 -0400 Subject: [PATCH] Changed interactive rebase to rebase the target branch if specified --- src/js/git/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/git/commands.js b/src/js/git/commands.js index 8d86c40d..f5c4b431 100644 --- a/src/js/git/commands.js +++ b/src/js/git/commands.js @@ -579,7 +579,7 @@ var commandConfig = { var generalArgs = command.getGeneralArgs(); if (commandOptions['-i']) { - var args = commandOptions['-i']; + var args = commandOptions['-i'].concat(generalArgs); command.twoArgsImpliedHead(args, ' -i'); engine.rebaseInteractive( args[0],