big refactor looking a lot better now

This commit is contained in:
Peter Cottle 2013-07-28 12:12:00 -07:00
parent e422bdb181
commit 0aadae766f
12 changed files with 1539 additions and 1355 deletions

View file

@ -4,6 +4,7 @@ var util = require('../util');
var constants = require('../util/constants');
var intl = require('../intl');
var Commands = require('../commands');
var Errors = require('../util/errors');
var CommandProcessError = Errors.CommandProcessError;
var GitError = Errors.GitError;
@ -120,7 +121,7 @@ var getAllCommands = function() {
var allCommands = _.extend(
{},
require('../git/commands').regexMap,
require('../commands').getRegexMap(),
require('../level').regexMap,
regexMap
);