PR #195 bit of style cleanup and error handling and test for error handling

This commit is contained in:
Peter Cottle 2014-07-26 21:40:45 +08:00
parent 67413c42b6
commit 2423646199
3 changed files with 11 additions and 3 deletions

View file

@ -590,8 +590,7 @@ var commandConfig = {
interactiveTest: commandOptions['--interactive-test']
}
);
}
else {
} else {
engine.rebaseInteractive(
args[0],
args[1], {

View file

@ -2139,7 +2139,9 @@ GitEngine.prototype.rebaseInteractiveTest = function(targetSource, currentLocati
});
if (extraCommits.length > 0) {
// What to do here?
throw new GitError({
msg: intl.todo('Hey those commits dont exist in the set!')
});
}
}