mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
rename commandConfig to gitCommandConfig
This commit is contained in:
parent
1402136bb2
commit
c3e58b3063
2 changed files with 14 additions and 14 deletions
|
@ -9876,7 +9876,7 @@ var GitError = Errors.GitError;
|
||||||
var Warning = Errors.Warning;
|
var Warning = Errors.Warning;
|
||||||
var CommandResult = Errors.CommandResult;
|
var CommandResult = Errors.CommandResult;
|
||||||
|
|
||||||
var commandConfig, hgCommandConfig;
|
var gitCommandConfig, hgCommandConfig;
|
||||||
|
|
||||||
var commands = {
|
var commands = {
|
||||||
execute: function(vcs, name, engine, commandObj) {
|
execute: function(vcs, name, engine, commandObj) {
|
||||||
|
@ -9951,12 +9951,12 @@ hgCommandConfig = {
|
||||||
'-m'
|
'-m'
|
||||||
],
|
],
|
||||||
execute: function(engine, command) {
|
execute: function(engine, command) {
|
||||||
return commandConfig.commit.execute(engine, command);
|
return gitCommandConfig.commit.execute(engine, command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
gitCommandConfig = {
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
@ -10394,7 +10394,7 @@ commandConfig = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig};
|
var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig };
|
||||||
|
|
||||||
var instantCommands = [
|
var instantCommands = [
|
||||||
[/^(git help($|\s)|git$)/, function() {
|
[/^(git help($|\s)|git$)/, function() {
|
||||||
|
@ -23773,7 +23773,7 @@ var GitError = Errors.GitError;
|
||||||
var Warning = Errors.Warning;
|
var Warning = Errors.Warning;
|
||||||
var CommandResult = Errors.CommandResult;
|
var CommandResult = Errors.CommandResult;
|
||||||
|
|
||||||
var commandConfig, hgCommandConfig;
|
var gitCommandConfig, hgCommandConfig;
|
||||||
|
|
||||||
var commands = {
|
var commands = {
|
||||||
execute: function(vcs, name, engine, commandObj) {
|
execute: function(vcs, name, engine, commandObj) {
|
||||||
|
@ -23848,12 +23848,12 @@ hgCommandConfig = {
|
||||||
'-m'
|
'-m'
|
||||||
],
|
],
|
||||||
execute: function(engine, command) {
|
execute: function(engine, command) {
|
||||||
return commandConfig.commit.execute(engine, command);
|
return gitCommandConfig.commit.execute(engine, command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
gitCommandConfig = {
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
@ -24291,7 +24291,7 @@ commandConfig = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig};
|
var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig };
|
||||||
|
|
||||||
var instantCommands = [
|
var instantCommands = [
|
||||||
[/^(git help($|\s)|git$)/, function() {
|
[/^(git help($|\s)|git$)/, function() {
|
||||||
|
|
|
@ -7,7 +7,7 @@ var GitError = Errors.GitError;
|
||||||
var Warning = Errors.Warning;
|
var Warning = Errors.Warning;
|
||||||
var CommandResult = Errors.CommandResult;
|
var CommandResult = Errors.CommandResult;
|
||||||
|
|
||||||
var commandConfig, hgCommandConfig;
|
var gitCommandConfig, hgCommandConfig;
|
||||||
|
|
||||||
var commands = {
|
var commands = {
|
||||||
execute: function(vcs, name, engine, commandObj) {
|
execute: function(vcs, name, engine, commandObj) {
|
||||||
|
@ -82,12 +82,12 @@ hgCommandConfig = {
|
||||||
'-m'
|
'-m'
|
||||||
],
|
],
|
||||||
execute: function(engine, command) {
|
execute: function(engine, command) {
|
||||||
return commandConfig.commit.execute(engine, command);
|
return gitCommandConfig.commit.execute(engine, command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
gitCommandConfig = {
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
@ -525,7 +525,7 @@ commandConfig = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var commandConfigs = {'git': commandConfig, 'hg': hgCommandConfig};
|
var commandConfigs = { 'git': gitCommandConfig, 'hg': hgCommandConfig };
|
||||||
|
|
||||||
var instantCommands = [
|
var instantCommands = [
|
||||||
[/^(git help($|\s)|git$)/, function() {
|
[/^(git help($|\s)|git$)/, function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue