mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
make execute take the vcs as well
This commit is contained in:
parent
d04817f7d1
commit
7f43138665
3 changed files with 9 additions and 6 deletions
|
@ -1733,8 +1733,9 @@ GitEngine.prototype.dispatch = function(command, deferred) {
|
|||
});
|
||||
|
||||
try {
|
||||
var vcs = command.get('vcs');
|
||||
var methodName = command.get('method').replace(/-/g, '');
|
||||
GitCommands.commands.execute(methodName, this, this.command);
|
||||
GitCommands.commands.execute(vcs, methodName, this, this.command);
|
||||
} catch (err) {
|
||||
this.filterError(err);
|
||||
// short circuit animation by just setting error and returning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue