Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions lib/remote.js
Original file line number Diff line number Diff line change
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