This commit is contained in:
Peter Cottle 2013-12-08 10:45:27 -08:00
parent 940e7eda6b
commit 3b19e96333
2 changed files with 7 additions and 7 deletions

View file

@ -58,14 +58,8 @@ var commandConfig = {
'-r'
],
delegate: function(engine, command) {
command.acceptNoGeneralArgs();
command.prependOptionR();
var options = command.getOptionsMap();
if (!options['-r']) {
throw new GitError({
msg: intl.str('git-error-options')
});
}
command.setGeneralArgs(options['-r']);
return {
vcs: 'git',
name: 'cherrypick'