Comparing version 5.0.2 to 5.1.0
@@ -62,2 +62,8 @@ /// <reference types="node" /> | ||
/** | ||
* Pass the -follow option to follow files across renames | ||
* | ||
* @default false | ||
*/ | ||
follow?: boolean; | ||
/** | ||
* The number of commits to return | ||
@@ -64,0 +70,0 @@ * |
@@ -88,2 +88,3 @@ var __assign = (this && this.__assign) || function () { | ||
includeMergeCommitFiles: false, | ||
follow: false, | ||
findCopiesHarder: false, | ||
@@ -179,2 +180,5 @@ all: false, | ||
} | ||
if (options.follow) { | ||
command.push("--follow"); | ||
} | ||
command.push("-n ".concat(options.number)); | ||
@@ -181,0 +185,0 @@ command = addOptionalArguments(command, options); |
{ | ||
"name": "gitlog", | ||
"version": "5.0.2", | ||
"version": "5.1.0", | ||
"description": "Git log parser for Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -108,2 +108,8 @@ # node-gitlog | ||
### follow | ||
Pass the --follow option to follow files across renames. | ||
This option is disabled by default. | ||
### all | ||
@@ -110,0 +116,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37989
364
250