mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-23 20:24:45 +02:00
before prototype forum
This commit is contained in:
parent
f507ceb152
commit
e7709223c3
8 changed files with 167 additions and 124 deletions
|
@ -1,6 +1,7 @@
|
|||
var _ = require('underscore');
|
||||
var intl = require('../intl');
|
||||
|
||||
var Commands = require('../commands').commands;
|
||||
var GitCommands = require('../git/commands');
|
||||
var Errors = require('../util/errors');
|
||||
|
||||
|
@ -127,9 +128,8 @@ var commandConfig = {
|
|||
}
|
||||
if (generalArgs.length + (options['-r'] ? options['-r'].length : 0) +
|
||||
(options['-d'] ? options['-d'].length : 0) === 0) {
|
||||
throw new GitError({
|
||||
msg: 'bookmark name required'
|
||||
});
|
||||
delegate.name = 'branch';
|
||||
return delegate;
|
||||
}
|
||||
|
||||
if (options['-d']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue