@statewalker/vcs-commands 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/add-command.d.ts +38 -0
- package/dist/commands/add-command.d.ts.map +1 -1
- package/dist/commands/am/am-command.d.ts +55 -1
- package/dist/commands/am/am-command.d.ts.map +1 -1
- package/dist/commands/am/index.d.ts +1 -0
- package/dist/commands/am/index.d.ts.map +1 -1
- package/dist/commands/am/mailsplit.d.ts +88 -0
- package/dist/commands/am/mailsplit.d.ts.map +1 -0
- package/dist/commands/apply/apply-command.d.ts.map +1 -1
- package/dist/commands/apply/apply-engine.d.ts.map +1 -1
- package/dist/commands/apply/apply-parse.d.ts.map +1 -1
- package/dist/commands/bisect/bisect-command.d.ts +2 -0
- package/dist/commands/bisect/bisect-command.d.ts.map +1 -1
- package/dist/commands/bisect/bisect-engine.d.ts.map +1 -1
- package/dist/commands/branch-command.d.ts +148 -18
- package/dist/commands/branch-command.d.ts.map +1 -1
- package/dist/commands/branch-info-command.d.ts +55 -0
- package/dist/commands/branch-info-command.d.ts.map +1 -0
- package/dist/commands/branch-tracking.d.ts +106 -17
- package/dist/commands/branch-tracking.d.ts.map +1 -1
- package/dist/commands/branch-upstream-command.d.ts +83 -0
- package/dist/commands/branch-upstream-command.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts +19 -3
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/cherry-pick-command.d.ts +59 -0
- package/dist/commands/cherry-pick-command.d.ts.map +1 -1
- package/dist/commands/clean-command.d.ts +12 -0
- package/dist/commands/clean-command.d.ts.map +1 -1
- package/dist/commands/clone-command.d.ts +17 -0
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/comment-char-config.d.ts +35 -0
- package/dist/commands/comment-char-config.d.ts.map +1 -0
- package/dist/commands/commit-command.d.ts +191 -5
- package/dist/commands/commit-command.d.ts.map +1 -1
- package/dist/commands/commit-reuse.d.ts +33 -0
- package/dist/commands/commit-reuse.d.ts.map +1 -0
- package/dist/commands/config-command.d.ts +236 -0
- package/dist/commands/config-command.d.ts.map +1 -0
- package/dist/commands/config-value-types.d.ts +91 -0
- package/dist/commands/config-value-types.d.ts.map +1 -0
- package/dist/commands/core-config.d.ts +20 -0
- package/dist/commands/core-config.d.ts.map +1 -1
- package/dist/commands/default-branch.d.ts +70 -0
- package/dist/commands/default-branch.d.ts.map +1 -0
- package/dist/commands/diff-color-config.d.ts +73 -0
- package/dist/commands/diff-color-config.d.ts.map +1 -0
- package/dist/commands/diff-command.d.ts +252 -5
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/fetch-command.d.ts +20 -0
- package/dist/commands/fetch-command.d.ts.map +1 -1
- package/dist/commands/fmt-merge-msg-command.d.ts +124 -0
- package/dist/commands/fmt-merge-msg-command.d.ts.map +1 -0
- package/dist/commands/fork-point.d.ts +38 -0
- package/dist/commands/fork-point.d.ts.map +1 -0
- package/dist/commands/format-patch-command.d.ts +41 -1
- package/dist/commands/format-patch-command.d.ts.map +1 -1
- package/dist/commands/fsck/fetch-fsck.d.ts +51 -0
- package/dist/commands/fsck/fetch-fsck.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-command.d.ts +2 -0
- package/dist/commands/fsck/fsck-command.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-loose.d.ts +3 -0
- package/dist/commands/fsck/fsck-loose.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-object-checks.d.ts +25 -14
- package/dist/commands/fsck/fsck-object-checks.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-object-table.d.ts +15 -7
- package/dist/commands/fsck/fsck-object-table.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-pack.d.ts +11 -4
- package/dist/commands/fsck/fsck-pack.d.ts.map +1 -1
- package/dist/commands/fsck/verify-pack-command.d.ts.map +1 -1
- package/dist/commands/gc-command.d.ts +80 -48
- package/dist/commands/gc-command.d.ts.map +1 -1
- package/dist/commands/git-date.d.ts +1 -65
- package/dist/commands/git-date.d.ts.map +1 -1
- package/dist/commands/git-describe.d.ts +4 -0
- package/dist/commands/git-describe.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +43 -0
- package/dist/commands/git-hooks.d.ts.map +1 -1
- package/dist/commands/grep/grep-command.d.ts +210 -0
- package/dist/commands/grep/grep-command.d.ts.map +1 -0
- package/dist/commands/grep/grep-engine.d.ts +218 -0
- package/dist/commands/grep/grep-engine.d.ts.map +1 -0
- package/dist/commands/grep/index.d.ts +3 -0
- package/dist/commands/grep/index.d.ts.map +1 -0
- package/dist/commands/index-adder.d.ts +15 -2
- package/dist/commands/index-adder.d.ts.map +1 -1
- package/dist/commands/index.d.ts +28 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +3 -3
- package/dist/commands/init-command.d.ts +50 -3
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/interpret-trailers-command.d.ts +90 -0
- package/dist/commands/interpret-trailers-command.d.ts.map +1 -0
- package/dist/commands/legacy-remotes.d.ts +55 -0
- package/dist/commands/legacy-remotes.d.ts.map +1 -0
- package/dist/commands/local-transport.d.ts +36 -5
- package/dist/commands/local-transport.d.ts.map +1 -1
- package/dist/commands/log-command.d.ts +296 -11
- package/dist/commands/log-command.d.ts.map +1 -1
- package/dist/commands/log-graph.d.ts +26 -1
- package/dist/commands/log-graph.d.ts.map +1 -1
- package/dist/commands/log-output.d.ts +133 -5
- package/dist/commands/log-output.d.ts.map +1 -1
- package/dist/commands/ls-remote-command.d.ts +2 -0
- package/dist/commands/ls-remote-command.d.ts.map +1 -1
- package/dist/commands/mailmap.d.ts +30 -0
- package/dist/commands/mailmap.d.ts.map +1 -1
- package/dist/commands/merge-base-command.d.ts +60 -0
- package/dist/commands/merge-base-command.d.ts.map +1 -0
- package/dist/commands/merge-bases.d.ts +23 -0
- package/dist/commands/merge-bases.d.ts.map +1 -1
- package/dist/commands/merge-command.d.ts +108 -9
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-support.d.ts +11 -3
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/mv-command.d.ts +4 -0
- package/dist/commands/mv-command.d.ts.map +1 -1
- package/dist/commands/name-rev.d.ts +48 -0
- package/dist/commands/name-rev.d.ts.map +1 -0
- package/dist/commands/notes-command.d.ts.map +1 -1
- package/dist/commands/notes-merge-command.d.ts.map +1 -1
- package/dist/commands/notes-tree.d.ts +11 -1
- package/dist/commands/notes-tree.d.ts.map +1 -1
- package/dist/commands/patch-id.d.ts +3 -0
- package/dist/commands/patch-id.d.ts.map +1 -1
- package/dist/commands/pathspec-file.d.ts +39 -0
- package/dist/commands/pathspec-file.d.ts.map +1 -0
- package/dist/commands/pathspec.d.ts +3 -0
- package/dist/commands/pathspec.d.ts.map +1 -1
- package/dist/commands/pretty-format.d.ts +43 -3
- package/dist/commands/pretty-format.d.ts.map +1 -1
- package/dist/commands/promisor-remote.d.ts.map +1 -1
- package/dist/commands/pull-command.d.ts +28 -0
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +160 -9
- package/dist/commands/push-command.d.ts.map +1 -1
- package/dist/commands/read-tree-command.d.ts +6 -0
- package/dist/commands/read-tree-command.d.ts.map +1 -1
- package/dist/commands/rebase-command.d.ts +168 -6
- package/dist/commands/rebase-command.d.ts.map +1 -1
- package/dist/commands/ref-filter/for-each-ref-command.d.ts +121 -0
- package/dist/commands/ref-filter/for-each-ref-command.d.ts.map +1 -0
- package/dist/commands/ref-filter/index.d.ts +8 -0
- package/dist/commands/ref-filter/index.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-atoms.d.ts +88 -0
- package/dist/commands/ref-filter/ref-atoms.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-filter.d.ts +178 -0
- package/dist/commands/ref-filter/ref-filter.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-format.d.ts +222 -0
- package/dist/commands/ref-filter/ref-format.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-listing-command.d.ts +56 -0
- package/dist/commands/ref-filter/ref-listing-command.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-quote.d.ts +20 -0
- package/dist/commands/ref-filter/ref-quote.d.ts.map +1 -0
- package/dist/commands/ref-filter/version-compare.d.ts +20 -0
- package/dist/commands/ref-filter/version-compare.d.ts.map +1 -0
- package/dist/commands/reflog-command.d.ts +120 -0
- package/dist/commands/reflog-command.d.ts.map +1 -1
- package/dist/commands/reflog-walk.d.ts +72 -0
- package/dist/commands/reflog-walk.d.ts.map +1 -0
- package/dist/commands/remote-command.d.ts +138 -29
- package/dist/commands/remote-command.d.ts.map +1 -1
- package/dist/commands/remote-transport.d.ts +7 -1
- package/dist/commands/remote-transport.d.ts.map +1 -1
- package/dist/commands/reset-command.d.ts +2 -3
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/restore-command.d.ts +2 -3
- package/dist/commands/restore-command.d.ts.map +1 -1
- package/dist/commands/rev-filter/commit-filter.d.ts +95 -0
- package/dist/commands/rev-filter/commit-filter.d.ts.map +1 -0
- package/dist/commands/rev-filter/commit-grep.d.ts +91 -0
- package/dist/commands/rev-filter/commit-grep.d.ts.map +1 -0
- package/dist/commands/rev-filter/index.d.ts +3 -0
- package/dist/commands/rev-filter/index.d.ts.map +1 -0
- package/dist/commands/rev-list-command.d.ts +154 -2
- package/dist/commands/rev-list-command.d.ts.map +1 -1
- package/dist/commands/rev-parse-command.d.ts +9 -0
- package/dist/commands/rev-parse-command.d.ts.map +1 -1
- package/dist/commands/revert-command.d.ts +32 -0
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-range.d.ts +32 -1
- package/dist/commands/revision-range.d.ts.map +1 -1
- package/dist/commands/revision-resolver.d.ts +21 -2
- package/dist/commands/revision-resolver.d.ts.map +1 -1
- package/dist/commands/rm-command.d.ts +70 -2
- package/dist/commands/rm-command.d.ts.map +1 -1
- package/dist/commands/sequencer-pick.d.ts +85 -5
- package/dist/commands/sequencer-pick.d.ts.map +1 -1
- package/dist/commands/sequencer-support.d.ts +2 -0
- package/dist/commands/sequencer-support.d.ts.map +1 -1
- package/dist/commands/serve-repository.d.ts +7 -0
- package/dist/commands/serve-repository.d.ts.map +1 -1
- package/dist/commands/show-command.d.ts +130 -0
- package/dist/commands/show-command.d.ts.map +1 -0
- package/dist/commands/show-commit.d.ts +11 -0
- package/dist/commands/show-commit.d.ts.map +1 -0
- package/dist/commands/signature-check.d.ts +164 -0
- package/dist/commands/signature-check.d.ts.map +1 -0
- package/dist/commands/signing.d.ts +160 -0
- package/dist/commands/signing.d.ts.map +1 -0
- package/dist/commands/sparse-checkout-command.d.ts.map +1 -1
- package/dist/commands/sparse-index-view.d.ts +45 -0
- package/dist/commands/sparse-index-view.d.ts.map +1 -0
- package/dist/commands/ssh-signer.d.ts +29 -0
- package/dist/commands/ssh-signer.d.ts.map +1 -0
- package/dist/commands/ssh-verifier.d.ts +42 -0
- package/dist/commands/ssh-verifier.d.ts.map +1 -0
- package/dist/commands/stash-apply-command.d.ts +5 -0
- package/dist/commands/stash-apply-command.d.ts.map +1 -1
- package/dist/commands/stash-branch-command.d.ts +34 -0
- package/dist/commands/stash-branch-command.d.ts.map +1 -0
- package/dist/commands/stash-create-command.d.ts +18 -1
- package/dist/commands/stash-create-command.d.ts.map +1 -1
- package/dist/commands/stash-info.d.ts +93 -0
- package/dist/commands/stash-info.d.ts.map +1 -0
- package/dist/commands/stash-list-command.d.ts +16 -0
- package/dist/commands/stash-list-command.d.ts.map +1 -1
- package/dist/commands/stash-pop-command.d.ts +39 -0
- package/dist/commands/stash-pop-command.d.ts.map +1 -0
- package/dist/commands/stash-show-command.d.ts +48 -0
- package/dist/commands/stash-show-command.d.ts.map +1 -0
- package/dist/commands/stash-store-command.d.ts +29 -0
- package/dist/commands/stash-store-command.d.ts.map +1 -0
- package/dist/commands/stash-working-tree.d.ts.map +1 -1
- package/dist/commands/status-command.d.ts.map +1 -1
- package/dist/commands/status-header.d.ts +5 -0
- package/dist/commands/status-header.d.ts.map +1 -1
- package/dist/commands/submodule-add-command.d.ts +89 -0
- package/dist/commands/submodule-add-command.d.ts.map +1 -0
- package/dist/commands/submodule-auth.d.ts +90 -0
- package/dist/commands/submodule-auth.d.ts.map +1 -0
- package/dist/commands/submodule-commands.d.ts +375 -0
- package/dist/commands/submodule-commands.d.ts.map +1 -0
- package/dist/commands/submodule-model.d.ts +288 -0
- package/dist/commands/submodule-model.d.ts.map +1 -0
- package/dist/commands/submodule-summary-command.d.ts.map +1 -1
- package/dist/commands/submodule-update-command.d.ts +198 -0
- package/dist/commands/submodule-update-command.d.ts.map +1 -0
- package/dist/commands/switch-command.d.ts.map +1 -1
- package/dist/commands/tag-command.d.ts +259 -10
- package/dist/commands/tag-command.d.ts.map +1 -1
- package/dist/commands/trailers.d.ts +218 -17
- package/dist/commands/trailers.d.ts.map +1 -1
- package/dist/commands/tree-restore.d.ts +7 -0
- package/dist/commands/tree-restore.d.ts.map +1 -1
- package/dist/commands/untracked-cache-support.d.ts +2 -1
- package/dist/commands/untracked-cache-support.d.ts.map +1 -1
- package/dist/commands/verify-command.d.ts +92 -0
- package/dist/commands/verify-command.d.ts.map +1 -0
- package/dist/commands/worktree-add-command.d.ts +79 -7
- package/dist/commands/worktree-add-command.d.ts.map +1 -1
- package/dist/commands/worktree-list-command.d.ts.map +1 -1
- package/dist/commands/worktree-path-rules.d.ts +66 -0
- package/dist/commands/worktree-path-rules.d.ts.map +1 -0
- package/dist/commands/worktree-remove-command.d.ts +10 -3
- package/dist/commands/worktree-remove-command.d.ts.map +1 -1
- package/dist/commands/worktree-repair-command.d.ts +15 -2
- package/dist/commands/worktree-repair-command.d.ts.map +1 -1
- package/dist/commands/worktree-support.d.ts +5 -0
- package/dist/commands/worktree-support.d.ts.map +1 -1
- package/dist/{commands-DnmlfwGV.js → commands-ISM52N0n.js} +66120 -49271
- package/dist/errors/checkout-errors.d.ts +19 -0
- package/dist/errors/checkout-errors.d.ts.map +1 -1
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/index.js +57 -3
- package/dist/errors/ref-errors.d.ts +19 -0
- package/dist/errors/ref-errors.d.ts.map +1 -1
- package/dist/errors/worktree-errors.d.ts +6 -1
- package/dist/errors/worktree-errors.d.ts.map +1 -1
- package/dist/{git-command-DxvwPrPB.js → fsck-DLRpbwTj.js} +6863 -1070
- package/dist/git-command.d.ts +43 -2
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +276 -3
- package/dist/git.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/remote-config/index.d.ts +1 -1
- package/dist/remote-config/index.d.ts.map +1 -1
- package/dist/remote-config/remote-config-store.d.ts +117 -3
- package/dist/remote-config/remote-config-store.d.ts.map +1 -1
- package/dist/rename/detect-renames.d.ts.map +1 -1
- package/dist/results/clone-result.d.ts +8 -0
- package/dist/results/clone-result.d.ts.map +1 -1
- package/dist/results/combined-diff.d.ts +3 -0
- package/dist/results/combined-diff.d.ts.map +1 -1
- package/dist/results/diff-check.d.ts +38 -0
- package/dist/results/diff-check.d.ts.map +1 -0
- package/dist/results/diff-color.d.ts +135 -0
- package/dist/results/diff-color.d.ts.map +1 -0
- package/dist/results/diff-output.d.ts +85 -1
- package/dist/results/diff-output.d.ts.map +1 -1
- package/dist/results/diff-pickaxe.d.ts +67 -0
- package/dist/results/diff-pickaxe.d.ts.map +1 -0
- package/dist/results/diff-words.d.ts +55 -0
- package/dist/results/diff-words.d.ts.map +1 -0
- package/dist/results/index.d.ts +4 -0
- package/dist/results/index.d.ts.map +1 -1
- package/dist/results/index.js +2 -2
- package/dist/results/init-result.d.ts +7 -0
- package/dist/results/init-result.d.ts.map +1 -1
- package/dist/results/pull-result.d.ts +5 -0
- package/dist/results/pull-result.d.ts.map +1 -1
- package/dist/results/push-result.d.ts +12 -0
- package/dist/results/push-result.d.ts.map +1 -1
- package/dist/results/rebase-result.d.ts +2 -0
- package/dist/results/rebase-result.d.ts.map +1 -1
- package/dist/results/stash-result.d.ts +6 -0
- package/dist/results/stash-result.d.ts.map +1 -1
- package/dist/results/status-result.d.ts.map +1 -1
- package/dist/{results-BZGa2Z3I.js → results-TB2IJ64h.js} +2178 -412
- package/dist/whitespace/index.d.ts +2 -0
- package/dist/whitespace/index.d.ts.map +1 -0
- package/dist/whitespace/whitespace-rule.d.ts +94 -0
- package/dist/whitespace/whitespace-rule.d.ts.map +1 -0
- package/package.json +12 -12
- package/src/commands/add-command.ts +178 -17
- package/src/commands/add-patch/add-interactive.ts +3 -3
- package/src/commands/am/am-command.ts +263 -43
- package/src/commands/am/index.ts +1 -0
- package/src/commands/am/mailsplit.ts +326 -0
- package/src/commands/apply/apply-command.ts +18 -8
- package/src/commands/apply/apply-engine.ts +6 -7
- package/src/commands/apply/apply-parse.ts +10 -10
- package/src/commands/attributes-source.ts +1 -1
- package/src/commands/bisect/bisect-command.ts +18 -5
- package/src/commands/bisect/bisect-engine.ts +2 -1
- package/src/commands/branch-command.ts +528 -53
- package/src/commands/branch-info-command.ts +150 -0
- package/src/commands/branch-tracking.ts +335 -60
- package/src/commands/branch-upstream-command.ts +218 -0
- package/src/commands/checkout-command.ts +70 -44
- package/src/commands/cherry-pick-command.ts +143 -0
- package/src/commands/clean-command.ts +34 -3
- package/src/commands/clone-command.ts +118 -5
- package/src/commands/comment-char-config.ts +160 -0
- package/src/commands/commit-command.ts +790 -71
- package/src/commands/commit-reuse.ts +94 -0
- package/src/commands/config-command.ts +1256 -0
- package/src/commands/config-value-types.ts +358 -0
- package/src/commands/core-config.ts +47 -2
- package/src/commands/default-branch.ts +196 -0
- package/src/commands/diff-color-config.ts +274 -0
- package/src/commands/diff-command.ts +1053 -75
- package/src/commands/fetch-command.ts +161 -13
- package/src/commands/fmt-merge-msg-command.ts +715 -0
- package/src/commands/fork-point.ts +63 -0
- package/src/commands/format-patch-command.ts +316 -43
- package/src/commands/fsck/fetch-fsck.ts +172 -18
- package/src/commands/fsck/fsck-command.ts +183 -66
- package/src/commands/fsck/fsck-loose.ts +14 -4
- package/src/commands/fsck/fsck-object-checks.ts +87 -46
- package/src/commands/fsck/fsck-object-table.ts +52 -42
- package/src/commands/fsck/fsck-pack.ts +64 -34
- package/src/commands/fsck/verify-pack-command.ts +5 -2
- package/src/commands/gc-command.ts +238 -107
- package/src/commands/git-date.ts +9 -895
- package/src/commands/git-describe.ts +31 -11
- package/src/commands/git-hooks.ts +92 -0
- package/src/commands/grep/grep-command.ts +1077 -0
- package/src/commands/grep/grep-engine.ts +1024 -0
- package/src/commands/grep/index.ts +2 -0
- package/src/commands/index-adder.ts +54 -10
- package/src/commands/index.ts +28 -0
- package/src/commands/init-command.ts +167 -11
- package/src/commands/interpret-trailers-command.ts +256 -0
- package/src/commands/legacy-remotes.ts +224 -0
- package/src/commands/local-transport.ts +109 -10
- package/src/commands/log-command.ts +1283 -232
- package/src/commands/log-graph.ts +123 -26
- package/src/commands/log-output.ts +280 -21
- package/src/commands/ls-remote-command.ts +9 -0
- package/src/commands/mailmap.ts +119 -0
- package/src/commands/merge-base-command.ts +170 -0
- package/src/commands/merge-bases.ts +63 -8
- package/src/commands/merge-command.ts +360 -82
- package/src/commands/merge-support.ts +43 -9
- package/src/commands/mv-command.ts +6 -3
- package/src/commands/name-rev.ts +171 -0
- package/src/commands/notes-command.ts +11 -1
- package/src/commands/notes-merge-command.ts +23 -14
- package/src/commands/notes-tree.ts +28 -13
- package/src/commands/octopus-merge.ts +3 -2
- package/src/commands/patch-id.ts +16 -8
- package/src/commands/pathspec-file.ts +72 -0
- package/src/commands/pathspec.ts +14 -2
- package/src/commands/pretty-format.ts +105 -20
- package/src/commands/promisor-remote.ts +10 -1
- package/src/commands/pull-command.ts +149 -22
- package/src/commands/push-command.ts +704 -72
- package/src/commands/read-tree-command.ts +34 -3
- package/src/commands/rebase-command.ts +957 -142
- package/src/commands/ref-filter/for-each-ref-command.ts +298 -0
- package/src/commands/ref-filter/index.ts +7 -0
- package/src/commands/ref-filter/ref-atoms.ts +581 -0
- package/src/commands/ref-filter/ref-filter.ts +651 -0
- package/src/commands/ref-filter/ref-format.ts +1070 -0
- package/src/commands/ref-filter/ref-listing-command.ts +421 -0
- package/src/commands/ref-filter/ref-quote.ts +69 -0
- package/src/commands/ref-filter/version-compare.ts +177 -0
- package/src/commands/reflog-command.ts +492 -2
- package/src/commands/reflog-walk.ts +234 -0
- package/src/commands/remote-command.ts +484 -74
- package/src/commands/remote-transport.ts +9 -1
- package/src/commands/reset-command.ts +40 -42
- package/src/commands/restore-command.ts +12 -41
- package/src/commands/rev-filter/commit-filter.ts +159 -0
- package/src/commands/rev-filter/commit-grep.ts +444 -0
- package/src/commands/rev-filter/index.ts +2 -0
- package/src/commands/rev-list-command.ts +402 -15
- package/src/commands/rev-parse-command.ts +22 -0
- package/src/commands/revert-command.ts +82 -0
- package/src/commands/revision-range.ts +204 -4
- package/src/commands/revision-resolver.ts +55 -22
- package/src/commands/rm-command.ts +282 -21
- package/src/commands/sequencer-pick.ts +504 -86
- package/src/commands/sequencer-support.ts +30 -5
- package/src/commands/serve-repository.ts +18 -3
- package/src/commands/show-command.ts +490 -0
- package/src/commands/show-commit.ts +24 -0
- package/src/commands/signature-check.ts +657 -0
- package/src/commands/signing.ts +385 -0
- package/src/commands/sparse-checkout-command.ts +2 -9
- package/src/commands/sparse-checkout-support.ts +2 -2
- package/src/commands/sparse-index-view.ts +135 -0
- package/src/commands/ssh-signer.ts +199 -0
- package/src/commands/ssh-verifier.ts +523 -0
- package/src/commands/stash-apply-command.ts +17 -5
- package/src/commands/stash-branch-command.ts +88 -0
- package/src/commands/stash-create-command.ts +30 -2
- package/src/commands/stash-info.ts +243 -0
- package/src/commands/stash-list-command.ts +33 -0
- package/src/commands/stash-pop-command.ts +83 -0
- package/src/commands/stash-show-command.ts +141 -0
- package/src/commands/stash-store-command.ts +82 -0
- package/src/commands/stash-working-tree.ts +2 -2
- package/src/commands/status-command.ts +7 -6
- package/src/commands/status-header.ts +44 -8
- package/src/commands/submodule-add-command.ts +509 -0
- package/src/commands/submodule-auth.ts +276 -0
- package/src/commands/submodule-commands.ts +1517 -0
- package/src/commands/submodule-model.ts +930 -0
- package/src/commands/submodule-summary-command.ts +6 -7
- package/src/commands/submodule-update-command.ts +1092 -0
- package/src/commands/switch-command.ts +3 -1
- package/src/commands/tag-command.ts +876 -64
- package/src/commands/trailers.ts +837 -100
- package/src/commands/tree-restore.ts +38 -10
- package/src/commands/untracked-cache-support.ts +16 -12
- package/src/commands/verify-command.ts +235 -0
- package/src/commands/worktree-add-command.ts +268 -24
- package/src/commands/worktree-list-command.ts +3 -5
- package/src/commands/worktree-path-rules.ts +183 -0
- package/src/commands/worktree-remove-command.ts +39 -5
- package/src/commands/worktree-repair-command.ts +52 -5
- package/src/commands/worktree-support.ts +22 -1
- package/src/core-commands/add.command.impl.ts +1 -1
- package/src/errors/checkout-errors.ts +29 -0
- package/src/errors/command-errors.ts +2 -1
- package/src/errors/ref-errors.ts +23 -0
- package/src/errors/worktree-errors.ts +8 -1
- package/src/git-command.ts +98 -3
- package/src/git.ts +420 -4
- package/src/remote-config/index.ts +4 -0
- package/src/remote-config/remote-config-store.ts +238 -11
- package/src/rename/detect-renames.ts +5 -1
- package/src/results/clone-result.ts +9 -0
- package/src/results/combined-diff.ts +38 -18
- package/src/results/diff-check.ts +185 -0
- package/src/results/diff-color.ts +868 -0
- package/src/results/diff-output.ts +204 -37
- package/src/results/diff-pickaxe.ts +304 -0
- package/src/results/diff-words.ts +395 -0
- package/src/results/index.ts +4 -0
- package/src/results/init-result.ts +9 -0
- package/src/results/pull-result.ts +5 -0
- package/src/results/push-result.ts +12 -0
- package/src/results/rebase-result.ts +3 -0
- package/src/results/stash-result.ts +7 -0
- package/src/results/status-result.ts +5 -2
- package/src/whitespace/index.ts +1 -0
- package/src/{commands/apply/whitespace.ts → whitespace/whitespace-rule.ts} +173 -23
- package/dist/commands/apply/whitespace.d.ts +0 -58
- package/dist/commands/apply/whitespace.d.ts.map +0 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pickaxe (git's diffcore-pickaxe.c): which pairs of a diff queue mention a string, a regex
|
|
3
|
+
* or an object. `-S<string>` keeps a pair whose two sides hold the string a different number
|
|
4
|
+
* of times, `-G<regex>` a pair whose added or removed lines match the regex, `--find-object`
|
|
5
|
+
* a pair with that object on either side.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const pickaxe = DiffPickaxe.compile({ string: "frotz" });
|
|
10
|
+
* const kept = await pickaxe.filter(pairs, (p) => p, outputOptions);
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Both sides are read as the patch reads them: through the path's textconv when one applies,
|
|
14
|
+
* and `-G` passes over binary pairs unless `--text` is given (or textconv makes them text),
|
|
15
|
+
* as git does. `-S` counts non-overlapping occurrences, ASCII case folded under `-i`;
|
|
16
|
+
* `--pickaxe-regex` and `-G` compile POSIX extended regexes with `REG_NEWLINE` (and
|
|
17
|
+
* `REG_ICASE` under `-i`), so no JavaScript `RegExp` ever runs a user's pattern. `-G`
|
|
18
|
+
* diffs the two texts with xdiff's defaults (Myers, no indent heuristic, no whitespace
|
|
19
|
+
* options), whatever the patch shown uses.
|
|
20
|
+
*
|
|
21
|
+
* @module
|
|
22
|
+
*/
|
|
23
|
+
import { type DiffFilePair, type DiffOutputOptions } from "./diff-output.js";
|
|
24
|
+
/** What a pickaxe looks for (one kind of `-S`, `-G`, `--find-object`) */
|
|
25
|
+
export interface PickaxeSpec {
|
|
26
|
+
/** `-S<string>`: pairs whose sides hold it a different number of times */
|
|
27
|
+
string?: string;
|
|
28
|
+
/** `-G<regex>`: pairs whose added or removed lines match it */
|
|
29
|
+
grep?: string;
|
|
30
|
+
/** `--find-object=<id>`: pairs with one of these objects on either side */
|
|
31
|
+
objects?: ReadonlySet<string>;
|
|
32
|
+
/** `--pickaxe-regex`: `-S` takes a POSIX extended regex */
|
|
33
|
+
regex?: boolean;
|
|
34
|
+
/** `--pickaxe-all`: a match keeps the whole queue, none empties it */
|
|
35
|
+
all?: boolean;
|
|
36
|
+
/** `-i` / `--regexp-ignore-case` */
|
|
37
|
+
ignoreCase?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The compiled pickaxe of a diff (git's `diffcore_pickaxe`) */
|
|
40
|
+
export declare class DiffPickaxe {
|
|
41
|
+
private readonly spec;
|
|
42
|
+
/** `-G`, `--pickaxe-regex`, or `-S -i` of a non-ASCII string */
|
|
43
|
+
private readonly regex;
|
|
44
|
+
/** `-S`'s string, lowercased under `-i` (kwset) */
|
|
45
|
+
private readonly needle;
|
|
46
|
+
private constructor();
|
|
47
|
+
/**
|
|
48
|
+
* Compiles a pickaxe as diffcore_pickaxe does; an invalid regex throws git's `fatal:
|
|
49
|
+
* invalid regex: <glibc's message>` (exit 128).
|
|
50
|
+
*/
|
|
51
|
+
static compile(spec: PickaxeSpec): DiffPickaxe;
|
|
52
|
+
/** Whether the pickaxe reads the blobs of the pairs (`-S`, `-G`; not `--find-object`) */
|
|
53
|
+
get readsContent(): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The queue the pickaxe leaves (git's `pickaxe`): the items whose pair matches, or, under
|
|
56
|
+
* `--pickaxe-all`, every item when one matches and none otherwise. An item without a pair
|
|
57
|
+
* (an unmerged path) never matches.
|
|
58
|
+
*/
|
|
59
|
+
filter<T>(queue: readonly T[], pairOf: (item: T) => DiffFilePair | undefined, options: DiffOutputOptions): Promise<T[]>;
|
|
60
|
+
/** pickaxe_match: whether one pair matches */
|
|
61
|
+
matches(pair: DiffFilePair, options: DiffOutputOptions): Promise<boolean>;
|
|
62
|
+
/** diff_grep: whether an added or removed line of the xdiff of `a` and `b` matches */
|
|
63
|
+
private diffGrep;
|
|
64
|
+
/** contains(): the occurrences in `data`, up to `limit` (0: all) */
|
|
65
|
+
private contains;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=diff-pickaxe.d.ts.map
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AC,OAAO,CAAC,CAsD9E;IAED,sFAAsF;IACtF,OAAO,CAAC,QAAQ;IA4BhB,oEAAoE;IACpE,OAAO,CAAC,QAAQ;CAwCjB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* git's word diff (diff.c's `diff_words_*` and `fn_out_diff_words_*`): `--word-diff=plain`,
|
|
3
|
+
* `--word-diff=color` (`--color-words`) and `--word-diff=porcelain`, byte for byte as git
|
|
4
|
+
* prints the hunks of a text pair.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* const words = compileWordRegex("[a-z]+");
|
|
9
|
+
* writeWordDiffHunks(sink, hunks, { mode: "plain", regex: words });
|
|
10
|
+
* // "@@ -1 +1 @@\nh(4),{+hh+}[44]\n"
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* The removed and added lines between two context lines are gathered, split into words
|
|
14
|
+
* (each match of the word regex, cut at a newline; without one, each run of non-spaces),
|
|
15
|
+
* and the two word lists are diffed as lines (xdiff with no context, the common tail
|
|
16
|
+
* trimmed). The added side's text is printed with the removed words before the added ones
|
|
17
|
+
* that replace them: `[-old-]{+new+}` in plain mode, the `old` and `new` colors in color
|
|
18
|
+
* mode, one `-`/`+`/` ` line per piece with `~` for each newline in porcelain mode. Context
|
|
19
|
+
* lines are printed without their sign (porcelain: with it, followed by `~`).
|
|
20
|
+
*
|
|
21
|
+
* Not reproduced: under `log --graph` git writes the graph's line prefix in word mode only
|
|
22
|
+
* where a word hunk starts on a new line or a piece's text has a newline, so porcelain lines
|
|
23
|
+
* (and some plain or color lines) go without it; `git log` prefixes every line of ours.
|
|
24
|
+
*
|
|
25
|
+
* @module
|
|
26
|
+
*/
|
|
27
|
+
import { type ByteSink, type PosixRegex } from "@statewalker/vcs-utils";
|
|
28
|
+
import { type ColoredHunk, type DiffColors } from "./diff-color.js";
|
|
29
|
+
/** `--word-diff=<mode>` (`--color-words` is `color`) */
|
|
30
|
+
export type WordDiffMode = "plain" | "color" | "porcelain";
|
|
31
|
+
/** The modes `--word-diff=` takes (`none` turns the word diff off) */
|
|
32
|
+
export declare const WORD_DIFF_MODES: readonly ["plain", "color", "porcelain", "none"];
|
|
33
|
+
/** What {@link writeWordDiffHunks} prints with */
|
|
34
|
+
export interface WordDiffOptions {
|
|
35
|
+
mode: WordDiffMode;
|
|
36
|
+
/** The word regex (`--word-diff-regex`, the driver's, `diff.wordRegex`); unset, non-spaces */
|
|
37
|
+
regex?: PosixRegex;
|
|
38
|
+
/** The palette of `--color`; unset, no colors */
|
|
39
|
+
colors?: DiffColors;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The word regex as `init_diff_words_data` compiles it (`REG_EXTENDED | REG_NEWLINE`).
|
|
43
|
+
*
|
|
44
|
+
* @throws GitApiError git's `fatal: invalid regular expression: <regex>` (exit 128)
|
|
45
|
+
*/
|
|
46
|
+
export declare function compileWordRegex(pattern: string | Uint8Array): PosixRegex;
|
|
47
|
+
/**
|
|
48
|
+
* The hunks of a text pair as diff.c's `fn_out_consume` prints them under `--word-diff`:
|
|
49
|
+
* each header as usual (in color, `frag` and `func`), the removed and added lines between
|
|
50
|
+
* two context lines as their word diff, context lines without their sign (porcelain mode:
|
|
51
|
+
* with it, then `~`). An incomplete last line counts as ending in a newline; git's
|
|
52
|
+
* "" is not printed.
|
|
53
|
+
*/
|
|
54
|
+
export declare function writeWordDiffHunks(sink: ByteSink, hunks: readonly ColoredHunk[], options: WordDiffOptions): void;
|
|
55
|
+
//# sourceMappingURL=diff-words.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff-words.d.ts","sourceRoot":"","sources":["../../src/results/diff-words.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EACL,KAAK,QAAQ,EAEb,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,KAAK,WAAW,EAAqB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEvF,wDAAwD;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,WAAW,CAAC;AAE3D,sEAAsE;AACtE,eAAO,MAAM,eAAe,YAAI,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,CAAU,CAAC;AAEhF,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,YAAY,CAAC;IACnB,8FAA8F;IAC9F,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,iDAAiD;IACjD,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AA+DD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAezE;AAqND;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,WAAW,EAAE,EAC7B,OAAO,EAAE,eAAe,GACvB,IAAI,CA6BN"}
|
package/dist/results/index.d.ts
CHANGED
|
@@ -2,10 +2,14 @@ export * from "./blame-format.js";
|
|
|
2
2
|
export * from "./cherry-pick-result.js";
|
|
3
3
|
export * from "./clone-result.js";
|
|
4
4
|
export * from "./combined-diff.js";
|
|
5
|
+
export * from "./diff-check.js";
|
|
6
|
+
export * from "./diff-color.js";
|
|
5
7
|
export * from "./diff-entry.js";
|
|
6
8
|
export * from "./diff-formatter.js";
|
|
7
9
|
export * from "./diff-order.js";
|
|
8
10
|
export * from "./diff-output.js";
|
|
11
|
+
export * from "./diff-pickaxe.js";
|
|
12
|
+
export * from "./diff-words.js";
|
|
9
13
|
export * from "./fetch-result.js";
|
|
10
14
|
export * from "./init-result.js";
|
|
11
15
|
export * from "./merge-result.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
package/dist/results/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ChangeType, CherryPickStatus, ContentMergeStrategy, DiffFormatter, FastForwardMode, MergeStatus, MergeStrategy, PushStatus, RebaseAction, RebaseStatus, RefUpdateStatus, RevertStatus, StashApplyStatus, StatusImpl, blobIdOf, blobSide, computeDiffstat, contentSide, createAddEntry, createCopyEntry, createDeleteEntry, createModifyEntry, createRenameEntry, diffDriverOf, diffEntryToPair, displayWidth, formatBlame, formatBlamePorcelain, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatShortstat, formatStat, formatStatusPorcelain, formatSummary, getFailedUpdates, getSuccessfulUpdates, hasUpdates, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, noIndexPair, orderByPatterns, orderRank, parseOrderFile, pprintRename, quoteCStyleBody, quotePath, quoteTwo, statSummary, submoduleToken, utf8, writeCombinedDiff, writePairPatch };
|
|
1
|
+
import { $ as formatNoIndexDiff, A as ChangeType, At as quotePath, B as GIT_DIFF_BIG_FILE_THRESHOLD, C as StashApplyStatus, Ct as parseColorMoved, D as parseOrderFile, Dt as wsErrorHighlightOf, E as orderRank, Et as writeColoredHunks, F as createRenameEntry, G as computeDiffstat, H as attrPathOf, I as DEFAULT_CONFLICT_MARKER_SIZE, J as diffDriverOf, K as contentDriver, L as conflictMarkerSizeOf, M as createCopyEntry, N as createDeleteEntry, O as DiffFormatter, Ot as writeCombinedDiff, P as createModifyEntry, Q as formatNameStatus, R as isConflictMarkerLine, S as isMergeSuccessful, St as diffColorSlotOf, T as orderByPatterns, Tt as parseWsErrorHighlight, U as blobIdOf, V as LoadedSide, W as blobSide, X as driverOf, Y as displayWidth, Z as formatNameOnly, _ as submoduleToken, _t as MovedLineBuffer, a as PushStatus, at as noIndexPair, b as MergeStatus, bt as WSEH_OLD, c as isPullSuccessful, ct as utf8, d as hasUpdates, dt as compileWordRegex, et as formatNumstat, f as CherryPickStatus, ft as writeWordDiffHunks, g as formatStatusPorcelain, gt as DIFF_COLOR_SLOTS, h as StatusImpl, ht as DEFAULT_DIFF_COLORS, i as isRebaseSuccessful, it as formatSummary, j as createAddEntry, jt as quoteTwo, k as diffEntryToPair, kt as quoteCStyleBody, l as RefUpdateStatus, lt as writePairPatch, m as formatBlamePorcelain, mt as COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, n as RebaseAction, nt as formatShortstat, o as getFailedUpdates, ot as pprintRename, p as formatBlame, pt as COLOR_MOVED_MODE_ERROR, q as contentSide, r as RebaseStatus, rt as formatStat, s as isPushSuccessful, st as statSummary, t as RevertStatus, tt as formatPatch, u as getSuccessfulUpdates, ut as WORD_DIFF_MODES, v as ContentMergeStrategy, vt as WSEH_CONTEXT, w as DiffPickaxe, wt as parseColorMovedWs, x as MergeStrategy, xt as coloredHunkHeader, y as FastForwardMode, yt as WSEH_NEW, z as writePairCheck } from "../results-TB2IJ64h.js";
|
|
2
|
+
export { COLOR_MOVED_MODE_ERROR, COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, ChangeType, CherryPickStatus, ContentMergeStrategy, DEFAULT_CONFLICT_MARKER_SIZE, DEFAULT_DIFF_COLORS, DIFF_COLOR_SLOTS, DiffFormatter, DiffPickaxe, FastForwardMode, GIT_DIFF_BIG_FILE_THRESHOLD, LoadedSide, MergeStatus, MergeStrategy, MovedLineBuffer, PushStatus, RebaseAction, RebaseStatus, RefUpdateStatus, RevertStatus, StashApplyStatus, StatusImpl, WORD_DIFF_MODES, WSEH_CONTEXT, WSEH_NEW, WSEH_OLD, attrPathOf, blobIdOf, blobSide, coloredHunkHeader, compileWordRegex, computeDiffstat, conflictMarkerSizeOf, contentDriver, contentSide, createAddEntry, createCopyEntry, createDeleteEntry, createModifyEntry, createRenameEntry, diffColorSlotOf, diffDriverOf, diffEntryToPair, displayWidth, driverOf, formatBlame, formatBlamePorcelain, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatShortstat, formatStat, formatStatusPorcelain, formatSummary, getFailedUpdates, getSuccessfulUpdates, hasUpdates, isConflictMarkerLine, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, noIndexPair, orderByPatterns, orderRank, parseColorMoved, parseColorMovedWs, parseOrderFile, parseWsErrorHighlight, pprintRename, quoteCStyleBody, quotePath, quoteTwo, statSummary, submoduleToken, utf8, writeColoredHunks, writeCombinedDiff, writePairCheck, writePairPatch, writeWordDiffHunks, wsErrorHighlightOf };
|
|
@@ -15,6 +15,13 @@ export interface InitResult {
|
|
|
15
15
|
repository: History;
|
|
16
16
|
/** Initial branch name */
|
|
17
17
|
initialBranch: string;
|
|
18
|
+
/**
|
|
19
|
+
* git's `advice.defaultBranchName` hint (stderr lines), when the branch is the built-in
|
|
20
|
+
* default: no `--initial-branch`, no `init.defaultBranch`, the advice not turned off
|
|
21
|
+
*/
|
|
22
|
+
hints?: string[];
|
|
23
|
+
/** git's warnings (stderr lines): `re-init: ignored --initial-branch=<name>` */
|
|
24
|
+
warnings?: string[];
|
|
18
25
|
/** Whether this is a bare repository */
|
|
19
26
|
bare: boolean;
|
|
20
27
|
/** Path to the .git directory */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-result.d.ts","sourceRoot":"","sources":["../../src/results/init-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,uCAAuC;IACvC,GAAG,EAAE,GAAG,CAAC;IAET,+CAA+C;IAC/C,WAAW,EAAE,WAAW,CAAC;IAEzB,0CAA0C;IAC1C,UAAU,EAAE,OAAO,CAAC;IAEpB,0BAA0B;IAC1B,aAAa,EAAE,MAAM,CAAC;IAEtB,wCAAwC;IACxC,IAAI,EAAE,OAAO,CAAC;IAEd,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
1
|
+
{"version":3,"file":"init-result.d.ts","sourceRoot":"","sources":["../../src/results/init-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,uCAAuC;IACvC,GAAG,EAAE,GAAG,CAAC;IAET,+CAA+C;IAC/C,WAAW,EAAE,WAAW,CAAC;IAEzB,0CAA0C;IAC1C,UAAU,EAAE,OAAO,CAAC;IAEpB,0BAA0B;IAC1B,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB,wCAAwC;IACxC,IAAI,EAAE,OAAO,CAAC;IAEd,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -25,6 +25,11 @@ export interface PullResult {
|
|
|
25
25
|
successful: boolean;
|
|
26
26
|
/** Fetch-from remote */
|
|
27
27
|
fetchedFrom: string;
|
|
28
|
+
/**
|
|
29
|
+
* git's warnings, one message each: pull.c's `fetch updated the current branch head.`
|
|
30
|
+
* when the fetch moved the checked-out branch (a branches remote named after it)
|
|
31
|
+
*/
|
|
32
|
+
warnings?: string[];
|
|
28
33
|
}
|
|
29
34
|
/**
|
|
30
35
|
* Check if pull result was successful.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull-result.d.ts","sourceRoot":"","sources":["../../src/results/pull-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,0FAA0F;IAC1F,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAE5D"}
|
|
1
|
+
{"version":3,"file":"pull-result.d.ts","sourceRoot":"","sources":["../../src/results/pull-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,0FAA0F;IAC1F,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAE5D"}
|
|
@@ -84,6 +84,11 @@ export interface PushResult {
|
|
|
84
84
|
objectCount: number;
|
|
85
85
|
/** Server messages */
|
|
86
86
|
messages: string[];
|
|
87
|
+
/**
|
|
88
|
+
* git's own warnings before the push, one message each: 2.5x's deprecation warning for a
|
|
89
|
+
* remote read from `.git/remotes/` or `.git/branches/`; absent when there are none
|
|
90
|
+
*/
|
|
91
|
+
warnings?: string[];
|
|
87
92
|
/**
|
|
88
93
|
* The report git prints on stderr (`To <url>`, ` * [new branch] main -> main`,
|
|
89
94
|
* ` 1a2b3c4..5d6e7f8 main -> main`, ` ! [rejected] main -> main (fetch first)`,
|
|
@@ -102,6 +107,13 @@ export interface PushResult {
|
|
|
102
107
|
* '<ref>': ...`); the push itself succeeded (git exits 0)
|
|
103
108
|
*/
|
|
104
109
|
errors?: string[];
|
|
110
|
+
/**
|
|
111
|
+
* What `-u` printed on stdout (transport.c's `set_upstreams`): `branch '<b>' set up to
|
|
112
|
+
* track '<remote>/<branch>'.` per branch whose upstream was set (`... by rebasing.` under
|
|
113
|
+
* `branch.autoSetupRebase`), or in a dry run `Would set upstream of '<b>' to '<branch>' of
|
|
114
|
+
* '<remote>'`; absent when none. Under `--porcelain` git prints them before `Done`.
|
|
115
|
+
*/
|
|
116
|
+
upstreamMessages?: string[];
|
|
105
117
|
/**
|
|
106
118
|
* The push failed although every ref's status says otherwise: the server's report broke
|
|
107
119
|
* git's rules (an `option` line without its `ok`; git exits 1, its porcelain output has no
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push-result.d.ts","sourceRoot":"","sources":["../../src/results/push-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;;GAIG;AACH,oBAAY,UAAU;IACpB,wCAAwC;IACxC,EAAE,OAAO;IACT,6CAA6C;IAC7C,uBAAuB,4BAA4B;IACnD,gGAAgG;IAChG,uBAAuB,4BAA4B;IACnD,yCAAyC;IACzC,cAAc,mBAAmB;IACjC,mCAAmC;IACnC,MAAM,WAAW;IACjB,6CAA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AGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAI5D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,EAAE,CAOtE"}
|
|
1
|
+
{"version":3,"file":"push-result.d.ts","sourceRoot":"","sources":["../../src/results/push-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;;GAIG;AACH,oBAAY,UAAU;IACpB,wCAAwC;IACxC,EAAE,OAAO;IACT,6CAA6C;IAC7C,uBAAuB,4BAA4B;IACnD,gGAAgG;IAChG,uBAAuB,4BAA4B;IACnD,yCAAyC;IACzC,cAAc,mBAAmB;IACjC,mCAAmC;IACnC,MAAM,WAAW;IACjB,6CAA6C;IAC7C,aAAa,kBAAkB;IAC/B,gCAAgC;IAChC,UAAU,eAAe;IACzB,0DAA0D;IAC1D,eAAe,oBAAoB;CACpC;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,mBAAmB,CAAC,EAAE,QAAQ,CAAC;IAC/B,oCAAoC;IACpC,WAAW,EAAE,QAAQ,CAAC;IACtB,2BAA2B;IAC3B,MAAM,EAAE,UAAU,CAAC;IACnB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iGAAiG;IACjG,WAAW,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,wDAAwD;AACxD,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,yCAAyC;IACzC,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,GAAG,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAI5D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,EAAE,CAOtE"}
|
|
@@ -127,6 +127,8 @@ export interface RebaseResult {
|
|
|
127
127
|
readonly output?: string[];
|
|
128
128
|
/** Uncommitted changes that prevented rebase */
|
|
129
129
|
readonly uncommittedChanges?: string[];
|
|
130
|
+
/** What `--show-current-patch` prints on stdout (`git show REBASE_HEAD`) */
|
|
131
|
+
readonly currentPatch?: string;
|
|
130
132
|
}
|
|
131
133
|
/**
|
|
132
134
|
* Check if rebase status indicates success.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebase-result.d.ts","sourceRoot":"","sources":["../../src/results/rebase-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;;GAIG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,iBAAiB,sBAAsB;IAEvC;;OAEG;IACH,qBAAqB,0BAA0B;IAE/C;;OAEG;IACH,IAAI,SAAS;CACd;AAED;;;;GAIG;AACH,oBAAY,YAAY;IACtB,iCAAiC;IACjC,IAAI,SAAS;IAEb,2CAA2C;IAC3C,MAAM,WAAW;IAEjB,8BAA8B;IAC9B,IAAI,SAAS;IAEb,qDAAqD;IACrD,MAAM,WAAW;IAEjB,sDAAsD;IACtD,KAAK,UAAU;IAEf,6BAA6B;IAC7B,OAAO,YAAY;IAEnB,8EAA8E;IAC9E,KAAK,UAAU;IAEf,kFAAkF;IAClF,KAAK,UAAU;IAEf,oFAAoF;IACpF,KAAK,UAAU;IAEf,qFAAqF;IACrF,IAAI,SAAS;IAEb,uEAAuE;IACvE,KAAK,UAAU;IAEf,2CAA2C;IAC3C,IAAI,SAAS;IAEb,kEAAkE;IAClE,IAAI,SAAS;IAEb,2FAA2F;IAC3F,UAAU,eAAe;CAC1B;A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Q,CAAC;IAElC,gCAAgC;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAE9B,4CAA4C;IAC5C,QAAQ,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,0FAA0F;IAC1F,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,sFAAsF;IACtF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B,gDAAgD;IAChD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvC,4EAA4E;IAC5E,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAMhE"}
|
|
@@ -44,6 +44,12 @@ export interface StashApplyResult {
|
|
|
44
44
|
readonly stashCommit?: ObjectId;
|
|
45
45
|
/** List of conflicting paths */
|
|
46
46
|
readonly conflicts?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* What the merge printed on stdout (merge-ort's `Auto-merging x`, `CONFLICT (...)` lines,
|
|
49
|
+
* or `Already up to date.`), line by line, as `git stash apply` prints them before its
|
|
50
|
+
* status.
|
|
51
|
+
*/
|
|
52
|
+
readonly messages?: string[];
|
|
47
53
|
/**
|
|
48
54
|
* What the apply printed on stderr while applying the sparse checkout's patterns, line
|
|
49
55
|
* by line; absent when there was nothing to say.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stash-result.d.ts","sourceRoot":"","sources":["../../src/results/stash-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB,0BAA0B;IAC1B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAE5B,6CAA6C;IAC7C,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CAAC;IAEpC,wBAAwB;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,mDAAmD;IACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,uCAAuC;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,qCAAqC;IACrC,EAAE,OAAO;IAET,wCAAwC;IACxC,SAAS,cAAc;IAEvB,yBAAyB;IACzB,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,0BAA0B;IAC1B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAElC,wCAAwC;IACxC,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEhC,gCAAgC;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAE7B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-result.d.ts","sourceRoot":"","sources":["../../src/results/status-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"status-result.d.ts","sourceRoot":"","sources":["../../src/results/status-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGrE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE7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