mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
remove some indenting from #1104
This commit is contained in:
parent
6e88757bc4
commit
2da4d88737
1 changed files with 21 additions and 26 deletions
|
@ -932,7 +932,6 @@ var commandConfig = {
|
|||
var generalArgs = command.getGeneralArgs();
|
||||
var commandOptions = command.getOptionsMap();
|
||||
|
||||
{
|
||||
let createOption = commandOptions['-c'] ? commandOptions['-c'] : commandOptions['--create'];
|
||||
if (createOption) {
|
||||
// the user is really trying to just make a
|
||||
|
@ -945,9 +944,6 @@ var commandConfig = {
|
|||
engine.checkout(validId);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
let sfc = '-C';
|
||||
let lfc = '--force-create';
|
||||
let fcOption = commandOptions[sfc] ? commandOptions[sfc] : commandOptions[lfc];
|
||||
|
@ -960,7 +956,6 @@ var commandConfig = {
|
|||
engine.checkout(validId);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (commandOptions['-']) {
|
||||
// get the heads last location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue