Skip to content

Commit

Permalink
Dedupe Remote.prototype.fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
implausible committed Mar 19, 2020
1 parent f55a66d commit 1507003
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/remote.js
Expand Up @@ -132,21 +132,6 @@ Remote.prototype.push = function(refSpecs, opts) {
*/
Remote.prototype.referenceList = Remote.prototype.referenceList;

/**
* Connects to a remote
*
* @async
* @param {Array} refSpecs The ref specs that should be pushed
* @param {FetchOptions} opts The fetch options for download, contains callbacks
* @param {String} message The message to use for the update reflog messages
* @param {Function} callback
* @return {Number} error code
*/
Remote.prototype.fetch = function(refspecs, opts, reflog_message) {
return _fetch
.call(this, refspecs, normalizeFetchOptions(opts), reflog_message);
};

/**
* Update the tips to the new state
* @param {RemoteCallbacks} callbacks The callback functions for the connection
Expand Down

0 comments on commit 1507003

Please sign in to comment.