Comparing version 2.9.0 to 2.10.0
@@ -26,2 +26,3 @@ 'use strict'; | ||
* @property {function} rm {@link module:gulp-git/lib/rm} | ||
* @property {function} showBranch {@link module:gulp-git/lib/showBranch} | ||
* @property {function} stash {@link module:gulp-git/lib/stash} | ||
@@ -28,0 +29,0 @@ * @property {function} status {@link module:gulp-git/lib/status} |
@@ -15,3 +15,5 @@ 'use strict'; | ||
// https://git-scm.com/docs/git-diff#_raw_output_format | ||
/* eslint-disable */ | ||
var RE_DIFF_RESULT = /\:(\w+)\s+(\w+)\s+(\w+)(?:\.{3})?\s+(\w+)(?:\.{3})?\s+(\w+)(\u0000|\t|\s+)(.+?)(?:\6|\n)(?:([^:]+?)\6)?/g; | ||
/* eslint-enable */ | ||
@@ -18,0 +20,0 @@ function getReaslt(data) { |
{ | ||
"name": "gulp-git", | ||
"description": "Git plugin for gulp (gulpjs.com)", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"homepage": "http://github.com/stevelacy/gulp-git", | ||
@@ -23,7 +23,7 @@ "repository": { | ||
"devDependencies": { | ||
"eslint": "^3.17.0", | ||
"mocha": "^3.2.0", | ||
"eslint": "^6.7.2", | ||
"mocha": "^6.2.2", | ||
"mock-require": "^2.0.2", | ||
"rimraf": "^2.6.1", | ||
"should": "^11.2.0" | ||
"should": "^13.2.3" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
@@ -542,2 +542,17 @@ # gulp-git | ||
### git.showBranch(opt, cb) | ||
`git show-branch <opt>` | ||
Show branches and their commits | ||
`opt`: Object (optional) `{args: 'options'}` | ||
`cb`: function, passed err if any | ||
```js | ||
git.showBranch({'args': '--list -a'}, function (err) { | ||
//if (err) ... | ||
}); | ||
``` | ||
### git.checkout(branch, opt, cb) | ||
@@ -544,0 +559,0 @@ `git checkout <new branch name>` |
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
52383
30
956
787
26