sweet new fetch levle

This commit is contained in:
Peter Cottle 2013-10-26 13:21:44 -07:00
parent c522722513
commit 9760874f69
3 changed files with 126 additions and 2 deletions

View file

@ -685,7 +685,7 @@ var commandConfig = {
var refspecParts = firstArg.split(':');
source = refspecParts[0];
destination = validateBranchName(engine, refspecParts[1]);
if (source === "" && !engine.origin.refs[options.destination]) {
if (source === "" && !engine.origin.refs[destination]) {
throw new GitError({
msg: intl.todo(
'cannot delete branch ' + options.destination + ' which doesnt exist'