git-rev-sync
Advanced tools
Comparing version 1.11.0 to 1.11.1
{ | ||
"name": "git-rev-sync", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"author": "kurttheviking", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -36,6 +36,9 @@ git-rev-sync [![Build Status](https://travis-ci.org/kurttheviking/git-rev-sync-js.svg?branch=master)](https://travis-ci.org/kurttheviking/git-rev-sync-js) | ||
#### `git.short([filePath])` → <String> | ||
#### `git.short([filePath], [length])` → <String> | ||
return the result of `git rev-parse --short HEAD`; optional `filePath` parameter can be used to run the command against a repo outside the current working directory | ||
return the result of `git rev-parse --short HEAD` | ||
- optional `filePath` parameter can be used to run the command against a repo outside the current working directory | ||
- optional `length` parameter can be used to set the desired hash length (defaults to `7`) | ||
#### `git.long([filePath])` → <String> | ||
@@ -42,0 +45,0 @@ |
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
12809
85