From 83c6cd78ede652d30865698ee84f87eea9176218 Mon Sep 17 00:00:00 2001 From: Jakub Kukul Date: Wed, 23 Jan 2019 13:57:52 +0800 Subject: [PATCH 1/2] Fix documentation reference. --- lib/repository.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repository.js b/lib/repository.js index cc726eae6..9d621d67f 100644 --- a/lib/repository.js +++ b/lib/repository.js @@ -808,7 +808,7 @@ Repository.prototype.createLightweightTag = function(oid, name, callback) { * See also `Commit.prototype.history()` * * @param {String|Oid} String sha or Oid - * @return {RevWalk} + * @return {Revwalk} */ Repository.prototype.createRevWalk = function() { return Revwalk.create(this); From 63b41757e9372c6e031bb162261a6b0116cfab1e Mon Sep 17 00:00:00 2001 From: Jakub Kukul Date: Wed, 23 Jan 2019 13:58:08 +0800 Subject: [PATCH 2/2] Remove obsolete argument from documentation. --- lib/repository.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/repository.js b/lib/repository.js index 9d621d67f..1962d894d 100644 --- a/lib/repository.js +++ b/lib/repository.js @@ -807,7 +807,6 @@ Repository.prototype.createLightweightTag = function(oid, name, callback) { * Instantiate a new revision walker for browsing the Repository"s history. * See also `Commit.prototype.history()` * - * @param {String|Oid} String sha or Oid * @return {Revwalk} */ Repository.prototype.createRevWalk = function() {