diff --git a/build/bundle.js b/build/bundle.js index ae704a14..51a893ec 100644 --- a/build/bundle.js +++ b/build/bundle.js @@ -9876,7 +9876,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var commandConfig, hgCommandConfig; +var gitCommandConfig, hgCommandConfig; var commands = { execute: function(vcs, name, engine, commandObj) { @@ -9951,12 +9951,12 @@ hgCommandConfig = { '-m' ], execute: function(engine, command) { - return commandConfig.commit.execute(engine, command); + return gitCommandConfig.commit.execute(engine, command); } - }, + } }; -commandConfig = { +gitCommandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -10394,7 +10394,7 @@ commandConfig = { } }; -var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig}; +var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig }; var instantCommands = [ [/^(git help($|\s)|git$)/, function() { @@ -23773,7 +23773,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var commandConfig, hgCommandConfig; +var gitCommandConfig, hgCommandConfig; var commands = { execute: function(vcs, name, engine, commandObj) { @@ -23848,12 +23848,12 @@ hgCommandConfig = { '-m' ], execute: function(engine, command) { - return commandConfig.commit.execute(engine, command); + return gitCommandConfig.commit.execute(engine, command); } - }, + } }; -commandConfig = { +gitCommandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -24291,7 +24291,7 @@ commandConfig = { } }; -var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig}; +var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig }; var instantCommands = [ [/^(git help($|\s)|git$)/, function() { diff --git a/src/js/git/commands.js b/src/js/git/commands.js index 21f88e79..2f3baf44 100644 --- a/src/js/git/commands.js +++ b/src/js/git/commands.js @@ -7,7 +7,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var commandConfig, hgCommandConfig; +var gitCommandConfig, hgCommandConfig; var commands = { execute: function(vcs, name, engine, commandObj) { @@ -82,12 +82,12 @@ hgCommandConfig = { '-m' ], execute: function(engine, command) { - return commandConfig.commit.execute(engine, command); + return gitCommandConfig.commit.execute(engine, command); } } }; -commandConfig = { +gitCommandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -525,7 +525,7 @@ commandConfig = { } }; -var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig}; +var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig }; var instantCommands = [ [/^(git help($|\s)|git$)/, function() {