From 1507003bf07026abcaf11edfbc4f4757a3e31935 Mon Sep 17 00:00:00 2001 From: Tyler Ang-Wanek Date: Thu, 19 Mar 2020 07:10:17 -0700 Subject: [PATCH] Dedupe Remote.prototype.fetch --- lib/remote.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/remote.js b/lib/remote.js index 258aaf467..6106779e3 100644 --- a/lib/remote.js +++ b/lib/remote.js @@ -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