Doc typos.

This commit is contained in:
André Cruz
2013-04-14 03:44:48 +01:00
parent 59fbc308b0
commit 83d76a0781

View File

@@ -95,7 +95,7 @@ GitRemoteResolver.prototype._resolveTarget = function () {
branches = Object.keys(heads);
errorDetails = !branches.length ?
'No branches found in "' + source + '"' :
'Available branches in "' + source + '" are ' + branches.join(', ');
'Available branches in "' + source + '" are: ' + branches.join(', ');
throw createError('Branch "' + target + '" does not exist', 'ENORESTARGET', errorDetails);
}
@@ -175,7 +175,6 @@ GitRemoteResolver._fetchHeads = function (source) {
return Q.resolve(this._heads[source]);
}
// Request heads of the source of only the specified branch
return this._fetchRefs(source)
.then(function (refs) {
this._heads = this._heads || {};