You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update the `git.status` parser to account for staged deleted/modified files and staged files with subsequent
568
587
modifications meaning a status of:
569
-
-`RM old -> new` will now appear in `renamed` and `new` will also appear in `modified`
570
-
-`D file` will now appear in both `deleted` and `staged` where `D file` would only appear in `deleted`
588
+
-`RM old -> new` will now appear in `renamed` and `new` will also appear in `modified`
589
+
-`D file` will now appear in both `deleted` and `staged` where `D file` would only appear in `deleted`
571
590
572
591
## 2.26.0 Fix error when using `git.log` with callback
573
592
@@ -631,9 +650,9 @@
631
650
632
651
- adds the `TaskParser` type to describe a task's parser function and creates the `LineParser` utility to simplify line-by-line parsing of string responses.
633
652
- renames some interfaces for consistency of naming, the original name remains as a type alias marked as `@deprecated` until version 3.x:
## 2.14.0 - Bug fix: `git.checkoutBranch` fails to pass commands to git child process
639
658
@@ -669,10 +688,10 @@
669
688
giving the developer more control over which tasks should be treated as atomic chains, and which can be
670
689
[run in parallel](https://github.com/steveukx/git-js/blob/main/readme.md#concurrent--parallel-requests).
671
690
672
-
To support this, and to prevent the issues seen when `git` is run concurrently in too many child processes,
673
-
`simple-git` will limit the number of tasks running in parallel at any one time to be at most 1 from each
674
-
chain (ie: chained tasks are still run in series) and at most 5 tasks across all chains (
675
-
[configurable](https://github.com/steveukx/git-js/blob/main/readme.md#configuration) by passing `{maxConcurrentProcesses: x}` in the `simpleGit` constructor).
691
+
To support this, and to prevent the issues seen when `git` is run concurrently in too many child processes,
692
+
`simple-git` will limit the number of tasks running in parallel at any one time to be at most 1 from each
693
+
chain (ie: chained tasks are still run in series) and at most 5 tasks across all chains (
694
+
[configurable](https://github.com/steveukx/git-js/blob/main/readme.md#configuration) by passing `{maxConcurrentProcesses: x}` in the `simpleGit` constructor).
676
695
677
696
- add support to `git.status()` for parsing the response of a repo that has no commits yet, previously
678
697
it wouldn't determine the branch name correctly.
@@ -684,47 +703,52 @@
684
703
-`git.checkout` now supports both object and array forms of supplying trailing options.
- The main export from `simple-git` no longer shows the deprecation notice for using the
779
803
`.then` function, it now exposes the promise chain generated from the most recently run
780
804
task, allowing the combination of chain building and ad-hoc splitting off to a new promise chain.
781
-
- See the [unit](https://github.com/steveukx/git-js/blob/main/simple-git/test/unit/promises.spec.js) and [integration](https://github.com/steveukx/git-js/blob/main/simple-git/test/integration/promise-from-root.spec.js) tests.
782
-
- See the [typescript consumer](https://github.com/steveukx/git-js/blob/main/simple-git/test/consumer/ts-default-from-root.spec.ts) test.
805
+
- See the [unit](https://github.com/steveukx/git-js/blob/main/simple-git/test/unit/promises.spec.js) and [integration](https://github.com/steveukx/git-js/blob/main/simple-git/test/integration/promise-from-root.spec.js) tests.
806
+
- See the [typescript consumer](https://github.com/steveukx/git-js/blob/main/simple-git/test/consumer/ts-default-from-root.spec.ts) test.
0 commit comments