rename commandConfig to gitCommandConfig

This commit is contained in:
Siddharth Agarwal 2013-07-31 01:40:12 -07:00
parent 1402136bb2
commit c3e58b3063
2 changed files with 14 additions and 14 deletions

View file

@ -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() {

View file

@ -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() {