@statewalker/vcs-commands 0.7.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/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.map +1 -1
- 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/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/gc-command.d.ts +8 -0
- package/dist/commands/gc-command.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 +35 -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 +13 -2
- package/dist/commands/index-adder.d.ts.map +1 -1
- package/dist/commands/index.d.ts +26 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +3 -3
- package/dist/commands/interpret-trailers-command.d.ts +90 -0
- package/dist/commands/interpret-trailers-command.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 +96 -9
- package/dist/commands/merge-command.d.ts.map +1 -1
- 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/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 +10 -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/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 +15 -0
- 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 +84 -4
- 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 +17 -0
- 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-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/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-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-DIJ91NnD.js → commands-ISM52N0n.js} +70736 -54492
- 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-BGiOJ8Zk.js → fsck-DLRpbwTj.js} +6230 -71
- package/dist/git-command.d.ts +27 -1
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +267 -1
- 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 +55 -0
- package/dist/remote-config/remote-config-store.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/push-result.d.ts +7 -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-WVlBhVb1.js → results-TB2IJ64h.js} +2168 -403
- 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/am/am-command.ts +262 -42
- package/src/commands/am/index.ts +1 -0
- package/src/commands/am/mailsplit.ts +326 -0
- package/src/commands/apply/apply-command.ts +6 -6
- package/src/commands/apply/apply-engine.ts +1 -1
- package/src/commands/apply/apply-parse.ts +7 -8
- package/src/commands/bisect/bisect-command.ts +18 -5
- 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 +69 -43
- package/src/commands/cherry-pick-command.ts +143 -0
- package/src/commands/clean-command.ts +34 -3
- package/src/commands/clone-command.ts +2 -1
- package/src/commands/commit-command.ts +782 -64
- 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 +40 -0
- package/src/commands/diff-color-config.ts +274 -0
- package/src/commands/diff-command.ts +1009 -49
- package/src/commands/fetch-command.ts +142 -8
- 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 +314 -46
- package/src/commands/fsck/fetch-fsck.ts +172 -18
- package/src/commands/gc-command.ts +31 -1
- package/src/commands/git-describe.ts +31 -11
- package/src/commands/git-hooks.ts +81 -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 +46 -7
- package/src/commands/index.ts +26 -0
- package/src/commands/interpret-trailers-command.ts +256 -0
- package/src/commands/local-transport.ts +109 -10
- package/src/commands/log-command.ts +1246 -210
- package/src/commands/log-graph.ts +123 -26
- package/src/commands/log-output.ts +280 -21
- package/src/commands/ls-remote-command.ts +5 -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 +330 -82
- package/src/commands/merge-support.ts +14 -1
- 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/pathspec-file.ts +72 -0
- package/src/commands/pathspec.ts +14 -2
- package/src/commands/pretty-format.ts +103 -19
- package/src/commands/promisor-remote.ts +10 -1
- package/src/commands/pull-command.ts +26 -7
- package/src/commands/push-command.ts +682 -65
- package/src/commands/read-tree-command.ts +28 -1
- package/src/commands/rebase-command.ts +933 -129
- 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 +449 -69
- package/src/commands/remote-transport.ts +9 -1
- package/src/commands/reset-command.ts +36 -31
- 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/revert-command.ts +82 -0
- package/src/commands/revision-range.ts +204 -4
- package/src/commands/revision-resolver.ts +23 -8
- package/src/commands/rm-command.ts +282 -21
- package/src/commands/sequencer-pick.ts +498 -85
- package/src/commands/sequencer-support.ts +20 -2
- 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 +16 -4
- package/src/commands/stash-branch-command.ts +88 -0
- package/src/commands/stash-create-command.ts +28 -0
- 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 +5 -2
- package/src/commands/status-header.ts +41 -7
- 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-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/verify-command.ts +235 -0
- package/src/commands/worktree-add-command.ts +268 -24
- 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/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 +66 -1
- package/src/git.ts +404 -1
- package/src/remote-config/index.ts +2 -0
- package/src/remote-config/remote-config-store.ts +101 -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 +195 -30
- 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/push-result.ts +7 -0
- package/src/results/rebase-result.ts +3 -0
- package/src/results/stash-result.ts +7 -0
- 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,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* git's grep matcher and printer (`grep.c`): the patterns compiled as `compile_grep_patterns`
|
|
3
|
+
* compiles them, each line of a source matched as `grep_source_1` matches it, and the output
|
|
4
|
+
* written as `show_line`, `show_pre_context` and `show_funcname_line` write it.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* const engine = new GrepEngine([grepPattern("foo")], { lineNumber: true });
|
|
9
|
+
* engine.grepSource({ name: encode("file"), content: encode("a foo\nb\n") });
|
|
10
|
+
* new TextDecoder().decode(engine.output()); // "file:1:a foo\n"
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* What git does, kept here:
|
|
14
|
+
* - A pattern with newlines is one pattern per line. Patterns are basic POSIX regexes by
|
|
15
|
+
* default (`extended`, `fixed`, `perl`), compiled with `REG_NEWLINE`, `-i` as `REG_ICASE`;
|
|
16
|
+
* one without a regex character (`$()*+.?[\^{|`) is a literal, as with `-F`. A pattern
|
|
17
|
+
* holding a NUL byte dies unless it is `-P`. `-P` is a git built without PCRE: a literal
|
|
18
|
+
* `-P` pattern matches, any other dies.
|
|
19
|
+
* - `-w` takes a match only between non-word characters (or the line's ends), and retries
|
|
20
|
+
* from after the next non-word character as `headerless_match_one_pattern` does.
|
|
21
|
+
* - `--and`, `--not`, `(`, `)` (and `--all-match`) build git's expression tree; `--or` is the
|
|
22
|
+
* default between patterns. `--column` evaluates every branch, a `--not` swapping the
|
|
23
|
+
* column of a match and of an inverted one.
|
|
24
|
+
* - Context (`-A`, `-B`), function lines (`-p`) and function bodies (`-W`) through the
|
|
25
|
+
* source's funcname pattern, or git's default (a line starting with a letter, `_` or `$`).
|
|
26
|
+
* - Several sources print as git's threaded grep prints them (its default): each source's
|
|
27
|
+
* output starts with a hunk mark (`--`, or an empty line with `--break`), and the first line
|
|
28
|
+
* of the first output is dropped. {@link GrepEngineOptions.threads} `1` prints as git's
|
|
29
|
+
* single-threaded grep (`--threads=1`).
|
|
30
|
+
*
|
|
31
|
+
* @module
|
|
32
|
+
*/
|
|
33
|
+
import type { FindFunction } from "@statewalker/vcs-utils/diff";
|
|
34
|
+
import { GitApiError } from "../../errors/index.js";
|
|
35
|
+
import { type GrepPatternType } from "../rev-filter/index.js";
|
|
36
|
+
/** One element of git's pattern list: a pattern or an expression operator. */
|
|
37
|
+
export type GrepToken = {
|
|
38
|
+
kind: "pattern";
|
|
39
|
+
/** The pattern's bytes */
|
|
40
|
+
pattern: Uint8Array;
|
|
41
|
+
/** Where it came from: `-e option`, `command line`, or a `-f` file's name */
|
|
42
|
+
origin: string;
|
|
43
|
+
/** Its line in a `-f` file (1-based, empty lines not counted), else 0 */
|
|
44
|
+
no: number;
|
|
45
|
+
} | {
|
|
46
|
+
kind: "and";
|
|
47
|
+
} | {
|
|
48
|
+
kind: "not";
|
|
49
|
+
} | {
|
|
50
|
+
kind: "open";
|
|
51
|
+
} | {
|
|
52
|
+
kind: "close";
|
|
53
|
+
};
|
|
54
|
+
/** A pattern token (`-e <pattern>`), its origin `-e option` unless given. */
|
|
55
|
+
export declare function grepPattern(pattern: string | Uint8Array, origin?: string, no?: number): GrepToken;
|
|
56
|
+
/**
|
|
57
|
+
* The patterns of a `-f` file (builtin/grep.c `file_callback`): one per line (a CR before
|
|
58
|
+
* the newline dropped), empty lines skipped, each numbered by the non-empty lines before it.
|
|
59
|
+
*/
|
|
60
|
+
export declare function grepPatternFile(content: string | Uint8Array, name: string): GrepToken[];
|
|
61
|
+
/** git's die() of grep (an expression or option it refuses): exit status 128. */
|
|
62
|
+
export declare class GrepError extends GitApiError {
|
|
63
|
+
/** git's lines */
|
|
64
|
+
readonly lines: string[];
|
|
65
|
+
constructor(line: string);
|
|
66
|
+
}
|
|
67
|
+
/** The escape sequences of the colored output (`color.grep.<slot>`); "" for none. */
|
|
68
|
+
export interface GrepColors {
|
|
69
|
+
context: string;
|
|
70
|
+
filename: string;
|
|
71
|
+
function: string;
|
|
72
|
+
lineNumber: string;
|
|
73
|
+
column: string;
|
|
74
|
+
matchContext: string;
|
|
75
|
+
matchSelected: string;
|
|
76
|
+
selected: string;
|
|
77
|
+
separator: string;
|
|
78
|
+
}
|
|
79
|
+
/** git's default grep colors (`GREP_OPT_INIT`). */
|
|
80
|
+
export declare const DEFAULT_GREP_COLORS: Readonly<GrepColors>;
|
|
81
|
+
/** How binary sources are searched (`-a`, `-I`). */
|
|
82
|
+
export type GrepBinaryMode = "default" | "text" | "nomatch";
|
|
83
|
+
/** What the engine matches and prints (git's `struct grep_opt`). */
|
|
84
|
+
export interface GrepEngineOptions {
|
|
85
|
+
/** The pattern type (default basic) */
|
|
86
|
+
patternType?: GrepPatternType;
|
|
87
|
+
/** `-i` */
|
|
88
|
+
ignoreCase?: boolean;
|
|
89
|
+
/** `-w` */
|
|
90
|
+
wordRegexp?: boolean;
|
|
91
|
+
/** `-v` */
|
|
92
|
+
invert?: boolean;
|
|
93
|
+
/** `--all-match` */
|
|
94
|
+
allMatch?: boolean;
|
|
95
|
+
/** `-n` */
|
|
96
|
+
lineNumber?: boolean;
|
|
97
|
+
/** `--column` */
|
|
98
|
+
column?: boolean;
|
|
99
|
+
/** Names before the lines (default true; `-h` false, `-H` true) */
|
|
100
|
+
pathname?: boolean;
|
|
101
|
+
/** `-z`: names followed by NUL, unquoted */
|
|
102
|
+
nullFollowingName?: boolean;
|
|
103
|
+
/** `-o` (ignored with `-v`, as git does) */
|
|
104
|
+
onlyMatching?: boolean;
|
|
105
|
+
/** `-c` */
|
|
106
|
+
count?: boolean;
|
|
107
|
+
/** `-l` */
|
|
108
|
+
nameOnly?: boolean;
|
|
109
|
+
/** `-L` */
|
|
110
|
+
unmatchNameOnly?: boolean;
|
|
111
|
+
/** `-q` */
|
|
112
|
+
statusOnly?: boolean;
|
|
113
|
+
/** `--break` */
|
|
114
|
+
fileBreak?: boolean;
|
|
115
|
+
/** `--heading` */
|
|
116
|
+
heading?: boolean;
|
|
117
|
+
/** `-B` */
|
|
118
|
+
preContext?: number;
|
|
119
|
+
/** `-A` */
|
|
120
|
+
postContext?: number;
|
|
121
|
+
/** `-p` */
|
|
122
|
+
funcname?: boolean;
|
|
123
|
+
/** `-W` */
|
|
124
|
+
funcbody?: boolean;
|
|
125
|
+
/** `-m` (negative: no limit) */
|
|
126
|
+
maxCount?: number;
|
|
127
|
+
/** `-a` (`text`), `-I` (`nomatch`) */
|
|
128
|
+
binary?: GrepBinaryMode;
|
|
129
|
+
/** Colors, or none (undefined) */
|
|
130
|
+
colors?: GrepColors;
|
|
131
|
+
/**
|
|
132
|
+
* The git version whose output and messages to follow (default `2.56`): 2.43 counts `-o`
|
|
133
|
+
* columns after the first from the end of the previous match, keeps a trailing empty line
|
|
134
|
+
* in a `-W` body, and words two expression errors differently
|
|
135
|
+
*/
|
|
136
|
+
compatibility?: "2.43" | "2.56";
|
|
137
|
+
/**
|
|
138
|
+
* git's worker threads: undefined or more than one prints as git's threaded grep (its
|
|
139
|
+
* default), 1 as `--threads=1`
|
|
140
|
+
*/
|
|
141
|
+
threads?: number;
|
|
142
|
+
}
|
|
143
|
+
/** One file or blob to search. */
|
|
144
|
+
export interface GrepSourceInput {
|
|
145
|
+
/** The name printed for it (relative, quoted, `<rev>:` before it) */
|
|
146
|
+
name: Uint8Array;
|
|
147
|
+
/** Its content (textconv applied when {@link textconv}), undefined when it cannot be read */
|
|
148
|
+
content: Uint8Array | undefined;
|
|
149
|
+
/** The diff driver's verdict (`-diff`, `diff.<driver>.binary`), else the content decides */
|
|
150
|
+
binary?: boolean;
|
|
151
|
+
/** The content is a textconv's output: never binary */
|
|
152
|
+
textconv?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* The function lines of `-p`/`-W` (the diff driver's funcname pattern); undefined: git's
|
|
155
|
+
* default rule. Asked only when needed; may throw as git dies on a bad pattern.
|
|
156
|
+
*/
|
|
157
|
+
findFunction?: () => FindFunction | undefined;
|
|
158
|
+
}
|
|
159
|
+
/** `buffer_is_binary`: a NUL among the first 8000 bytes */
|
|
160
|
+
export declare function bufferIsBinary(content: Uint8Array): boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Matches sources and collects git grep's output. Create one per `git grep` run (its hunk
|
|
163
|
+
* marks depend on what earlier sources printed); {@link output} gives what was printed.
|
|
164
|
+
*
|
|
165
|
+
* @throws GrepPatternError, GrepError (from the constructor) where git dies compiling
|
|
166
|
+
*/
|
|
167
|
+
export declare class GrepEngine {
|
|
168
|
+
private readonly patterns;
|
|
169
|
+
private readonly expr?;
|
|
170
|
+
private readonly allMatch;
|
|
171
|
+
private readonly o;
|
|
172
|
+
private readonly colors?;
|
|
173
|
+
private readonly threaded;
|
|
174
|
+
/** git 2.43 compatibility */
|
|
175
|
+
private readonly legacy;
|
|
176
|
+
private readonly skipFirstLineSetting;
|
|
177
|
+
private skipFirstLine;
|
|
178
|
+
private lastShown;
|
|
179
|
+
private showHunkMark;
|
|
180
|
+
private readonly out;
|
|
181
|
+
private cur;
|
|
182
|
+
/** The current source's funcname matcher: undefined not asked yet, null the default rule */
|
|
183
|
+
private findFunc;
|
|
184
|
+
private source?;
|
|
185
|
+
private buf;
|
|
186
|
+
constructor(tokens: readonly GrepToken[], options?: GrepEngineOptions);
|
|
187
|
+
/** Everything printed so far */
|
|
188
|
+
output(): Uint8Array;
|
|
189
|
+
/** Searches one source (grep.c's `grep_source`); returns whether it hit. */
|
|
190
|
+
grepSource(source: GrepSourceInput): boolean;
|
|
191
|
+
/** builtin/grep.c's work_done: the source's output, the first line of all dropped when threaded */
|
|
192
|
+
private workDone;
|
|
193
|
+
private emit;
|
|
194
|
+
private emitColor;
|
|
195
|
+
private emitSep;
|
|
196
|
+
private showName;
|
|
197
|
+
/** headerless_match_one_pattern: `[so, eo]` from `bol` */
|
|
198
|
+
private matchOne;
|
|
199
|
+
/** match_expr_eval; `col` and `icol` are the earliest match and inverted match columns */
|
|
200
|
+
private evaluate;
|
|
201
|
+
/** match_line */
|
|
202
|
+
private matchLine;
|
|
203
|
+
/** grep_next_match over every pattern: the earliest match (the longest of those) */
|
|
204
|
+
private nextMatch;
|
|
205
|
+
private showLineHeader;
|
|
206
|
+
/** show_line */
|
|
207
|
+
private showLine;
|
|
208
|
+
/** match_funcname */
|
|
209
|
+
private matchFuncname;
|
|
210
|
+
private isEmptyLine;
|
|
211
|
+
/** show_funcname_line */
|
|
212
|
+
private showFuncnameLine;
|
|
213
|
+
/** show_pre_context */
|
|
214
|
+
private showPreContext;
|
|
215
|
+
/** grep_source_1 */
|
|
216
|
+
private grepSource1;
|
|
217
|
+
}
|
|
218
|
+
//# sourceMappingURL=grep-engine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grep-engine.d.ts","sourceRoot":"","sources":["../../../src/commands/grep/grep-engine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEhF,8EAA8E;AAC9E,MAAM,MAAM,SAAS,GACjB;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,0BAA0B;IAC1B,OAAO,EAAE,UAAU,CAAC;IACpB,6EAA6E;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,yEAAyE;IACzE,EAAE,EAAE,MAAM,CAAC;CACZ,GACD;IAAE,IAAI,EAAE,KAAK,CAAA;CAA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AAC,OAAO;IAKf,OAAO,CAAC,QAAQ;IAKhB,0DAA0D;IAC1D,OAAO,CAAC,QAAQ;IAgChB,0FAA0F;IAC1F,OAAO,CAAC,QAAQ;IA0ChB,iBAAiB;IACjB,OAAO,CAAC,SAAS;IAoBjB,oFAAoF;IACpF,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,cAAc;IAqBtB,gBAAgB;IAChB,OAAO,CAAC,QAAQ;IAqDhB,qBAAqB;IACrB,OAAO,CAAC,aAAa;IAUrB,OAAO,CAAC,WAAW;IAMnB,yBAAyB;IACzB,OAAO,CAAC,gBAAgB;IAgBxB,uBAAuB;IACvB,OAAO,CAAC,cAAc;IAmDtB,oBAAoB;IACpB,OAAO,CAAC,WAAW;CA+HpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/grep/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* git's `add_to_index` and `remove_file_from_index` over one index editor: what `git add`
|
|
3
3
|
* and a partial commit's `add_remove_files` do to each path, applied together at `finish`.
|
|
4
4
|
*/
|
|
5
|
-
import { type Blobs, type ObjectId } from "@statewalker/vcs-core";
|
|
5
|
+
import { type Blobs, type ObjectId, type WorktreePathOptions } from "@statewalker/vcs-core";
|
|
6
6
|
import { type GitlinkHeadState, type Staging, type StagingEntry, type Worktree, type WorktreeEntry, type WorktreeModeTrust } from "@statewalker/vcs-working-tree";
|
|
7
7
|
/** What {@link IndexAdder.add} did with a path. */
|
|
8
8
|
export type AddOutcome = "unchanged" | "same" | "added";
|
|
@@ -88,8 +88,16 @@ export declare function gitlinkHeadState(worktree: Worktree, path: string): Prom
|
|
|
88
88
|
* git's error line for each matching entry that is no regular file ("error: cannot chmod
|
|
89
89
|
* +x '<path>'"). With `pretend` (`--dry-run`) nothing changes, the errors are the same.
|
|
90
90
|
*/
|
|
91
|
-
export declare function chmodIndexEntries(staging: Staging, flip: "+" | "-", matches: (entry: StagingEntry) => boolean,
|
|
91
|
+
export declare function chmodIndexEntries(staging: Staging, flip: "+" | "-", matches: (entry: StagingEntry) => boolean,
|
|
92
|
+
/**
|
|
93
|
+
* `includeSkipWorktree`: skip-worktree entries too (`git add --sparse --chmod`);
|
|
94
|
+
* `collapsed`: sparse directories git holds as one entry each (`out/`), refused as any
|
|
95
|
+
* entry that is no regular file when matched
|
|
96
|
+
*/
|
|
97
|
+
options?: {
|
|
92
98
|
pretend?: boolean;
|
|
99
|
+
includeSkipWorktree?: boolean;
|
|
100
|
+
collapsed?: readonly string[];
|
|
93
101
|
}): Promise<string[]>;
|
|
94
102
|
/**
|
|
95
103
|
* Index edits made as git's `add_index_entry_with_check` makes them, with
|
|
@@ -114,6 +122,8 @@ export declare class IndexAdder {
|
|
|
114
122
|
private readonly trust;
|
|
115
123
|
/** git's `ADD_CACHE_PRETEND` (`add --dry-run`): nothing is written or edited */
|
|
116
124
|
private readonly pretend;
|
|
125
|
+
/** `verify_path`'s rules (`core.protectNTFS`, `core.protectHFS`; default both on) */
|
|
126
|
+
private readonly pathRules;
|
|
117
127
|
private readonly editor;
|
|
118
128
|
private readonly resolveUndo;
|
|
119
129
|
/** The paths' conflict stages, until a stage-0 entry or a removal resolves them */
|
|
@@ -139,6 +149,7 @@ export declare class IndexAdder {
|
|
|
139
149
|
*/
|
|
140
150
|
static open(staging: Staging, blobs: Blobs, trust: WorktreeModeTrust, options?: {
|
|
141
151
|
pretend?: boolean;
|
|
152
|
+
pathRules?: WorktreePathOptions;
|
|
142
153
|
}): Promise<IndexAdder>;
|
|
143
154
|
/**
|
|
144
155
|
* Whether the index had a stage-0 entry at `path` before the edits: a binary search of the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-adder.d.ts","sourceRoot":"","sources":["../../src/commands/index-adder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH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,aAAa;IAUrB,sFAAsF;IACtF,0FAA0F;IAC1F,OAAO,KAAK,WAAW,GAEtB;YAEa,cAAc;IAM5B,iGAAiG;IACjG,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAMzB;IAED;;;;;OAKG;IACH,GAAG,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAQ7B;IAED;;;;;OAKG;IACG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAS5B;IAED,yFAAyF;IACzF,OAAO,CAAC,OAAO;IAmBf;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAatB,wDAAwD;IACxD,OAAO,CAAC,WAAW;IAwBnB,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,WAAW;CAIpB;AAED,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAIpE;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,EACvC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,EACvB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,GACxB,MAAM,EAAE,CAaV"}
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -6,7 +6,9 @@ export * from "./backfill-command.js";
|
|
|
6
6
|
export * from "./bisect/index.js";
|
|
7
7
|
export * from "./blame-command.js";
|
|
8
8
|
export * from "./branch-command.js";
|
|
9
|
+
export * from "./branch-info-command.js";
|
|
9
10
|
export { TrackMode } from "./branch-tracking.js";
|
|
11
|
+
export * from "./branch-upstream-command.js";
|
|
10
12
|
export * from "./checkout-command.js";
|
|
11
13
|
export * from "./checkout-paths.js";
|
|
12
14
|
export * from "./cherry-pick-command.js";
|
|
@@ -14,27 +16,33 @@ export * from "./clean-command.js";
|
|
|
14
16
|
export * from "./clone-command.js";
|
|
15
17
|
export * from "./comment-char-config.js";
|
|
16
18
|
export * from "./commit-command.js";
|
|
19
|
+
export * from "./config-command.js";
|
|
17
20
|
export * from "./date-format.js";
|
|
18
21
|
export * from "./default-branch.js";
|
|
19
22
|
export * from "./describe-command.js";
|
|
23
|
+
export * from "./diff-color-config.js";
|
|
20
24
|
export * from "./diff-command.js";
|
|
21
25
|
export * from "./diff-textconv.js";
|
|
22
26
|
export * from "./fetch-command.js";
|
|
27
|
+
export * from "./fmt-merge-msg-command.js";
|
|
23
28
|
export * from "./format-patch-command.js";
|
|
24
29
|
export * from "./fsck/index.js";
|
|
25
30
|
export * from "./gc-command.js";
|
|
26
31
|
export * from "./git-describe.js";
|
|
27
32
|
export * from "./git-hooks.js";
|
|
28
33
|
export * from "./git-ident.js";
|
|
34
|
+
export * from "./grep/index.js";
|
|
29
35
|
export * from "./hook-command.js";
|
|
30
36
|
export { IndexVersionConfigError, indexFormatDefault, indexVersionConfigError, takeIndexWarnings, } from "./index-host.js";
|
|
31
37
|
export * from "./init-command.js";
|
|
38
|
+
export * from "./interpret-trailers-command.js";
|
|
32
39
|
export { httpBackendEnv, quarantineEnv, remoteHookSession } from "./local-transport.js";
|
|
33
40
|
export * from "./log-command.js";
|
|
34
41
|
export * from "./log-graph.js";
|
|
35
42
|
export * from "./log-output.js";
|
|
36
43
|
export * from "./ls-remote-command.js";
|
|
37
44
|
export * from "./mailmap.js";
|
|
45
|
+
export * from "./merge-base-command.js";
|
|
38
46
|
export * from "./merge-command.js";
|
|
39
47
|
export { createMergeDriver, installMergeDrivers, type MergeAttributeValue, type MergeDriver, type MergeDriverInput, type MergeDriverRegistry, type MergeDriverResult, mergeDriversOf, } from "./merge-drivers.js";
|
|
40
48
|
export { CleanupMode, stripspace } from "./message-cleanup.js";
|
|
@@ -52,11 +60,13 @@ export * from "./push-command.js";
|
|
|
52
60
|
export * from "./read-tree-command.js";
|
|
53
61
|
export * from "./rebase-command.js";
|
|
54
62
|
export * from "./ref-decoration-filter.js";
|
|
63
|
+
export * from "./ref-filter/index.js";
|
|
55
64
|
export * from "./reflog-command.js";
|
|
56
65
|
export { committerIdent, reflogMessages, reflogSubject, } from "./reflog-messages.js";
|
|
57
66
|
export * from "./remote-command.js";
|
|
58
67
|
export * from "./reset-command.js";
|
|
59
68
|
export * from "./restore-command.js";
|
|
69
|
+
export * from "./rev-filter/index.js";
|
|
60
70
|
export * from "./rev-list-command.js";
|
|
61
71
|
export * from "./rev-parse-command.js";
|
|
62
72
|
export * from "./revert-command.js";
|
|
@@ -66,19 +76,35 @@ export * from "./revision-resolver.js";
|
|
|
66
76
|
export * from "./rm-command.js";
|
|
67
77
|
export { SequencerOperation } from "./sequencer-pick.js";
|
|
68
78
|
export * from "./serve-repository.js";
|
|
79
|
+
export * from "./show-command.js";
|
|
80
|
+
export * from "./signature-check.js";
|
|
81
|
+
export * from "./signing.js";
|
|
69
82
|
export * from "./sparse-checkout-command.js";
|
|
83
|
+
export * from "./ssh-signer.js";
|
|
84
|
+
export * from "./ssh-verifier.js";
|
|
70
85
|
export * from "./stash-apply-command.js";
|
|
86
|
+
export * from "./stash-branch-command.js";
|
|
71
87
|
export * from "./stash-create-command.js";
|
|
72
88
|
export * from "./stash-drop-command.js";
|
|
89
|
+
export * from "./stash-info.js";
|
|
73
90
|
export * from "./stash-list-command.js";
|
|
91
|
+
export * from "./stash-pop-command.js";
|
|
92
|
+
export * from "./stash-show-command.js";
|
|
93
|
+
export * from "./stash-store-command.js";
|
|
74
94
|
export * from "./stash-working-tree.js";
|
|
75
95
|
export * from "./status-command.js";
|
|
76
96
|
export * from "./status-format.js";
|
|
97
|
+
export * from "./submodule-add-command.js";
|
|
98
|
+
export * from "./submodule-auth.js";
|
|
99
|
+
export * from "./submodule-commands.js";
|
|
100
|
+
export * from "./submodule-model.js";
|
|
77
101
|
export * from "./submodule-summary.js";
|
|
78
102
|
export * from "./submodule-summary-command.js";
|
|
103
|
+
export * from "./submodule-update-command.js";
|
|
79
104
|
export * from "./switch-command.js";
|
|
80
105
|
export * from "./tag-command.js";
|
|
81
106
|
export * from "./trailers.js";
|
|
107
|
+
export * from "./verify-command.js";
|
|
82
108
|
export * from "./worktree-add-command.js";
|
|
83
109
|
export * from "./worktree-list-command.js";
|
|
84
110
|
export * from "./worktree-lock-command.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,aAAa,E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cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,WAAW,EACX,KAAK,cAAc,GACpB,MAAM,uBAAuB,CAAC"}
|
package/dist/commands/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { $t as
|
|
3
|
-
export { AddCommand, AmCommand, ApplyCommand, ApplyEngine, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameCommand, CheckoutCommand, CheckoutStage, CheckoutStatus, CherryPickCommand, CleanCommand, CleanupMode, CloneCommand, CommitCommand, CopyBranchCommand, CreateBranchCommand, DEFAULT_DATE_MODE, DEFAULT_IDENT, DateModeError, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DiffCommand, FIND_BISECTION_ALL, FIND_BISECTION_FIRST_PARENT_ONLY, FSCK_ERROR_BITMAP_243, FSCK_ERROR_COMMIT_GRAPH, FSCK_ERROR_MULTI_PACK_INDEX_243, FSCK_ERROR_OBJECT, FSCK_ERROR_PACK, FSCK_ERROR_PACK_REV_INDEX_243, FSCK_ERROR_REACHABLE, FSCK_ERROR_REFS, FSCK_MSG_IDS, FetchCommand, FormatPatchCommand, FormatPatchError, FsckCommand, FsckConfigError, FsckMessageTypes, GarbageCollectCommand, HookListCommand, HookRunCommand, HookSession, IdentityUnknownError, IndexRefresh, IndexVersionConfigError, InitCommand, InvalidDateError, InvalidDefaultBranchError, InvalidIdentError, InvalidInitialBranchError, LAZY_FETCH_DISABLED_WARNING, LOCAL_REPO_ENV, ListBranchCommand, ListTagCommand, LogCommand, LogGraph, LogPrinter, LsRemoteCommand, Mailmap, MergeCommand, MergeOperation, MissingDefaultBranchValueError, MvCommand, NULL_OBJECT_ID, NoChangesSelectedError, NoStagedChangesError, NotesAddCommand, NotesAppendCommand, NotesCommands, NotesCopyCommand, NotesEditCommand, NotesError, NotesGetRefCommand, NotesListCommand, NotesMergeCommand, NotesPruneCommand, NotesRemoveCommand, NotesShowCommand, NotesSubcommand, NotesTree, PATCH_MODES, PRN_MODULO, PackRefsCommand, PrettyFormatError, PullCommand, PushCommand, ReadTreeCommand, RebaseCommand, RebaseOperation, ReflogCommand, ReinitializeHashError, RemoteAddCommand, RemoteGetUrlCommand, RemoteListCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RenameBranchCommand, ResetCommand, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevisionResolver, RmCommand, SHA1_ID_SHAPE, STASH_REF, SequencerOperation, SparseCheckoutCommand, StashApplyCommand, StashCreateCommand, StashDropCommand, StashListCommand, StashPathspecResetError, StashWorktreeRemovalError, StatusCommand, StatusPrinter, SubmoduleRepository, SubmoduleSummaryCommand, SubmoduleWalkError, SwitchCommand, TREESAME, TagCommand, TagOption, TrackMode, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownRefFormatError, VerifyPackCommand, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, appendSignoff, appendTrailers, authorIdentOf, autoCommentCharLines, bytesToLatin1, canonMode, checkAutoCommentChar, checkFilename, checkFlaggedEntries, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, committerIdent, committerIdentOf, commonGitFileOf, configuredHookEntries, configuredHooks, createDescriber, createMergeDriver, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, cutLine, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, ensureUtf8, estimateBisectSteps, favorOf, fetchFsckOf, findBisection, findIdent, formatCommitPretty, formatDiffEntry, formatRefDecorations, formatStatusText, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, gitCommitAfterHooks, gitCommitMessageHooks, handleRevisionArg, hasPromisorRemote, hexIdAt, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, humanDate, identConfigOf, indexFormatDefault, indexVersionConfigError, installMergeDrivers, installPromisorFetcher, installTextconvRunner, isBisectSuccess, isKnownHook, isValidBranchName, isValidRemoteName, latin1ToBytes, latin1ToPath, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, mailFromHeader, mailinfo, mailsplit, managedSkipped, mergeDriversOf, mergesMode, nonCommitSwitchError, nullIdLike, openSubmoduleRepository, parseColorSpec, parseCommitBuffer, parseCommitLinks, parseDateMode, parseExpiry, parseFsckMsgId, parseGitDate, parseGitmodulesConfig, parseIgnoredMode, parseRevisionAndPathArgs, parseRevisionArgs, parseSubmoduleDiffFormat, parseTagBuffer, parseUntrackedFilesMode, parseWhitespaceAction, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, promisorOf, promisorRemotes, promptIndex, quarantineEnv, rawIdAt, readDiffSubmoduleConfig, readGitmodulesEntries, readShowUntrackedFiles, readSubmoduleDirt, recordWrittenStat, refTransactionHookOf, reflogMessages, reflogSubject, registerPartialClone, relativeDate, remoteHookSession, resolveAuthorIdent, resolveCommitterIdent, resolveIdentDate, restoreWorktreeHard, revisionMergeBases, runAddInteractive, runAddPatch, runPatchSelection, runPathCheckout, runPostCheckoutHook, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, shortenUnambiguousRef, showDate, showSubmoduleDiffSummary, skipAway, skipAwayIndex, sqDequoteToArgv, sqQuote, sqQuoteArgv, statusCommitInfo, strbufRtrim, strbufTrim, stripspace, submoduleHeader, takeIndexWarnings, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trailerConfigOf, treeEntryId, unknownRevisionMessage, verifyFilename, verifyNonFilename, walkTree, withoutCrud, wrapText };
|
|
1
|
+
import { $n as IdentityUnknownError, A as walkTree, An as gitFileOf, At as InvalidInitialBranchError, B as signCommit, Bn as sequencerPrepareMessage, C as parseCommitBuffer, Cn as HookSession, Ct as hasPromisorRemote, D as rawIdAt, Dn as configuredHooks, Dt as registerPartialClone, E as parseTagBuffer, En as configuredHookEntries, Et as promisorRemotes, Fn as isKnownHook, Ft as defaultRefFormat, G as RevisionResolver, Gn as AutoCommentCharRemovedError, H as signRequestOf, I as SIGNING_FAILED_LINES, In as nullIdLike, It as isValidBranchName, K as TrackMode, Kn as autoCommentCharLines, L as SigningFailedError, Ln as refTransactionHookOf, Lt as IndexVersionConfigError, M as FsckMessageTypes, Mn as hookRunnerOf, Mt as UnknownRefFormatError, N as UnknownFsckMsgIdError, Nn as hookSettingsCheck, Nt as defaultBranchHint, O as scanTree, On as gitCommitAfterHooks, P as parseFsckMsgId, Pn as hookSettingsFromEntries, Pt as defaultInitialBranch, Qn as DEFAULT_IDENT, R as refuseCommitSigning, Rn as runPostCheckoutHook, Rt as indexFormatDefault, S as hexIdAt, St as createPromisorFetcher, T as parseGitmodulesConfig, Tn as commonGitFileOf, Tt as promisorOf, U as signerOf, V as signPayload, Vt as takeIndexWarnings, W as signingConfigOf, _ as checkSubmoduleUrl, _t as reflogMessages, a as FSCK_ERROR_OBJECT, ar as hostEnvironmentOf, b as fsckTag, c as FSCK_ERROR_REACHABLE, cr as resolveCommitterIdent, ct as lstatExists, d as FsckConfigError, dt as verifyNonFilename, er as InvalidDateError, f as fetchFsckOf, ft as handleRevisionArg, g as checkSubmoduleName, h as canonMode, ht as committerIdent, i as FSCK_ERROR_MULTI_PACK_INDEX_243, ir as findIdent, j as FSCK_MSG_IDS, jn as hookHostOf, jt as MissingDefaultBranchValueError, k as treeEntryId, kn as gitCommitMessageHooks, kt as InvalidDefaultBranchError, l as FSCK_ERROR_REFS, lr as resolveIdentDate, lt as parseRevisionAndPathArgs, m as SHA1_ID_SHAPE, mr as parseGitDate, mt as unknownRevisionMessage, n as FSCK_ERROR_BITMAP_243, nr as authorIdentOf, o as FSCK_ERROR_PACK, or as identConfigOf, ot as checkFilename, p as receiveFsckOf, pr as localTimezoneOffset, pt as parseRevisionArgs, qn as checkAutoCommentChar, r as FSCK_ERROR_COMMIT_GRAPH, rr as committerIdentOf, s as FSCK_ERROR_PACK_REV_INDEX_243, sr as resolveAuthorIdent, st as looksLikePathspec, t as VerifyPackCommand, tr as InvalidIdentError, u as FsckCommand, ur as withoutCrud, ut as verifyFilename, v as fsckBlob, vt as reflogSubject, w as parseCommitLinks, wn as LOCAL_REPO_ENV, wt as installPromisorFetcher, x as fsckTree, xt as LAZY_FETCH_DISABLED_WARNING, y as fsckCommit, z as resolveSigning, zn as sequencerPostCommit, zt as indexVersionConfigError } from "../fsck-DLRpbwTj.js";
|
|
2
|
+
import { $ as physicalFilesPath, $a as compileCommitGrep, $i as parseColorSpec, $n as filterAndFormatRefs, $r as CheckoutStatus, $t as GarbageCollectCommand, A as RmCommand, Aa as readGitmodulesEntries, Ai as parseIgnoredMode, An as UNMERGED_FILES_MESSAGE, Ao as hostZoneName, Ar as BisectCode, At as NotesListCommand, B as SubmoduleSyncCommand, Ba as parseSignedBuffer, Bi as installTextconvRunner, Bn as ShowCurrentBranchCommand, Bo as parseWhitespaceAction, Br as BisectNode, Bt as ReinitializeHashError, C as StashBranchCommand, Ca as parseExpiry, Ci as createPatchBackend, Cn as remoteHookSession, Co as signoffLine, Cr as BisectResetCommand, Ct as NotesCommands, D as createSshSigner, Da as openSubmoduleRepository, Di as hasPickaxe, Dn as SequencerOperation, Do as validateTrailerArgs, Dr as BisectStateCommand, Dt as NotesCopyCommand, E as createSshVerifier, Ea as SubmoduleWalkError, Ei as formatDiffEntry, En as CherryPickCommand, Eo as trailerLinesOf, Er as BisectStartCommand, Et as NotesAppendCommand, F as SubmoduleDeinitCommand, Fa as checkSignature, Fi as StatusPrinter, Fn as fmtMergeMsgConfigOf, Fo as graphColumnColors, Fr as sqQuoteArgv, Ft as MvCommand, G as SubmoduleModel, Ga as signatureLetter, Gi as PrettyFormatError, Gn as RenameBranchCommand, Go as pathToLatin1, Gr as UNINTERESTING, Gt as GrepCommand, H as shellQuote, Ha as readStoredObjectBytes, Hi as DEFAULT_DECORATION_COLORS, Hn as CreateBranchCommand, Ho as bytesToLatin1, Hr as FIND_BISECTION_FIRST_PARENT_ONLY, I as SubmoduleForeachCommand, Ia as mergetagsOf, Ii as formatStatusText, In as CommitCommand, Io as createMergeDriver, Ir as strbufRtrim, It as MergeBaseCommand, J as joinFilesPath, Ja as verifyMergeSignature, Ji as formatRefDecorations, Jn as RefListingCommand, Jo as createRefDecorationFilter, Jr as managedSkipped, Jt as GrepEngine, K as defaultRemoteOf, Ka as trustRank, Ki as expandStringArg, Kn as DEFAULT_FOR_EACH_REF_FORMAT, Ko as CleanupMode, Kr as estimateBisectSteps, Kt as grepNoIndex, L as SubmoduleInitCommand, La as parseBufferSignedByHeader, Li as statusCommitInfo, Ln as SetUpstreamBranchCommand, Lo as installMergeDrivers, Lr as strbufTrim, Lt as LsRemoteCommand, M as SubmoduleAbsorbGitDirsCommand, Ma as submoduleHeader, Mi as readShowUntrackedFiles, Mn as favorOf, Mo as showDate, Mr as isBisectSuccess, Mt as NotesRemoveCommand, N as SubmoduleCommandBase, Na as SignatureVerificationError, Ni as readSubmoduleDirt, Nn as DEFAULT_MERGE_LOG_LENGTH, No as GRAPH_COLUMN_COLORS_ANSI, Nr as sqDequoteToArgv, Nt as NotesShowCommand, O as ShowCommand, Oa as parseSubmoduleDiffFormat, Oi as StatusCommand, On as MergeCommand, Oo as DEFAULT_DATE_MODE, Or as BisectTermsCommand, Ot as NotesEditCommand, P as SubmoduleCommandError, Pa as bytesOf, Pi as SubmoduleSummaryCommand, Pn as FmtMergeMsgCommand, Po as LogGraph, Pr as sqQuote, Pt as NotesSubcommand, Q as parseSubmoduleUpdateStrategy, Qa as applyMailmapToHeader, Qi as matchBoolArg, Qn as fillIsBase, Qr as CheckoutStage, Qt as grepPatternFile, R as SubmoduleSetBranchCommand, Ra as parseGpgOutput, Ri as RevParseCommand, Rn as UnsetUpstreamBranchCommand, Ro as mergeDriversOf, Rr as BisectDie, Rt as InterpretTrailersCommand, S as StashPopCommand, Sa as shortenUnambiguousRef, Si as IndexRefresh, Sn as quarantineEnv, So as processTrailers, Sr as BisectReplayCommand, St as PackRefsCommand, T as StashDropCommand, Ta as SubmoduleRepository, Ti as checkPickaxeOptions, Tn as CleanCommand, To as trailerConfigOf, Tr as BisectSkipCommand, Tt as NotesAddCommand, U as Gitmodules, Ua as removeSignatureHeaders, Ui as readDiffColorSettings, Un as DeleteBranchCommand, Uo as latin1ToBytes, Ur as PRN_MODULO, Ut as HookListCommand, V as notFromUser, Va as parseSshOutput, Vi as textconvRunnerOf, Vn as CopyBranchCommand, Vo as ApplyEngine, Vr as FIND_BISECTION_ALL, Vt as UnknownHashAlgorithmError, W as SubmoduleGitDirError, Wa as signatureFormatAt, Wi as whitespaceRuleError, Wn as ListBranchCommand, Wo as latin1ToPath, Wr as TREESAME, Wt as HookRunCommand, X as openConfigFile, Xa as CommitFilters, Xi as loadRefDecorations, Xn as compareBytes, Xr as skipAwayIndex, Xt as bufferIsBinary, Y as lstatKind, Ya as verifyTagBytes, Yi as humanDate, Yn as createDescriber, Yo as decorateFullRefs, Yr as skipAway, Yt as GrepError, Z as parentIsDirectory, Za as GrepPatternError, Zi as matchArgValue, Zn as fillAheadBehind, Zr as CheckoutCommand, Zt as grepPattern, _ as strictUrlOrigin, _a as STASH_REF, _i as runPatchSelection, _n as toTagMode, _o as ignoredLogMessageBytes, _r as parseAtom, _t as RevListCommand, a as WorktreeUnlockCommand, aa as NoStagedChangesError, ai as AmCommand, an as CloneCommand, ao as combineNotesOverwrite, ar as versionCompare, at as safeCreateLeadingDirectories, b as StashStoreCommand, ba as RevFilter, bi as patchModeFor, bo as parseTrailerIfMissing, br as BisectLogCommand, bt as RebaseCommand, c as VerifyTagCommand, ca as StashWorktreeRemovalError, ci as maildirFilenameCompare, cn as RemoteGetUrlCommand, co as LogPrinter, cr as lstripRef, ct as submoduleUpdateTypeName, d as TagCommand, da as checkFlaggedEntries, di as mailinfo, dn as RemoteRenameCommand, do as mergesMode, dr as signatureStart, dt as validateSubmoduleGitDir, ea as parseMaybeBool, ei as nonCommitSwitchError, en as WorktreePruneCommand, eo as NotesError, er as filterRefs, et as relativeFilesPath, f as SwitchCommand, fa as recordWrittenStat, fi as mailsplit, fn as RemoteSetHeadCommand, fo as reencodedCommitParts, fr as tagHeader, ft as validateSubmodulePath, g as guardSubmoduleTransports, ga as StashApplyCommand, gi as pathPatchMode, gn as TagOption, go as formatTrailersOf, gr as atomSource, gt as ReflogCommand, h as createSubmoduleAuthPolicy, hi as patchRevisionOf, hn as FetchCommand, ho as appendTrailers, hr as ATOM_NAMES, ht as RestoreCommand, i as WorktreeLockCommand, ia as NoChangesSelectedError, ii as BackfillCommand, in as ConfigCommand, io as combineNotesIgnore, ir as sortRefs, it as resolveRelativeUrl, j as SUBMODULE_UNSET_ENV, ja as showSubmoduleDiffSummary, ji as parseUntrackedFilesMode, jn as UNRELATED_HISTORIES_MESSAGE, jo as parseDateMode, jr as BisectEngine, jt as NotesPruneCommand, k as servedRepositoryOf, ka as readDiffSubmoduleConfig, ki as cutLine, kn as MergeOperation, ko as DateModeError, kr as BISECT_USAGE, kt as NotesGetRefCommand, l as DeleteTagCommand, la as WorkingCopyStashProvider, li as mailsplitFiles, ln as RemoteListCommand, lo as mailFromHeader, lr as rstripRef, lt as upPathOf, m as SubmoduleUpdateCommand, mi as runAddInteractive, mn as isValidRemoteName, mo as appendSignoff, mr as quoteRefValue, mt as RevertCommand, n as WorktreeMoveCommand, na as sanitizedSubject, ni as checkoutPaths, nn as FormatPatchError, no as combineNotesCatSortUniq, nr as parseRefSorting, nt as remoteFromUrl, o as WorktreeAddCommand, oa as StashCreateCommand, oi as ensureUtf8, on as SparseCheckoutCommand, oo as Mailmap, or as RefFormat, ot as setInConfigFile, p as SubmoduleStatusCommand, pa as restoreWorktreeHard, pi as AddCommand, pn as RemoteSetUrlCommand, po as amendWithTrailers, pr as trimTrailingSpaces, pt as worktreeHostPath, q as isRelativeSubmoduleUrl, qa as verifyCommitBytes, qi as formatCommitPretty, qn as ForEachRefCommand, qo as stripspace, qr as findBisection, qt as DEFAULT_GREP_COLORS, r as WorktreeRemoveCommand, ra as wrapText, ri as runPathCheckout, rn as DescribeCommand, ro as combineNotesConcatenate, rr as refKindOf, rt as resolveFilesLinks, s as VerifyCommitCommand, sa as StashPathspecResetError, si as isMboxFromLine, sn as RemoteAddCommand, so as readRepositoryMailmap, sr as RefKind, st as submodulePathConfigOf, t as WorktreeRepairCommand, ta as relativeDate, ti as pathCheckoutResult, tn as FormatPatchCommand, to as NotesTree, tr as isRootRef, tt as relativeUrl, u as ListTagCommand, ua as ResetCommand, ui as splitMail, un as RemoteRemoveCommand, uo as mailSubjectLine, ur as shortenRefName, ut as urlIsLocalNotSsh, v as SubmoduleAddCommand, va as StashListCommand, vi as runAddPatch, vn as toTrackingRefUpdate, vo as interpretTrailers, vr as BlameCommand, vt as PushCommand, w as StashInfoCommand, wa as NULL_OBJECT_ID, wi as DiffCommand, wn as ReadTreeCommand, wo as trailerConfigFromEntries, wr as BisectRunCommand, wt as NotesMergeCommand, x as StashShowCommand, xa as WorktreeListCommand, xi as promptIndex, xn as httpBackendEnv, xo as parseTrailerWhere, xr as BisectNextCommand, xt as RebaseOperation, y as gitUrlBasename, ya as LogCommand, yi as PATCH_MODES, yo as parseTrailerIfExists, yr as BisectCommand, yt as PullCommand, z as SubmoduleSetUrlCommand, za as parseSignature, zi as revisionMergeBases, zn as EditBranchDescriptionCommand, zo as ApplyCommand, zr as BisectGraph, zt as InitCommand } from "../commands-ISM52N0n.js";
|
|
3
|
+
export { ATOM_NAMES, AddCommand, AmCommand, ApplyCommand, ApplyEngine, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameCommand, CheckoutCommand, CheckoutStage, CheckoutStatus, CherryPickCommand, CleanCommand, CleanupMode, CloneCommand, CommitCommand, CommitFilters, ConfigCommand, CopyBranchCommand, CreateBranchCommand, DEFAULT_DATE_MODE, DEFAULT_DECORATION_COLORS, DEFAULT_FOR_EACH_REF_FORMAT, DEFAULT_GREP_COLORS, DEFAULT_IDENT, DEFAULT_MERGE_LOG_LENGTH, DateModeError, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DiffCommand, EditBranchDescriptionCommand, FIND_BISECTION_ALL, FIND_BISECTION_FIRST_PARENT_ONLY, FSCK_ERROR_BITMAP_243, FSCK_ERROR_COMMIT_GRAPH, FSCK_ERROR_MULTI_PACK_INDEX_243, FSCK_ERROR_OBJECT, FSCK_ERROR_PACK, FSCK_ERROR_PACK_REV_INDEX_243, FSCK_ERROR_REACHABLE, FSCK_ERROR_REFS, FSCK_MSG_IDS, FetchCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FormatPatchError, FsckCommand, FsckConfigError, FsckMessageTypes, GRAPH_COLUMN_COLORS_ANSI, GarbageCollectCommand, Gitmodules, GrepCommand, GrepEngine, GrepError, GrepPatternError, HookListCommand, HookRunCommand, HookSession, IdentityUnknownError, IndexRefresh, IndexVersionConfigError, InitCommand, InterpretTrailersCommand, InvalidDateError, InvalidDefaultBranchError, InvalidIdentError, InvalidInitialBranchError, LAZY_FETCH_DISABLED_WARNING, LOCAL_REPO_ENV, ListBranchCommand, ListTagCommand, LogCommand, LogGraph, LogPrinter, LsRemoteCommand, Mailmap, MergeBaseCommand, MergeCommand, MergeOperation, MissingDefaultBranchValueError, MvCommand, NULL_OBJECT_ID, NoChangesSelectedError, NoStagedChangesError, NotesAddCommand, NotesAppendCommand, NotesCommands, NotesCopyCommand, NotesEditCommand, NotesError, NotesGetRefCommand, NotesListCommand, NotesMergeCommand, NotesPruneCommand, NotesRemoveCommand, NotesShowCommand, NotesSubcommand, NotesTree, PATCH_MODES, PRN_MODULO, PackRefsCommand, PrettyFormatError, PullCommand, PushCommand, ReadTreeCommand, RebaseCommand, RebaseOperation, RefFormat, RefKind, RefListingCommand, ReflogCommand, ReinitializeHashError, RemoteAddCommand, RemoteGetUrlCommand, RemoteListCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RenameBranchCommand, ResetCommand, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevisionResolver, RmCommand, SHA1_ID_SHAPE, SIGNING_FAILED_LINES, STASH_REF, SUBMODULE_UNSET_ENV, SequencerOperation, SetUpstreamBranchCommand, ShowCommand, ShowCurrentBranchCommand, SignatureVerificationError, SigningFailedError, SparseCheckoutCommand, StashApplyCommand, StashBranchCommand, StashCreateCommand, StashDropCommand, StashInfoCommand, StashListCommand, StashPathspecResetError, StashPopCommand, StashShowCommand, StashStoreCommand, StashWorktreeRemovalError, StatusCommand, StatusPrinter, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleCommandBase, SubmoduleCommandError, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleGitDirError, SubmoduleInitCommand, SubmoduleModel, SubmoduleRepository, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SubmoduleWalkError, SwitchCommand, TREESAME, TagCommand, TagOption, TrackMode, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownRefFormatError, UnsetUpstreamBranchCommand, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, amendWithTrailers, appendSignoff, appendTrailers, applyMailmapToHeader, atomSource, authorIdentOf, autoCommentCharLines, bufferIsBinary, bytesOf, bytesToLatin1, canonMode, checkAutoCommentChar, checkFilename, checkFlaggedEntries, checkPickaxeOptions, checkSignature, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, committerIdent, committerIdentOf, commonGitFileOf, compareBytes, compileCommitGrep, configuredHookEntries, configuredHooks, createDescriber, createMergeDriver, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, createSshSigner, createSshVerifier, createSubmoduleAuthPolicy, cutLine, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, defaultRemoteOf, ensureUtf8, estimateBisectSteps, expandStringArg, favorOf, fetchFsckOf, fillAheadBehind, fillIsBase, filterAndFormatRefs, filterRefs, findBisection, findIdent, fmtMergeMsgConfigOf, formatCommitPretty, formatDiffEntry, formatRefDecorations, formatStatusText, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, gitCommitAfterHooks, gitCommitMessageHooks, gitFileOf, gitUrlBasename, graphColumnColors, grepNoIndex, grepPattern, grepPatternFile, guardSubmoduleTransports, handleRevisionArg, hasPickaxe, hasPromisorRemote, hexIdAt, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, humanDate, identConfigOf, ignoredLogMessageBytes, indexFormatDefault, indexVersionConfigError, installMergeDrivers, installPromisorFetcher, installTextconvRunner, interpretTrailers, isBisectSuccess, isKnownHook, isMboxFromLine, isRelativeSubmoduleUrl, isRootRef, isValidBranchName, isValidRemoteName, joinFilesPath, latin1ToBytes, latin1ToPath, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, lstatKind, lstripRef, mailFromHeader, mailSubjectLine, maildirFilenameCompare, mailinfo, mailsplit, mailsplitFiles, managedSkipped, matchArgValue, matchBoolArg, mergeDriversOf, mergesMode, mergetagsOf, nonCommitSwitchError, notFromUser, nullIdLike, openConfigFile, openSubmoduleRepository, parentIsDirectory, parseAtom, parseBufferSignedByHeader, parseColorSpec, parseCommitBuffer, parseCommitLinks, parseDateMode, parseExpiry, parseFsckMsgId, parseGitDate, parseGitmodulesConfig, parseGpgOutput, parseIgnoredMode, parseMaybeBool, parseRefSorting, parseRevisionAndPathArgs, parseRevisionArgs, parseSignature, parseSignedBuffer, parseSshOutput, parseSubmoduleDiffFormat, parseSubmoduleUpdateStrategy, parseTagBuffer, parseTrailerIfExists, parseTrailerIfMissing, parseTrailerWhere, parseUntrackedFilesMode, parseWhitespaceAction, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, physicalFilesPath, processTrailers, promisorOf, promisorRemotes, promptIndex, quarantineEnv, quoteRefValue, rawIdAt, readDiffColorSettings, readDiffSubmoduleConfig, readGitmodulesEntries, readRepositoryMailmap, readShowUntrackedFiles, readStoredObjectBytes, readSubmoduleDirt, receiveFsckOf, recordWrittenStat, reencodedCommitParts, refKindOf, refTransactionHookOf, reflogMessages, reflogSubject, refuseCommitSigning, registerPartialClone, relativeDate, relativeFilesPath, relativeUrl, remoteFromUrl, remoteHookSession, removeSignatureHeaders, resolveAuthorIdent, resolveCommitterIdent, resolveFilesLinks, resolveIdentDate, resolveRelativeUrl, resolveSigning, restoreWorktreeHard, revisionMergeBases, rstripRef, runAddInteractive, runAddPatch, runPatchSelection, runPathCheckout, runPostCheckoutHook, safeCreateLeadingDirectories, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, setInConfigFile, shellQuote, shortenRefName, shortenUnambiguousRef, showDate, showSubmoduleDiffSummary, signCommit, signPayload, signRequestOf, signatureFormatAt, signatureLetter, signatureStart, signerOf, signingConfigOf, signoffLine, skipAway, skipAwayIndex, sortRefs, splitMail, sqDequoteToArgv, sqQuote, sqQuoteArgv, statusCommitInfo, strbufRtrim, strbufTrim, strictUrlOrigin, stripspace, submoduleHeader, submodulePathConfigOf, submoduleUpdateTypeName, tagHeader, takeIndexWarnings, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trailerConfigFromEntries, trailerConfigOf, trailerLinesOf, treeEntryId, trimTrailingSpaces, trustRank, unknownRevisionMessage, upPathOf, urlIsLocalNotSsh, validateSubmoduleGitDir, validateSubmodulePath, validateTrailerArgs, verifyCommitBytes, verifyFilename, verifyMergeSignature, verifyNonFilename, verifyTagBytes, versionCompare, walkTree, whitespaceRuleError, withoutCrud, worktreeHostPath, wrapText };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `git interpret-trailers` (builtin/interpret-trailers.c) as a library command.
|
|
3
|
+
*
|
|
4
|
+
* ```typescript
|
|
5
|
+
* const { stdout } = await git
|
|
6
|
+
* .interpretTrailers()
|
|
7
|
+
* .setInput("Fix the parser\n")
|
|
8
|
+
* .addTrailer("Reviewed-by: R <r@example.com>")
|
|
9
|
+
* .setWhere("start")
|
|
10
|
+
* .addTrailer("Bug: 42")
|
|
11
|
+
* .call();
|
|
12
|
+
* // "Fix the parser\n\nBug: 42\nReviewed-by: R <r@example.com>\n"
|
|
13
|
+
*
|
|
14
|
+
* const parsed = await git.interpretTrailers().setInput(message).setParse(true).call();
|
|
15
|
+
* parsed.stdout; // the trailers alone, unfolded
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
import { GitCommand } from "../git-command.js";
|
|
19
|
+
import { type TrailerIfExists, type TrailerIfMissing, type TrailerWhere } from "./trailers.js";
|
|
20
|
+
/** What {@link InterpretTrailersCommand} gave. */
|
|
21
|
+
export interface InterpretTrailersCommandResult {
|
|
22
|
+
/** git's stdout: each input with its trailers (nothing for files edited in place) */
|
|
23
|
+
stdout: string;
|
|
24
|
+
/**
|
|
25
|
+
* git's stderr: the configuration's warnings, `error:` lines (an empty trailer token, a
|
|
26
|
+
* failed trailer command) and what the trailer commands wrote there
|
|
27
|
+
*/
|
|
28
|
+
stderr: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Add or parse the trailers of messages, as `git interpret-trailers [--in-place]
|
|
32
|
+
* [--trim-empty] [(--trailer <key>[(=|:)<value>])...] [--parse] [<file>...]`.
|
|
33
|
+
*
|
|
34
|
+
* The input is {@link setInput} (git's stdin) or the files added with {@link addFile} (paths
|
|
35
|
+
* from the worktree top, through the repository's FilesApi), each completed with a line end.
|
|
36
|
+
* The `trailer.*` configuration applies (`trailer.<key>.key`, `.where`, `.ifexists`,
|
|
37
|
+
* `.ifmissing`, `.cmd`, `.command`, `trailer.separators`, the defaults); `--where`,
|
|
38
|
+
* `--if-exists` and `--if-missing` apply to the trailers added after them, as on git's
|
|
39
|
+
* command line ({@link setWhere} with undefined is `--no-where`). Trailer commands run through
|
|
40
|
+
* the host environment's hook runner (`sh -c`, in the worktree top, without the variables
|
|
41
|
+
* naming the repository); without a runner none runs: a trailer keeps the value given and
|
|
42
|
+
* `trailer.<key>.command` adds no trailer of its own.
|
|
43
|
+
*/
|
|
44
|
+
export declare class InterpretTrailersCommand extends GitCommand<InterpretTrailersCommandResult> {
|
|
45
|
+
private input;
|
|
46
|
+
private files;
|
|
47
|
+
private inPlace;
|
|
48
|
+
private trimEmpty;
|
|
49
|
+
private onlyTrailers;
|
|
50
|
+
private onlyInput;
|
|
51
|
+
private unfold;
|
|
52
|
+
private noDivider;
|
|
53
|
+
private where?;
|
|
54
|
+
private ifExists?;
|
|
55
|
+
private ifMissing?;
|
|
56
|
+
private trailers;
|
|
57
|
+
private compatibility?;
|
|
58
|
+
/** The message to read when no file is given (git's stdin). */
|
|
59
|
+
setInput(input: string | Uint8Array): this;
|
|
60
|
+
/** A file to read (`<file>`), from the worktree top; several are output one after another. */
|
|
61
|
+
addFile(path: string): this;
|
|
62
|
+
/** `--in-place`: write each file back instead of the output. */
|
|
63
|
+
setInPlace(inPlace: boolean): this;
|
|
64
|
+
/** `--trim-empty`: leave out trailers whose value is empty. */
|
|
65
|
+
setTrimEmpty(trim: boolean): this;
|
|
66
|
+
/** `--only-trailers`: output only the trailers. */
|
|
67
|
+
setOnlyTrailers(only: boolean): this;
|
|
68
|
+
/** `--only-input`: apply no `trailer.<key>.command` trailers. */
|
|
69
|
+
setOnlyInput(only: boolean): this;
|
|
70
|
+
/** `--unfold`: join continuation lines into one. */
|
|
71
|
+
setUnfold(unfold: boolean): this;
|
|
72
|
+
/** `--parse`: `--only-trailers --only-input --unfold` (true sets the three). */
|
|
73
|
+
setParse(parse: boolean): this;
|
|
74
|
+
/** `--no-divider`: a `---` line does not end the message. */
|
|
75
|
+
setNoDivider(noDivider: boolean): this;
|
|
76
|
+
/** `--where <placement>` for the trailers added next; undefined is `--no-where`. */
|
|
77
|
+
setWhere(where: TrailerWhere | undefined): this;
|
|
78
|
+
/** `--if-exists <action>` for the trailers added next; undefined is `--no-if-exists`. */
|
|
79
|
+
setIfExists(action: TrailerIfExists | undefined): this;
|
|
80
|
+
/** `--if-missing <action>` for the trailers added next; undefined is `--no-if-missing`. */
|
|
81
|
+
setIfMissing(action: TrailerIfMissing | undefined): this;
|
|
82
|
+
/** `--trailer <key>[(=|:)<value>]`, with the placement and actions set so far. */
|
|
83
|
+
addTrailer(text: string): this;
|
|
84
|
+
/** `--no-trailer`: forget the trailers added so far. */
|
|
85
|
+
clearTrailers(): this;
|
|
86
|
+
/** The git version to follow where versions differ (default: the hook runner's, else 2.56). */
|
|
87
|
+
setCompatibility(version: "2.43" | "2.56"): this;
|
|
88
|
+
call(): Promise<InterpretTrailersCommandResult>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=interpret-trailers-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpret-trailers-command.d.ts","sourceRoot":"","sources":["../../src/commands/interpret-trailers-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAElB,MAAM,eAAe,CAAC;AAEvB,kDAAkD;AAClD,MAAM,WAAW,8BAA8B;IAC7C,qFAAqF;IACrF,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAKD;;;;;;;;;;;;;GAaG;AACH,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,8BAA8B,CAAC;IACtF,OAAO,CAAC,KAAK,CAAM;IACnB,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO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