mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
whitespace warnings
This commit is contained in:
parent
7ac852dae5
commit
598f8263b3
3 changed files with 3 additions and 3 deletions
|
@ -190,7 +190,7 @@ CommandOptionParser.prototype.explodeAndSet = function() {
|
|||
var next = exploded[i + 1];
|
||||
var optionArgs = [];
|
||||
if (next && next.slice(0,1) !== '-') {
|
||||
// only store the next argument as this
|
||||
// only store the next argument as this
|
||||
// option value if its not another option
|
||||
i++;
|
||||
optionArgs = [next];
|
||||
|
|
|
@ -620,7 +620,7 @@ var commandConfig = {
|
|||
|
||||
var args = null;
|
||||
if (commandOptions['-b']) {
|
||||
// the user is really trying to just make a
|
||||
// the user is really trying to just make a
|
||||
// branch and then switch to it. so first:
|
||||
args = commandOptions['-b'].concat(generalArgs);
|
||||
command.twoArgsImpliedHead(args, '-b');
|
||||
|
|
|
@ -140,7 +140,7 @@ var commandConfig = {
|
|||
if (options['-r']) {
|
||||
// we specified a revision with -r but
|
||||
// need to flip the order
|
||||
var generalArgs = command.getGeneralArgs();
|
||||
generalArgs = command.getGeneralArgs();
|
||||
branchName = generalArgs[0];
|
||||
rev = options['-r'][0];
|
||||
delegate.name = 'branch';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue