simple-git
Advanced tools
Comparing version 1.7.0 to 1.8.0
{ | ||
"name": "simple-git", | ||
"description": "Simple GIT interface for node.js", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"author": "Steve King <steve@mydev.co>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -69,4 +69,2 @@ # Simple Git | ||
`.revparse(command, handlerFn)` where the command should be an array of string options compatible with the [git rev-parse](http://git-scm.com/docs/git-rev-parse) | ||
`.rm([fileA, ...], handlerFn)` removes any number of files from source control | ||
@@ -80,3 +78,3 @@ | ||
`.revparse([options], handlerFn)` wraps git rev-parse. Primarily used to convert friendly commit references (ie branch names) to SHA1 hashes. | ||
`.revparse([options], handlerFn)` wraps git rev-parse. Primarily used to convert friendly commit references (ie branch names) to SHA1 hashes. Options should be an array of string options compatible with the [git rev-parse](http://git-scm.com/docs/git-rev-parse) | ||
@@ -83,0 +81,0 @@ `.status(handlerFn)` gets the status of the current repo |
@@ -627,2 +627,3 @@ (function () { | ||
break; | ||
case "A": | ||
case "AM": | ||
@@ -629,0 +630,0 @@ created.push(line.join()); |
@@ -74,3 +74,3 @@ | ||
git.status(function (err, status) { | ||
test.equals(2, status.created.length, 'No new files'); | ||
test.equals(3, status.created.length, 'No new files'); | ||
test.equals(0, status.deleted.length, 'No removed files'); | ||
@@ -86,2 +86,3 @@ test.equals(2, status.modified.length, 'No modified files'); | ||
AM src/index.js \n\ | ||
A src/newfile.js \n\ | ||
AM test.js\n\ | ||
@@ -88,0 +89,0 @@ ?? test/ \n\ |
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
38999
856
161