mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +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 next = exploded[i + 1];
|
||||||
var optionArgs = [];
|
var optionArgs = [];
|
||||||
if (next && next.slice(0,1) !== '-') {
|
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
|
// option value if its not another option
|
||||||
i++;
|
i++;
|
||||||
optionArgs = [next];
|
optionArgs = [next];
|
||||||
|
|
|
@ -620,7 +620,7 @@ var commandConfig = {
|
||||||
|
|
||||||
var args = null;
|
var args = null;
|
||||||
if (commandOptions['-b']) {
|
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:
|
// branch and then switch to it. so first:
|
||||||
args = commandOptions['-b'].concat(generalArgs);
|
args = commandOptions['-b'].concat(generalArgs);
|
||||||
command.twoArgsImpliedHead(args, '-b');
|
command.twoArgsImpliedHead(args, '-b');
|
||||||
|
|
|
@ -140,7 +140,7 @@ var commandConfig = {
|
||||||
if (options['-r']) {
|
if (options['-r']) {
|
||||||
// we specified a revision with -r but
|
// we specified a revision with -r but
|
||||||
// need to flip the order
|
// need to flip the order
|
||||||
var generalArgs = command.getGeneralArgs();
|
generalArgs = command.getGeneralArgs();
|
||||||
branchName = generalArgs[0];
|
branchName = generalArgs[0];
|
||||||
rev = options['-r'][0];
|
rev = options['-r'][0];
|
||||||
delegate.name = 'branch';
|
delegate.name = 'branch';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue