@statewalker/vcs-commands 0.7.0 → 0.9.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 +70 -0
- package/dist/commands/add-command.d.ts.map +1 -1
- package/dist/commands/add-patch/add-patch.d.ts +7 -0
- package/dist/commands/add-patch/add-patch.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-backend.d.ts.map +1 -1
- package/dist/commands/am/am-command.d.ts +102 -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 +2 -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 +7 -0
- package/dist/commands/apply/apply-parse.d.ts.map +1 -1
- package/dist/commands/apply/index.d.ts +1 -1
- package/dist/commands/apply/index.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/blame-command.d.ts +303 -8
- package/dist/commands/blame-command.d.ts.map +1 -1
- package/dist/commands/blame-ignore.d.ts +48 -0
- package/dist/commands/blame-ignore.d.ts.map +1 -0
- 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/check-mailmap-command.d.ts +49 -0
- package/dist/commands/check-mailmap-command.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts +26 -3
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/checkout-paths.d.ts +4 -0
- package/dist/commands/checkout-paths.d.ts.map +1 -1
- package/dist/commands/cherry-command.d.ts +61 -0
- package/dist/commands/cherry-command.d.ts.map +1 -0
- package/dist/commands/cherry-pick-command.d.ts +82 -1
- package/dist/commands/cherry-pick-command.d.ts.map +1 -1
- package/dist/commands/clean-command.d.ts +44 -0
- package/dist/commands/clean-command.d.ts.map +1 -1
- package/dist/commands/clean-interactive.d.ts +56 -0
- package/dist/commands/clean-interactive.d.ts.map +1 -0
- package/dist/commands/clone-command.d.ts +116 -2
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +239 -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/describe-command.d.ts +71 -64
- package/dist/commands/describe-command.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 +369 -10
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/fetch-command.d.ts +80 -0
- package/dist/commands/fetch-command.d.ts.map +1 -1
- package/dist/commands/fetch-multiple-command.d.ts +193 -0
- package/dist/commands/fetch-multiple-command.d.ts.map +1 -0
- 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 +69 -3
- 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 +81 -4
- package/dist/commands/git-describe.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +50 -1
- 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 +38 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +5 -3
- package/dist/commands/init-command.d.ts +89 -0
- 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/line-log.d.ts +161 -0
- package/dist/commands/line-log.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 +527 -13
- package/dist/commands/log-command.d.ts.map +1 -1
- package/dist/commands/log-graph.d.ts +30 -3
- package/dist/commands/log-graph.d.ts.map +1 -1
- package/dist/commands/log-output.d.ts +199 -6
- 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 +53 -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 +147 -10
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-drivers.d.ts +2 -0
- package/dist/commands/merge-drivers.d.ts.map +1 -1
- package/dist/commands/merge-strategy-options.d.ts +69 -0
- package/dist/commands/merge-strategy-options.d.ts.map +1 -0
- package/dist/commands/merge-support.d.ts +10 -0
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/message-cleanup.d.ts +2 -0
- package/dist/commands/message-cleanup.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-command.d.ts +65 -0
- package/dist/commands/name-rev-command.d.ts.map +1 -0
- package/dist/commands/name-rev.d.ts +136 -0
- package/dist/commands/name-rev.d.ts.map +1 -0
- package/dist/commands/notes-command.d.ts.map +1 -1
- package/dist/commands/octopus-merge.d.ts +26 -1
- package/dist/commands/octopus-merge.d.ts.map +1 -1
- package/dist/commands/ort-merge.d.ts +16 -0
- package/dist/commands/ort-merge.d.ts.map +1 -1
- package/dist/commands/ort-recursive.d.ts.map +1 -1
- package/dist/commands/patch-id.d.ts +58 -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 +186 -32
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +225 -9
- package/dist/commands/push-command.d.ts.map +1 -1
- package/dist/commands/range-diff/index.d.ts +4 -0
- package/dist/commands/range-diff/index.d.ts.map +1 -0
- package/dist/commands/range-diff/linear-assignment.d.ts +27 -0
- package/dist/commands/range-diff/linear-assignment.d.ts.map +1 -0
- package/dist/commands/range-diff/range-diff-command.d.ts +121 -0
- package/dist/commands/range-diff/range-diff-command.d.ts.map +1 -0
- package/dist/commands/range-diff/range-diff.d.ts +106 -0
- package/dist/commands/range-diff/range-diff.d.ts.map +1 -0
- package/dist/commands/read-tree-command.d.ts +20 -0
- package/dist/commands/read-tree-command.d.ts.map +1 -1
- package/dist/commands/rebase-command.d.ts +189 -8
- 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/remerge-diff.d.ts +59 -0
- package/dist/commands/remerge-diff.d.ts.map +1 -0
- package/dist/commands/remote-command.d.ts +179 -29
- package/dist/commands/remote-command.d.ts.map +1 -1
- package/dist/commands/remote-show-command.d.ts +204 -0
- package/dist/commands/remote-show-command.d.ts.map +1 -0
- 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 +21 -4
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/restore-command.d.ts +9 -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 +226 -2
- package/dist/commands/rev-list-command.d.ts.map +1 -1
- package/dist/commands/revert-command.d.ts +54 -1
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-range.d.ts +34 -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 +186 -5
- package/dist/commands/sequencer-pick.d.ts.map +1 -1
- package/dist/commands/sequencer-support.d.ts +12 -1
- 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/shortlog-command.d.ts +109 -0
- package/dist/commands/shortlog-command.d.ts.map +1 -0
- package/dist/commands/shortlog.d.ts +151 -0
- package/dist/commands/shortlog.d.ts.map +1 -0
- 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 +31 -2
- 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 +463 -0
- package/dist/commands/submodule-commands.d.ts.map +1 -0
- package/dist/commands/submodule-fetch.d.ts +149 -0
- package/dist/commands/submodule-fetch.d.ts.map +1 -0
- package/dist/commands/submodule-model.d.ts +296 -0
- package/dist/commands/submodule-model.d.ts.map +1 -0
- package/dist/commands/submodule-unpack.d.ts +120 -0
- package/dist/commands/submodule-unpack.d.ts.map +1 -0
- package/dist/commands/submodule-update-command.d.ts +206 -0
- package/dist/commands/submodule-update-command.d.ts.map +1 -0
- package/dist/commands/subtree-shift.d.ts +27 -0
- package/dist/commands/subtree-shift.d.ts.map +1 -0
- package/dist/commands/switch-command.d.ts +3 -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-overwrite-checks.d.ts +2 -0
- package/dist/commands/worktree-overwrite-checks.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-CNvli5bl.js} +49442 -54941
- 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 +25 -0
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/index.js +85 -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/fsck-CPeDh9fh.js +5138 -0
- package/dist/git-command.d.ts +58 -2
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +363 -1
- package/dist/git.d.ts.map +1 -1
- package/dist/guarded-transport-command.d.ts +82 -0
- package/dist/guarded-transport-command.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -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/remote-transport-CCmBadm-.js +1606 -0
- package/dist/rename/detect-renames.d.ts +20 -0
- package/dist/rename/detect-renames.d.ts.map +1 -1
- package/dist/rename/diffcore-break.d.ts +51 -0
- package/dist/rename/diffcore-break.d.ts.map +1 -0
- package/dist/rename/index.d.ts +1 -0
- package/dist/rename/index.d.ts.map +1 -1
- package/dist/results/blame-format.d.ts +62 -1
- package/dist/results/blame-format.d.ts.map +1 -1
- package/dist/results/clone-result.d.ts +9 -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-dirstat.d.ts +36 -0
- package/dist/results/diff-dirstat.d.ts.map +1 -0
- package/dist/results/diff-entry.d.ts +10 -0
- package/dist/results/diff-entry.d.ts.map +1 -1
- package/dist/results/diff-formatter.d.ts.map +1 -1
- package/dist/results/diff-output.d.ts +103 -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/fetch-result.d.ts +12 -1
- package/dist/results/fetch-result.d.ts.map +1 -1
- package/dist/results/index.d.ts +6 -0
- package/dist/results/index.d.ts.map +1 -1
- package/dist/results/index.js +2 -2
- package/dist/results/init-result.d.ts +8 -1
- package/dist/results/init-result.d.ts.map +1 -1
- package/dist/results/line-range-hunks.d.ts +27 -0
- package/dist/results/line-range-hunks.d.ts.map +1 -0
- package/dist/results/merge-result.d.ts +8 -1
- package/dist/results/merge-result.d.ts.map +1 -1
- package/dist/results/pull-result.d.ts +11 -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 +1 -1
- package/dist/results/status-result.d.ts.map +1 -1
- package/dist/results-BDuEgdLU.js +46847 -0
- package/dist/transport-command.d.ts +14 -0
- package/dist/transport-command.d.ts.map +1 -1
- 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 +293 -17
- package/src/commands/add-patch/add-patch.ts +8 -0
- package/src/commands/add-patch/patch-backend.ts +20 -2
- package/src/commands/am/am-command.ts +400 -46
- package/src/commands/am/index.ts +1 -0
- package/src/commands/am/mailsplit.ts +326 -0
- package/src/commands/apply/apply-command.ts +58 -15
- package/src/commands/apply/apply-engine.ts +1 -1
- package/src/commands/apply/apply-parse.ts +17 -8
- package/src/commands/apply/index.ts +8 -1
- package/src/commands/bisect/bisect-command.ts +18 -5
- package/src/commands/blame-command.ts +1450 -51
- package/src/commands/blame-ignore.ts +307 -0
- 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/check-mailmap-command.ts +129 -0
- package/src/commands/checkout-command.ts +166 -55
- package/src/commands/checkout-paths.ts +28 -0
- package/src/commands/cherry-command.ts +187 -0
- package/src/commands/cherry-pick-command.ts +185 -1
- package/src/commands/clean-command.ts +126 -15
- package/src/commands/clean-interactive.ts +522 -0
- package/src/commands/clone-command.ts +598 -45
- package/src/commands/commit-command.ts +925 -74
- 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/describe-command.ts +341 -254
- package/src/commands/diff-color-config.ts +274 -0
- package/src/commands/diff-command.ts +1619 -99
- package/src/commands/fetch-command.ts +495 -14
- package/src/commands/fetch-multiple-command.ts +665 -0
- 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 +496 -116
- package/src/commands/fsck/fetch-fsck.ts +172 -18
- package/src/commands/gc-command.ts +31 -1
- package/src/commands/git-describe.ts +460 -201
- package/src/commands/git-hooks.ts +123 -3
- 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 +43 -0
- package/src/commands/init-command.ts +603 -49
- package/src/commands/interpret-trailers-command.ts +256 -0
- package/src/commands/line-log.ts +931 -0
- package/src/commands/local-transport.ts +109 -10
- package/src/commands/log-command.ts +2599 -326
- package/src/commands/log-graph.ts +129 -29
- package/src/commands/log-output.ts +449 -27
- package/src/commands/ls-remote-command.ts +5 -0
- package/src/commands/mailmap.ts +155 -0
- package/src/commands/merge-base-command.ts +170 -0
- package/src/commands/merge-bases.ts +63 -8
- package/src/commands/merge-command.ts +601 -95
- package/src/commands/merge-drivers.ts +3 -0
- package/src/commands/merge-strategy-options.ts +224 -0
- package/src/commands/merge-support.ts +115 -22
- package/src/commands/message-cleanup.ts +1 -1
- package/src/commands/mv-command.ts +6 -3
- package/src/commands/name-rev-command.ts +184 -0
- package/src/commands/name-rev.ts +762 -0
- package/src/commands/notes-command.ts +11 -1
- package/src/commands/octopus-merge.ts +35 -11
- package/src/commands/ort-merge.ts +41 -7
- package/src/commands/ort-recursive.ts +40 -2
- package/src/commands/patch-id.ts +109 -0
- 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 +734 -221
- package/src/commands/push-command.ts +1035 -68
- package/src/commands/range-diff/index.ts +3 -0
- package/src/commands/range-diff/linear-assignment.ts +203 -0
- package/src/commands/range-diff/range-diff-command.ts +433 -0
- package/src/commands/range-diff/range-diff.ts +617 -0
- package/src/commands/read-tree-command.ts +102 -4
- package/src/commands/rebase-command.ts +1074 -194
- 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/remerge-diff.ts +241 -0
- package/src/commands/remote-command.ts +537 -69
- package/src/commands/remote-show-command.ts +836 -0
- package/src/commands/remote-transport.ts +9 -1
- package/src/commands/reset-command.ts +114 -34
- package/src/commands/restore-command.ts +27 -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 +578 -15
- package/src/commands/revert-command.ts +123 -1
- package/src/commands/revision-range.ts +207 -5
- package/src/commands/revision-resolver.ts +23 -8
- package/src/commands/rm-command.ts +282 -21
- package/src/commands/sequencer-pick.ts +818 -111
- package/src/commands/sequencer-support.ts +184 -4
- package/src/commands/serve-repository.ts +18 -3
- package/src/commands/shortlog-command.ts +354 -0
- package/src/commands/shortlog.ts +361 -0
- package/src/commands/show-command.ts +491 -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 +120 -27
- package/src/commands/status-format.ts +1 -1
- 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 +1835 -0
- package/src/commands/submodule-fetch.ts +789 -0
- package/src/commands/submodule-model.ts +938 -0
- package/src/commands/submodule-unpack.ts +265 -0
- package/src/commands/submodule-update-command.ts +1126 -0
- package/src/commands/subtree-shift.ts +215 -0
- package/src/commands/switch-command.ts +12 -1
- package/src/commands/tag-command.ts +876 -64
- package/src/commands/trailers.ts +837 -100
- package/src/commands/tree-restore.ts +44 -11
- package/src/commands/verify-command.ts +235 -0
- package/src/commands/worktree-add-command.ts +268 -24
- package/src/commands/worktree-overwrite-checks.ts +5 -0
- 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 +37 -1
- package/src/errors/ref-errors.ts +23 -0
- package/src/errors/worktree-errors.ts +8 -1
- package/src/git-command.ts +153 -2
- package/src/git.ts +550 -1
- package/src/guarded-transport-command.ts +171 -0
- package/src/index.ts +1 -0
- package/src/remote-config/index.ts +2 -0
- package/src/remote-config/remote-config-store.ts +101 -0
- package/src/rename/detect-renames.ts +42 -8
- package/src/rename/diffcore-break.ts +166 -0
- package/src/rename/index.ts +1 -0
- package/src/results/blame-format.ts +268 -43
- package/src/results/clone-result.ts +6 -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-dirstat.ts +117 -0
- package/src/results/diff-entry.ts +12 -0
- package/src/results/diff-formatter.ts +1 -0
- package/src/results/diff-output.ts +322 -32
- package/src/results/diff-pickaxe.ts +304 -0
- package/src/results/diff-words.ts +395 -0
- package/src/results/fetch-result.ts +12 -1
- package/src/results/index.ts +6 -0
- package/src/results/init-result.ts +10 -1
- package/src/results/line-range-hunks.ts +126 -0
- package/src/results/merge-result.ts +9 -0
- package/src/results/pull-result.ts +7 -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 +2 -2
- package/src/transport-command.ts +34 -3
- 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
- package/dist/git-command-BGiOJ8Zk.js +0 -7246
- package/dist/results-WVlBhVb1.js +0 -2935
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebase-command.d.ts","sourceRoot":"","sources":["../../src/commands/rebase-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,WAAW,EAGjB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"rebase-command.d.ts","sourceRoot":"","sources":["../../src/commands/rebase-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,WAAW,EAGjB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,oBAAoB,EAIpB,aAAa,EACd,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAsFhF;;GAEG;AACH,oBAAY,eAAe;IACzB,yBAAyB;IACzB,KAAK,UAAU;IACf,yCAAyC;IACzC,QAAQ,aAAa;IACrB,8BAA8B;IAC9B,IAAI,SAAS;IACb,uCAAuC;IACvC,KAAK,UAAU;IACf,6CAA6C;IAC7C,aAAa,kBAAkB;IAC/B,2FAA2F;IAC3F,SAAS,cAAc;IACvB;;;OAGG;IACH,IAAI,SAAS;IACb;;;OAGG;IACH,kBAAkB,uBAAuB;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAElD;;;OAGG;IACH,YAAY,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IAE7C;;;;;OAKG;IACH,mBAAmB,CAAC,CAAC,OAAO,E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tB;;;;;OAKG;YACW,WAAW;IAyDzB,mFAAmF;YACrE,kBAAkB;IAYhC;;;;;;;;;;;OAWG;YACW,kBAAkB;IA0DhC;;;OAGG;YACW,WAAW;IAUzB;;;;OAIG;YACW,SAAS;IAiBvB;;;;OAIG;YACW,aAAa;IAmB3B,0FAA0F;YAC5E,QAAQ;IAKtB;;;OAGG;YACW,mBAAmB;IAuBjC,wFAAwF;YAC1E,WAAW;IAkBzB,wFAAwF;YAC1E,QAAQ;IAWtB;;;;;OAKG;YACW,gBAAgB;IAgB9B,yFAAyF;YAC3E,eAAe;IAS7B,oFAAoF;IACpF,OAAO,CAAC,wBAAwB;IAWhC;;;OAGG;YACW,cAAc;IA6B5B,uFAAuF;YACzE,QAAQ;IAMtB;;;OAGG;YACW,iBAAiB;IA+D/B;;;;OAIG;YACW,QAAQ;IAuEtB,qFAAqF;YACvE,cAAc;IAa5B,uFAAuF;YACzE,eAAe;IAY7B;;;;;OAKG;YACW,oBAAoB;IA6DlC;;;OAGG;YACW,gBAAgB;IAyB9B,kDAAkD;YACpC,eAAe;IAY7B;;;OAGG;YACW,YAAY;IA8B1B;;;;;OAKG;YACW,eAAe;IA4B7B,2FAA2F;IAC3F,OAAO,CAAC,SAAS;IAejB;;;OAGG;YACW,cAAc;IAmB5B;;;;;OAKG;YACW,eAAe;IAmD7B;;;;;;OAMG;YACW,eAAe;IAiD7B;;;;;OAKG;YACW,iBAAiB;IA6D/B,iEAAiE;YACnD,UAAU;IASxB;;;;OAIG;YACW,gBAAgB;IAmC9B;;;;;OAKG;YACW,cAAc;YAqBd,UAAU;CAIzB"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { ObjectId } from "@statewalker/vcs-core";
|
|
2
|
+
import { RefListingCommand } from "./ref-listing-command.js";
|
|
3
|
+
import type { RefQuoteStyle } from "./ref-quote.js";
|
|
4
|
+
/** A ref `for-each-ref` showed. */
|
|
5
|
+
export interface ForEachRefEntry {
|
|
6
|
+
/** Its full name */
|
|
7
|
+
refname: string;
|
|
8
|
+
/** The object it names */
|
|
9
|
+
objectId: ObjectId;
|
|
10
|
+
}
|
|
11
|
+
/** What {@link ForEachRefCommand} printed. */
|
|
12
|
+
export interface ForEachRefResult {
|
|
13
|
+
/** git's stdout, each ref's line and its newline (bytes outside UTF-8 as `decodeGitPath` keeps them) */
|
|
14
|
+
output: string;
|
|
15
|
+
/** Each shown ref's expanded format, in order (an empty one left out with `--omit-empty`) */
|
|
16
|
+
lines: string[];
|
|
17
|
+
/** The refs shown, in order */
|
|
18
|
+
refs: ForEachRefEntry[];
|
|
19
|
+
/** git's warnings on stderr (`warning: ignoring broken ref ...`) */
|
|
20
|
+
warnings: string[];
|
|
21
|
+
}
|
|
22
|
+
/** git's default `for-each-ref` format. */
|
|
23
|
+
export declare const DEFAULT_FOR_EACH_REF_FORMAT = "%(objectname) %(objecttype)\t%(refname)";
|
|
24
|
+
/**
|
|
25
|
+
* List refs with git's ref-filter.
|
|
26
|
+
*
|
|
27
|
+
* Equivalent to `git for-each-ref [--count=<n>] [--shell|--perl|--python|--tcl]
|
|
28
|
+
* [(--sort=<key>)...] [--format=<format>] [--include-root-refs] [--points-at=<object>]
|
|
29
|
+
* [--merged[=<commit>]] [--no-merged[=<commit>]] [--contains[=<commit>]]
|
|
30
|
+
* [--no-contains[=<commit>]] [(--exclude=<pattern>)...] [--start-after=<marker>]
|
|
31
|
+
* [--ignore-case] [--omit-empty] [--color] [<pattern>...]`.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```typescript
|
|
35
|
+
* const { output } = await git
|
|
36
|
+
* .forEachRef()
|
|
37
|
+
* .setFormat("%(refname:short) %(upstream:track)")
|
|
38
|
+
* .setSort("-committerdate")
|
|
39
|
+
* .setPatterns("refs/heads/")
|
|
40
|
+
* .call();
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* The format language is git's (`%(refname:short)`, `%(objectname:short=10)`,
|
|
44
|
+
* `%(upstream:track)`, `%(push)`, `%(HEAD)`, `%(authorname:mailmap)`,
|
|
45
|
+
* `%(committerdate:iso)`, `%(subject)`, `%(contents:lines=2)`, `%(trailers:key=...)`,
|
|
46
|
+
* `%(*objectname)` of what a tag peels to, `%(if)...%(then)...%(else)...%(end)`,
|
|
47
|
+
* `%(align:30,middle)...%(end)`, `%(color:red)`, `%(worktreepath)`, `%(describe)`,
|
|
48
|
+
* `%(ahead-behind:<commit>)`, `%(is-base:<commit>)`, `%xx` bytes); patterns match full ref
|
|
49
|
+
* names as paths (`refs/heads` matches `refs/heads/x`) or as globs. Sort keys are given in
|
|
50
|
+
* command-line order (the last one is the primary key), `refname` after them unless
|
|
51
|
+
* {@link setNoSort}; `-key` reverses and `version:key` compares as versions
|
|
52
|
+
* (`versionsort.suffix`). Not supported: `%(objectsize:disk)`, `%(deltabase)` and signature
|
|
53
|
+
* verification (`%(signature)` of a signed commit) refuse with a {@link RefFilterError}.
|
|
54
|
+
*/
|
|
55
|
+
export declare class ForEachRefCommand extends RefListingCommand<ForEachRefResult> {
|
|
56
|
+
private format;
|
|
57
|
+
/** git starts its `--sort` list with `refname`; `--no-sort` clears it */
|
|
58
|
+
private defaultSort;
|
|
59
|
+
private sortKeys;
|
|
60
|
+
private patterns;
|
|
61
|
+
private exclude;
|
|
62
|
+
private pointsAt;
|
|
63
|
+
private contains;
|
|
64
|
+
private noContains;
|
|
65
|
+
private merged;
|
|
66
|
+
private noMerged;
|
|
67
|
+
private count;
|
|
68
|
+
private omitEmpty;
|
|
69
|
+
private quoteStyle;
|
|
70
|
+
private ignoreCase;
|
|
71
|
+
private includeRootRefs;
|
|
72
|
+
private color;
|
|
73
|
+
private startAfter?;
|
|
74
|
+
private now?;
|
|
75
|
+
private compatibility;
|
|
76
|
+
/** `--format=<format>` (default `%(objectname) %(objecttype)\t%(refname)`). */
|
|
77
|
+
setFormat(format: string): this;
|
|
78
|
+
/** `--sort=<key>` for each key, in command-line order (the last is the primary key). */
|
|
79
|
+
setSort(...keys: string[]): this;
|
|
80
|
+
/** `--no-sort`: the keys given so far and the default `refname` dropped. */
|
|
81
|
+
setNoSort(): this;
|
|
82
|
+
/** `<pattern>...`: refs matching one (a path prefix of whole components, or a glob). */
|
|
83
|
+
setPatterns(...patterns: string[]): this;
|
|
84
|
+
/** `--exclude=<pattern>`: refs matching one are left out. */
|
|
85
|
+
setExclude(...patterns: string[]): this;
|
|
86
|
+
/** `--points-at=<object>`: refs naming one of these objects, directly or through tags. */
|
|
87
|
+
setPointsAt(...objects: string[]): this;
|
|
88
|
+
/** `--contains[=<commit>]` (HEAD without one): refs whose commit reaches one of them. */
|
|
89
|
+
setContains(...commits: string[]): this;
|
|
90
|
+
/** `--no-contains[=<commit>]` (HEAD without one): refs whose commit reaches none. */
|
|
91
|
+
setNoContains(...commits: string[]): this;
|
|
92
|
+
/** `--merged[=<commit>]` (HEAD without one): refs one of them reaches. */
|
|
93
|
+
setMerged(...commits: string[]): this;
|
|
94
|
+
/** `--no-merged[=<commit>]` (HEAD without one): refs none of them reaches. */
|
|
95
|
+
setNoMerged(...commits: string[]): this;
|
|
96
|
+
/** `--count=<n>`: at most n refs (0: all). */
|
|
97
|
+
setCount(count: number): this;
|
|
98
|
+
/** `--omit-empty`: no line for a ref whose format expands to nothing. */
|
|
99
|
+
setOmitEmpty(omit: boolean): this;
|
|
100
|
+
/** `--shell`, `--perl`, `--python` or `--tcl`: each atom's value quoted for that language. */
|
|
101
|
+
setQuoteStyle(style: RefQuoteStyle): this;
|
|
102
|
+
/** `--ignore-case`: patterns and sorting without case. */
|
|
103
|
+
setIgnoreCase(ignore: boolean): this;
|
|
104
|
+
/** `--include-root-refs` (git 2.45+): HEAD and the root refs (`ORIG_HEAD`, ...) too. */
|
|
105
|
+
setIncludeRootRefs(include: boolean): this;
|
|
106
|
+
/** `--color[=always]`: `%(color:...)` atoms give their escape sequences. */
|
|
107
|
+
setColor(color: boolean): this;
|
|
108
|
+
/** `--start-after=<marker>` (git 2.51+): only refs sorting after the marker. */
|
|
109
|
+
setStartAfter(marker: string): this;
|
|
110
|
+
/** The time relative and human dates are counted from, in seconds (git's GIT_TEST_DATE_NOW); default the clock. */
|
|
111
|
+
setNow(now: number): this;
|
|
112
|
+
/**
|
|
113
|
+
* The git version whose output to follow where versions differ (default 2.56): 2.43's
|
|
114
|
+
* `%(*atom)` reads the object a tag names, not what nested tags peel to, and its
|
|
115
|
+
* `%(trailers)` miss a signed tag's trailers, and a formatted date sorts by time (see
|
|
116
|
+
* `RefFormatOptions.compatibility`).
|
|
117
|
+
*/
|
|
118
|
+
setCompatibility(version: "2.43" | "2.56"): this;
|
|
119
|
+
call(): Promise<ForEachRefResult>;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=for-each-ref-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"for-each-ref-command.d.ts","sourceRoot":"","sources":["../../../src/commands/ref-filter/for-each-ref-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAUtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,mCAAmC;AACnC,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,8CAA8C;AAC9C,MAAM,WAAW,gBAAgB;IAC/B,wGAAwG;IACxG,MAAM,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,+BAA+B;IAC/B,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,oEAAoE;IACpE,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,2CAA2C;AAC3C,eAAO,MAAM,2BAA2B,4CAA4C,CAAC;AAErF;;;;;;;;;;;;;;;;;;;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qFAAqF;IACrF,aAAa,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAIxC;IAED,0EAA0E;IAC1E,SAAS,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAIpC;IAED,8EAA8E;IAC9E,WAAW,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAItC;IAED,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI5B;IAED,yEAAyE;IACzE,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAIhC;IAED,8FAA8F;IAC9F,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAIxC;IAED,0DAA0D;IAC1D,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAInC;IAED,wFAAwF;IACxF,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAIzC;IAED,4EAA4E;IAC5E,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAI7B;IAED,gFAAgF;IAChF,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAIlC;IAED,mHAAmH;IACnH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAIxB;IAED;;;;;OAKG;IACH,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI/C;IAEK,IAAI,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAoEtC;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./for-each-ref-command.js";
|
|
2
|
+
export * from "./ref-atoms.js";
|
|
3
|
+
export * from "./ref-filter.js";
|
|
4
|
+
export * from "./ref-format.js";
|
|
5
|
+
export * from "./ref-listing-command.js";
|
|
6
|
+
export * from "./ref-quote.js";
|
|
7
|
+
export * from "./version-compare.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/ref-filter/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `%(atom)` table of git's ref-filter.c: each atom's name, what it reads (the ref alone,
|
|
3
|
+
* the object, or something else), how it sorts, and its argument parser with git's errors.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import type { TrailerFormatOptions } from "../trailers.js";
|
|
8
|
+
/** ref-filter.c's info_source: what an atom reads. */
|
|
9
|
+
export type AtomSource = "none" | "obj" | "other";
|
|
10
|
+
/** ref-filter.c's cmp_type: how a sort key compares. */
|
|
11
|
+
export type AtomCmpType = "str" | "ulong" | "time";
|
|
12
|
+
/** The atoms git knows (ref-filter.c's `valid_atom`), in its table order. */
|
|
13
|
+
export declare const ATOM_NAMES: readonly ["refname", "objecttype", "objectsize", "objectname", "deltabase", "tree", "parent", "numparent", "object", "type", "tag", "author", "authorname", "authoremail", "authordate", "committer", "committername", "committeremail", "committerdate", "tagger", "taggername", "taggeremail", "taggerdate", "creator", "creatordate", "describe", "subject", "body", "trailers", "contents", "signature", "raw", "upstream", "push", "symref", "flag", "HEAD", "color", "worktreepath", "align", "end", "if", "then", "else", "rest", "ahead-behind", "is-base"];
|
|
14
|
+
/** An atom's kind (git's `enum atom_type`). */
|
|
15
|
+
export type AtomType = (typeof ATOM_NAMES)[number];
|
|
16
|
+
/** The source of an atom (git's `valid_atom[].source`). */
|
|
17
|
+
export declare function atomSource(type: AtomType): AtomSource;
|
|
18
|
+
/** `refname`'s options (and `symref`'s, `upstream`'s, `push`'s): ref-filter.c's refname_atom. */
|
|
19
|
+
export interface RefnameOption {
|
|
20
|
+
option: "normal" | "short" | "lstrip" | "rstrip";
|
|
21
|
+
lstrip?: number;
|
|
22
|
+
rstrip?: number;
|
|
23
|
+
}
|
|
24
|
+
/** The contents options (ref-filter.c's `C_*`). */
|
|
25
|
+
export type ContentsOption = "bare" | "body" | "body-dep" | "length" | "lines" | "sig" | "sub" | "sub-sanitize" | "trailers";
|
|
26
|
+
/** An atom of a format or sort key, parsed (git's `struct used_atom`). */
|
|
27
|
+
export interface UsedAtom {
|
|
28
|
+
type: AtomType;
|
|
29
|
+
/** The atom as written, `*` and arguments included */
|
|
30
|
+
name: string;
|
|
31
|
+
/** Dereferenced (`*name`): read from the object a tag peels to */
|
|
32
|
+
deref: boolean;
|
|
33
|
+
cmpType: AtomCmpType;
|
|
34
|
+
source: AtomSource;
|
|
35
|
+
refname?: RefnameOption;
|
|
36
|
+
remote?: {
|
|
37
|
+
option: "ref" | "track" | "trackshort" | "remotename" | "remoteref";
|
|
38
|
+
nobracket: boolean;
|
|
39
|
+
push: boolean;
|
|
40
|
+
pushRemote: boolean;
|
|
41
|
+
};
|
|
42
|
+
contents?: {
|
|
43
|
+
option: ContentsOption;
|
|
44
|
+
trailers?: TrailerFormatOptions;
|
|
45
|
+
lines?: number;
|
|
46
|
+
};
|
|
47
|
+
raw?: "bare" | "length";
|
|
48
|
+
oid?: {
|
|
49
|
+
option: "full" | "short" | "length";
|
|
50
|
+
length?: number;
|
|
51
|
+
};
|
|
52
|
+
objectsize?: "size" | "disk";
|
|
53
|
+
nameMailmap?: boolean;
|
|
54
|
+
email?: {
|
|
55
|
+
trim: boolean;
|
|
56
|
+
localpart: boolean;
|
|
57
|
+
mailmap: boolean;
|
|
58
|
+
};
|
|
59
|
+
signature?: string;
|
|
60
|
+
describe?: {
|
|
61
|
+
tags?: boolean;
|
|
62
|
+
abbrev?: number;
|
|
63
|
+
match: string[];
|
|
64
|
+
exclude: string[];
|
|
65
|
+
};
|
|
66
|
+
color?: string;
|
|
67
|
+
align?: {
|
|
68
|
+
position: "left" | "middle" | "right";
|
|
69
|
+
width: number;
|
|
70
|
+
};
|
|
71
|
+
ifThenElse?: {
|
|
72
|
+
cmp: "equal" | "unequal" | "none";
|
|
73
|
+
str?: string;
|
|
74
|
+
};
|
|
75
|
+
/** The committish of `%(ahead-behind:<x>)` / `%(is-base:<x>)` */
|
|
76
|
+
base?: string;
|
|
77
|
+
}
|
|
78
|
+
/** What an atom's parser needs of the format. */
|
|
79
|
+
export interface AtomParseContext {
|
|
80
|
+
/** Whether colors are shown (`--color`): `%(color:...)` is empty otherwise */
|
|
81
|
+
useColor: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* ref-filter.c's parse_ref_filter_atom for one atom (`text` is what stands between `%(` and
|
|
85
|
+
* `)`, the `*` included): the atom, or git's die message as a {@link RefFilterError}.
|
|
86
|
+
*/
|
|
87
|
+
export declare function parseAtom(text: string, context: AtomParseContext): UsedAtom;
|
|
88
|
+
//# sourceMappingURL=ref-atoms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref-atoms.d.ts","sourceRoot":"","sources":["../../../src/commands/ref-filter/ref-atoms.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,sDAAsD;AACtD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;AAClD,wDAAwD;AACxD,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAEnD,6EAA6E;AAC7E,eAAO,MAAM,UAAU,YACrB,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,MAAM,EACN,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,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AC/B,8EAA8E;IAC9E,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+LD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,QAAQ,CA8M3E"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* git's ref-filter.c, the part that chooses and orders refs: kinds, name patterns (as paths
|
|
3
|
+
* for `for-each-ref`, after the `refs/<kind>/` prefix for `branch -l`/`tag -l`), `--exclude`,
|
|
4
|
+
* `--points-at`, `--contains`/`--no-contains`, `--merged`/`--no-merged`, `--start-after`,
|
|
5
|
+
* and the sort keys (several, `-` reversed, `version:` with `versionsort.suffix`). The
|
|
6
|
+
* listing commands share it: `for-each-ref` today, the branch and tag listings next.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* const format = new RefFormat("%(refname:short)", formatSource);
|
|
11
|
+
* const sorting = parseRefSorting(["-committerdate"], format);
|
|
12
|
+
* const { lines } = await filterAndFormatRefs(filterSource, { kind: RefKind.REGULAR }, sorting, format);
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* @module
|
|
16
|
+
*/
|
|
17
|
+
import type { ObjectId } from "@statewalker/vcs-core";
|
|
18
|
+
import { type RefFilterItem, type RefFormat, type RefFormatObject } from "./ref-format.js";
|
|
19
|
+
/** A ref as the store lists it. */
|
|
20
|
+
export interface ListedRef {
|
|
21
|
+
name: string;
|
|
22
|
+
/** What it resolves to; undefined for a broken ref (a dangling symbolic ref) */
|
|
23
|
+
objectId?: ObjectId;
|
|
24
|
+
/** A symbolic ref's target */
|
|
25
|
+
symref?: string;
|
|
26
|
+
/** Read from packed-refs */
|
|
27
|
+
packed?: boolean;
|
|
28
|
+
/** What it peels to, when known */
|
|
29
|
+
peeledId?: ObjectId;
|
|
30
|
+
}
|
|
31
|
+
/** What the filter reads of the repository. */
|
|
32
|
+
export interface RefFilterSource {
|
|
33
|
+
/** Every ref under `refs/`, in name order */
|
|
34
|
+
listRefs(): Promise<ListedRef[]>;
|
|
35
|
+
/** HEAD and the root refs (`ORIG_HEAD`, ...), for `--include-root-refs` */
|
|
36
|
+
listRootRefs(): Promise<ListedRef[]>;
|
|
37
|
+
/** HEAD alone, for a listing of the detached HEAD (`branch` with `FILTER_REFS_DETACHED_HEAD`) */
|
|
38
|
+
head(): Promise<ListedRef | undefined>;
|
|
39
|
+
/** The object, through replace refs */
|
|
40
|
+
readObject(id: ObjectId): Promise<RefFormatObject | undefined>;
|
|
41
|
+
/** Whether `ancestor` is reachable from `descendant` (the commit-graph used where there is one) */
|
|
42
|
+
isAncestor(ancestor: ObjectId, descendant: ObjectId): Promise<boolean>;
|
|
43
|
+
/** A commit's parents and committer date, undefined when it is missing */
|
|
44
|
+
commitHeader(id: ObjectId): Promise<{
|
|
45
|
+
parents: ObjectId[];
|
|
46
|
+
date: number;
|
|
47
|
+
} | undefined>;
|
|
48
|
+
/** The commits only `ours` and only `theirs` reach */
|
|
49
|
+
aheadBehind(ours: ObjectId, theirs: ObjectId): Promise<{
|
|
50
|
+
ahead: number;
|
|
51
|
+
behind: number;
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* `lookup_commit_reference_by_name`: the commit a name peels to, undefined when none; git's
|
|
55
|
+
* messages on the way (`warning: refname 'x' is ambiguous.`, `error: object ... is a
|
|
56
|
+
* blob, not a commit`) added to `warnings` unless `quiet`
|
|
57
|
+
*/
|
|
58
|
+
commitByName(name: string, warnings?: string[], quiet?: boolean): Promise<ObjectId | undefined>;
|
|
59
|
+
/** Every value of a configuration key, in order */
|
|
60
|
+
configValues(key: string): string[];
|
|
61
|
+
/** Whether a value of the key is missing (`[section] key` without `=`) */
|
|
62
|
+
configMissingValue?(key: string): boolean;
|
|
63
|
+
}
|
|
64
|
+
/** Which refs a listing keeps (git's `struct ref_filter`). */
|
|
65
|
+
export interface RefFilterOptions {
|
|
66
|
+
/** The {@link RefKind}s listed */
|
|
67
|
+
kind: number;
|
|
68
|
+
/** Name patterns (any matches); none: every ref */
|
|
69
|
+
patterns?: readonly string[];
|
|
70
|
+
/** Patterns match full names as paths (`for-each-ref`), else after `refs/<kind>/` (`branch`, `tag`) */
|
|
71
|
+
matchAsPath?: boolean;
|
|
72
|
+
/** `--ignore-case`: patterns match without case */
|
|
73
|
+
ignoreCase?: boolean;
|
|
74
|
+
/** `--exclude`: refs matching any of these are left out */
|
|
75
|
+
exclude?: readonly string[];
|
|
76
|
+
/** `--points-at`: refs naming one of these objects, directly or through tags */
|
|
77
|
+
pointsAt?: readonly ObjectId[];
|
|
78
|
+
/** `--contains`: refs whose commit reaches one of these */
|
|
79
|
+
contains?: readonly ObjectId[];
|
|
80
|
+
/** `--no-contains`: refs whose commit reaches none of these */
|
|
81
|
+
noContains?: readonly ObjectId[];
|
|
82
|
+
/** `--merged`: refs whose commit one of these reaches */
|
|
83
|
+
merged?: readonly ObjectId[];
|
|
84
|
+
/** `--no-merged`: refs whose commit none of these reaches */
|
|
85
|
+
noMerged?: readonly ObjectId[];
|
|
86
|
+
/** `--start-after`: refs sorting after this name only */
|
|
87
|
+
startAfter?: string;
|
|
88
|
+
/** Only refs naming a commit (`branch -v`: git's `filter->verbose`) */
|
|
89
|
+
needCommit?: boolean;
|
|
90
|
+
}
|
|
91
|
+
/** A sort key (git's `struct ref_sorting`). */
|
|
92
|
+
export interface RefSortKey {
|
|
93
|
+
/** The atom's index in the format */
|
|
94
|
+
atom: number;
|
|
95
|
+
reverse?: boolean;
|
|
96
|
+
/** `version:` / `v:` */
|
|
97
|
+
version?: boolean;
|
|
98
|
+
/** `--ignore-case` */
|
|
99
|
+
icase?: boolean;
|
|
100
|
+
/** The detached HEAD first (`branch`'s listing) */
|
|
101
|
+
detachedHeadFirst?: boolean;
|
|
102
|
+
}
|
|
103
|
+
/** Byte order of two texts (strcmp). */
|
|
104
|
+
export declare function compareBytes(a: string, b: string): number;
|
|
105
|
+
/** ref_kind_from_refname. */
|
|
106
|
+
export declare function refKindOf(name: string): number;
|
|
107
|
+
/** refs.c's is_root_ref. */
|
|
108
|
+
export declare function isRootRef(name: string): boolean;
|
|
109
|
+
/** The result of {@link filterRefs}. */
|
|
110
|
+
export interface FilteredRefs {
|
|
111
|
+
items: RefFilterItem[];
|
|
112
|
+
/** git's warnings (`warning: ignoring broken ref ...`) */
|
|
113
|
+
warnings: string[];
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* filter_refs: the refs of the wanted kinds that pass every filter, in the store's name
|
|
117
|
+
* order (`--merged`/`--no-merged` applied last, as git's reach_filter).
|
|
118
|
+
*
|
|
119
|
+
* @throws RefFilterError where git dies
|
|
120
|
+
*/
|
|
121
|
+
export declare function filterRefs(source: RefFilterSource, filter: RefFilterOptions): Promise<FilteredRefs>;
|
|
122
|
+
/**
|
|
123
|
+
* parse_ref_sorting over the keys as given on the command line (`--sort` in order): the
|
|
124
|
+
* last becomes the primary key, as git's.
|
|
125
|
+
*
|
|
126
|
+
* @throws RefFilterError for a key the format language refuses
|
|
127
|
+
*/
|
|
128
|
+
export declare function parseRefSorting(keys: readonly string[], format: RefFormat): RefSortKey[];
|
|
129
|
+
/**
|
|
130
|
+
* ref_array_sort: `items` sorted in place by the keys (primary first), ties by refname.
|
|
131
|
+
*
|
|
132
|
+
* @throws RefFilterError where a sort key's value cannot be computed
|
|
133
|
+
*/
|
|
134
|
+
export declare function sortRefs(items: RefFilterItem[], sorting: readonly RefSortKey[], format: RefFormat, source: RefFilterSource, warnings?: string[]): Promise<void>;
|
|
135
|
+
/**
|
|
136
|
+
* filter_ahead_behind: each `%(ahead-behind:<base>)` count of every ref that names a
|
|
137
|
+
* commit, `bases` resolved in the order the atoms come in the format.
|
|
138
|
+
*/
|
|
139
|
+
export declare function fillAheadBehind(items: RefFilterItem[], bases: readonly ObjectId[], source: RefFilterSource, warnings?: string[]): Promise<void>;
|
|
140
|
+
/**
|
|
141
|
+
* filter_is_base: for each `%(is-base:<tip>)`, the ref (among those naming commits) whose
|
|
142
|
+
* commit is the base of `tip`'s branch (commit-reach.c's get_branch_base_for_tip).
|
|
143
|
+
*/
|
|
144
|
+
export declare function fillIsBase(items: RefFilterItem[], tips: readonly {
|
|
145
|
+
name: string;
|
|
146
|
+
commit: ObjectId;
|
|
147
|
+
}[], source: RefFilterSource): Promise<void>;
|
|
148
|
+
/** What {@link filterAndFormatRefs} prints. */
|
|
149
|
+
export interface FormatRefsOptions {
|
|
150
|
+
/** `--count`: at most this many refs (0: all) */
|
|
151
|
+
count?: number;
|
|
152
|
+
/** `--omit-empty`: no line for a ref whose format expands to nothing */
|
|
153
|
+
omitEmpty?: boolean;
|
|
154
|
+
}
|
|
155
|
+
/** The output of {@link filterAndFormatRefs}. */
|
|
156
|
+
export interface FormattedRefs {
|
|
157
|
+
/** The refs shown, in order */
|
|
158
|
+
items: RefFilterItem[];
|
|
159
|
+
/** Each shown ref's expanded format, in order (an omitted empty one left out) */
|
|
160
|
+
lines: string[];
|
|
161
|
+
/** git's stdout: each line and its newline */
|
|
162
|
+
output: string;
|
|
163
|
+
warnings: string[];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* filter_and_format_refs: the refs filtered, their `%(ahead-behind)` and `%(is-base)`
|
|
167
|
+
* values computed, sorted, cut to `count`, and formatted.
|
|
168
|
+
*
|
|
169
|
+
* @throws RefFilterError where git dies
|
|
170
|
+
*/
|
|
171
|
+
export declare function filterAndFormatRefs(source: RefFilterSource, filter: RefFilterOptions, sorting: readonly RefSortKey[], format: RefFormat, options?: FormatRefsOptions & {
|
|
172
|
+
aheadBehindBases?: readonly ObjectId[];
|
|
173
|
+
isBaseTips?: readonly {
|
|
174
|
+
name: string;
|
|
175
|
+
commit: ObjectId;
|
|
176
|
+
}[];
|
|
177
|
+
}): Promise<FormattedRefs>;
|
|
178
|
+
//# sourceMappingURL=ref-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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