@statewalker/vcs-commands 0.8.0 → 0.10.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/README.md +1 -1
- package/dist/commands/add-command.d.ts +32 -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 +2 -0
- package/dist/commands/add-patch/patch-backend.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-modes.d.ts +6 -2
- package/dist/commands/add-patch/patch-modes.d.ts.map +1 -1
- package/dist/commands/add-patch/patch-session.d.ts +4 -0
- package/dist/commands/add-patch/patch-session.d.ts.map +1 -1
- package/dist/commands/am/am-command.d.ts +88 -2
- package/dist/commands/am/am-command.d.ts.map +1 -1
- 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-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/archive/archive-command.d.ts +169 -0
- package/dist/commands/archive/archive-command.d.ts.map +1 -0
- package/dist/commands/archive/archive-entry.d.ts +60 -0
- package/dist/commands/archive/archive-entry.d.ts.map +1 -0
- package/dist/commands/archive/index.d.ts +8 -0
- package/dist/commands/archive/index.d.ts.map +1 -0
- package/dist/commands/archive/remote-archive-command.d.ts +56 -0
- package/dist/commands/archive/remote-archive-command.d.ts.map +1 -0
- package/dist/commands/archive/tar-archive.d.ts +31 -0
- package/dist/commands/archive/tar-archive.d.ts.map +1 -0
- package/dist/commands/archive/tar-commit-id.d.ts +13 -0
- package/dist/commands/archive/tar-commit-id.d.ts.map +1 -0
- package/dist/commands/archive/upload-archive-writer.d.ts +48 -0
- package/dist/commands/archive/upload-archive-writer.d.ts.map +1 -0
- package/dist/commands/archive/zip-archive.d.ts +42 -0
- package/dist/commands/archive/zip-archive.d.ts.map +1 -0
- package/dist/commands/attributes-source.d.ts +10 -0
- package/dist/commands/attributes-source.d.ts.map +1 -1
- package/dist/commands/blame-command.d.ts +345 -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/bundle/bundle-create-command.d.ts +67 -0
- package/dist/commands/bundle/bundle-create-command.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-format.d.ts +89 -0
- package/dist/commands/bundle/bundle-format.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-list.d.ts +92 -0
- package/dist/commands/bundle/bundle-list.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-read-commands.d.ts +81 -0
- package/dist/commands/bundle/bundle-read-commands.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-support.d.ts +32 -0
- package/dist/commands/bundle/bundle-support.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-transport.d.ts +38 -0
- package/dist/commands/bundle/bundle-transport.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-uri-host.d.ts +43 -0
- package/dist/commands/bundle/bundle-uri-host.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-uri.d.ts +55 -0
- package/dist/commands/bundle/bundle-uri.d.ts.map +1 -0
- package/dist/commands/bundle/bundle-verify.d.ts +63 -0
- package/dist/commands/bundle/bundle-verify.d.ts.map +1 -0
- package/dist/commands/bundle/index.d.ts +14 -0
- package/dist/commands/bundle/index.d.ts.map +1 -0
- package/dist/commands/cat-file/batch-format.d.ts +58 -0
- package/dist/commands/cat-file/batch-format.d.ts.map +1 -0
- package/dist/commands/cat-file/cat-file-command.d.ts +135 -0
- package/dist/commands/cat-file/cat-file-command.d.ts.map +1 -0
- package/dist/commands/cat-file/index.d.ts +3 -0
- package/dist/commands/cat-file/index.d.ts.map +1 -0
- package/dist/commands/check-attr-command.d.ts +66 -0
- package/dist/commands/check-attr-command.d.ts.map +1 -0
- package/dist/commands/check-ignore-command.d.ts +58 -0
- package/dist/commands/check-ignore-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/check-ref-format-command.d.ts +60 -0
- package/dist/commands/check-ref-format-command.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts +7 -0
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/checkout-index-command.d.ts +96 -0
- package/dist/commands/checkout-index-command.d.ts.map +1 -0
- 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 +33 -1
- package/dist/commands/cherry-pick-command.d.ts.map +1 -1
- package/dist/commands/clean-command.d.ts +32 -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 +135 -2
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +59 -3
- package/dist/commands/commit-command.d.ts.map +1 -1
- package/dist/commands/config-command.d.ts +2 -0
- package/dist/commands/config-command.d.ts.map +1 -1
- package/dist/commands/daemon-access-hook.d.ts +36 -0
- package/dist/commands/daemon-access-hook.d.ts.map +1 -0
- package/dist/commands/default-branch.d.ts +42 -0
- package/dist/commands/default-branch.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-command.d.ts +249 -10
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/diff-external.d.ts +43 -0
- package/dist/commands/diff-external.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/diff-pairs-command.d.ts +27 -0
- package/dist/commands/diff-plumbing/diff-pairs-command.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts +129 -0
- package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts.map +1 -0
- package/dist/commands/diff-plumbing/index.d.ts +3 -0
- package/dist/commands/diff-plumbing/index.d.ts.map +1 -0
- package/dist/commands/diff-textconv.d.ts +5 -1
- package/dist/commands/diff-textconv.d.ts.map +1 -1
- package/dist/commands/fast-export/fast-export-command.d.ts +135 -0
- package/dist/commands/fast-export/fast-export-command.d.ts.map +1 -0
- package/dist/commands/fast-export/fast-import-command.d.ts +182 -0
- package/dist/commands/fast-export/fast-import-command.d.ts.map +1 -0
- package/dist/commands/fast-export/fast-stream-support.d.ts +64 -0
- package/dist/commands/fast-export/fast-stream-support.d.ts.map +1 -0
- package/dist/commands/fast-export/index.d.ts +4 -0
- package/dist/commands/fast-export/index.d.ts.map +1 -0
- package/dist/commands/fetch-command.d.ts +125 -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/format-patch-command.d.ts +28 -2
- package/dist/commands/format-patch-command.d.ts.map +1 -1
- package/dist/commands/format-rev-command.d.ts +58 -0
- package/dist/commands/format-rev-command.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-command.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-msg-ids.d.ts +18 -3
- package/dist/commands/fsck/fsck-msg-ids.d.ts.map +1 -1
- package/dist/commands/fsmonitor-refresh.d.ts +69 -0
- package/dist/commands/fsmonitor-refresh.d.ts.map +1 -0
- package/dist/commands/gc-command.d.ts +5 -0
- package/dist/commands/gc-command.d.ts.map +1 -1
- package/dist/commands/git-describe.d.ts +77 -4
- package/dist/commands/git-describe.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +47 -1
- package/dist/commands/git-hooks.d.ts.map +1 -1
- package/dist/commands/git-paths.d.ts +26 -0
- package/dist/commands/git-paths.d.ts.map +1 -0
- package/dist/commands/grep/grep-command.d.ts +2 -1
- package/dist/commands/grep/grep-command.d.ts.map +1 -1
- package/dist/commands/history-command.d.ts +156 -0
- package/dist/commands/history-command.d.ts.map +1 -0
- package/dist/commands/http-config.d.ts +38 -0
- package/dist/commands/http-config.d.ts.map +1 -0
- package/dist/commands/index-adder.d.ts +12 -1
- package/dist/commands/index-adder.d.ts.map +1 -1
- package/dist/commands/index-host.d.ts.map +1 -1
- package/dist/commands/index.d.ts +56 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +6 -3
- package/dist/commands/init-command.d.ts +89 -0
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/last-modified-command.d.ts +102 -0
- package/dist/commands/last-modified-command.d.ts.map +1 -0
- package/dist/commands/lfs/go-url.d.ts +43 -0
- package/dist/commands/lfs/go-url.d.ts.map +1 -0
- package/dist/commands/lfs/index.d.ts +3 -0
- package/dist/commands/lfs/index.d.ts.map +1 -0
- package/dist/commands/lfs/lfs-config.d.ts +174 -0
- package/dist/commands/lfs/lfs-config.d.ts.map +1 -0
- package/dist/commands/lfs/lfs-endpoint-command.d.ts +83 -0
- package/dist/commands/lfs/lfs-endpoint-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.map +1 -1
- package/dist/commands/log-command.d.ts +261 -6
- package/dist/commands/log-command.d.ts.map +1 -1
- package/dist/commands/log-graph.d.ts +4 -2
- package/dist/commands/log-graph.d.ts.map +1 -1
- package/dist/commands/log-output.d.ts +88 -2
- package/dist/commands/log-output.d.ts.map +1 -1
- package/dist/commands/ls-files-command.d.ts +153 -0
- package/dist/commands/ls-files-command.d.ts.map +1 -0
- package/dist/commands/ls-remote-command.d.ts +5 -0
- package/dist/commands/ls-remote-command.d.ts.map +1 -1
- package/dist/commands/ls-tree-command.d.ts +105 -0
- package/dist/commands/ls-tree-command.d.ts.map +1 -0
- package/dist/commands/mailmap.d.ts +24 -1
- package/dist/commands/mailmap.d.ts.map +1 -1
- package/dist/commands/maintenance-run-command.d.ts +122 -0
- package/dist/commands/maintenance-run-command.d.ts.map +1 -0
- package/dist/commands/merge-command.d.ts +58 -1
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-config.d.ts +7 -0
- package/dist/commands/merge-config.d.ts.map +1 -1
- package/dist/commands/merge-drivers.d.ts +69 -5
- 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 +16 -0
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/merge-tree-command.d.ts +122 -0
- package/dist/commands/merge-tree-command.d.ts.map +1 -0
- package/dist/commands/message-cleanup.d.ts +2 -0
- package/dist/commands/message-cleanup.d.ts.map +1 -1
- package/dist/commands/mktag-command.d.ts +51 -0
- package/dist/commands/mktag-command.d.ts.map +1 -0
- 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 +110 -22
- package/dist/commands/name-rev.d.ts.map +1 -1
- package/dist/commands/object-store/count-objects-command.d.ts +58 -0
- package/dist/commands/object-store/count-objects-command.d.ts.map +1 -0
- package/dist/commands/object-store/index.d.ts +5 -0
- package/dist/commands/object-store/index.d.ts.map +1 -0
- package/dist/commands/object-store/objects-directory.d.ts +12 -0
- package/dist/commands/object-store/objects-directory.d.ts.map +1 -0
- package/dist/commands/object-store/prune-command.d.ts +38 -0
- package/dist/commands/object-store/prune-command.d.ts.map +1 -0
- package/dist/commands/object-store/show-index-command.d.ts +23 -0
- package/dist/commands/object-store/show-index-command.d.ts.map +1 -0
- 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 +40 -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-command.d.ts +30 -0
- package/dist/commands/patch-id-command.d.ts.map +1 -0
- package/dist/commands/patch-id.d.ts +82 -0
- package/dist/commands/patch-id.d.ts.map +1 -1
- package/dist/commands/plumbing-command.d.ts +66 -0
- package/dist/commands/plumbing-command.d.ts.map +1 -0
- package/dist/commands/plumbing-input.d.ts +38 -0
- package/dist/commands/plumbing-input.d.ts.map +1 -0
- package/dist/commands/promisor-remote-reply.d.ts +35 -0
- package/dist/commands/promisor-remote-reply.d.ts.map +1 -0
- package/dist/commands/promisor-remote.d.ts.map +1 -1
- package/dist/commands/pull-command.d.ts +182 -38
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +82 -2
- 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 +14 -0
- package/dist/commands/read-tree-command.d.ts.map +1 -1
- package/dist/commands/rebase-command.d.ts +129 -4
- package/dist/commands/rebase-command.d.ts.map +1 -1
- package/dist/commands/refs-command.d.ts +81 -0
- package/dist/commands/refs-command.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 +41 -0
- package/dist/commands/remote-command.d.ts.map +1 -1
- package/dist/commands/remote-object-info-command.d.ts +55 -0
- package/dist/commands/remote-object-info-command.d.ts.map +1 -0
- 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 +40 -3
- package/dist/commands/remote-transport.d.ts.map +1 -1
- package/dist/commands/repack-command.d.ts +115 -0
- package/dist/commands/repack-command.d.ts.map +1 -0
- package/dist/commands/replace-command.d.ts +143 -0
- package/dist/commands/replace-command.d.ts.map +1 -0
- package/dist/commands/replay-command.d.ts +117 -0
- package/dist/commands/replay-command.d.ts.map +1 -0
- package/dist/commands/repo-command.d.ts +136 -0
- package/dist/commands/repo-command.d.ts.map +1 -0
- package/dist/commands/request-pull-command.d.ts +82 -0
- package/dist/commands/request-pull-command.d.ts.map +1 -0
- package/dist/commands/rerere-command.d.ts +36 -0
- package/dist/commands/rerere-command.d.ts.map +1 -0
- package/dist/commands/rerere.d.ts +102 -0
- package/dist/commands/rerere.d.ts.map +1 -0
- package/dist/commands/reset-command.d.ts +19 -1
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/restore-command.d.ts +7 -0
- package/dist/commands/restore-command.d.ts.map +1 -1
- package/dist/commands/rev-filter/commit-grep.d.ts +3 -1
- package/dist/commands/rev-filter/commit-grep.d.ts.map +1 -1
- package/dist/commands/rev-list-command.d.ts +78 -3
- package/dist/commands/rev-list-command.d.ts.map +1 -1
- package/dist/commands/rev-parse-command.d.ts +9 -0
- package/dist/commands/rev-parse-command.d.ts.map +1 -1
- package/dist/commands/revert-command.d.ts +32 -1
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-range.d.ts +7 -0
- package/dist/commands/revision-range.d.ts.map +1 -1
- package/dist/commands/revision-resolver.d.ts +12 -0
- package/dist/commands/revision-resolver.d.ts.map +1 -1
- package/dist/commands/sequencer-pick.d.ts +120 -1
- package/dist/commands/sequencer-pick.d.ts.map +1 -1
- package/dist/commands/sequencer-support.d.ts +10 -1
- package/dist/commands/sequencer-support.d.ts.map +1 -1
- package/dist/commands/serve-repository.d.ts +23 -1
- package/dist/commands/serve-repository.d.ts.map +1 -1
- package/dist/commands/session-id.d.ts +18 -0
- package/dist/commands/session-id.d.ts.map +1 -0
- 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-branch-command.d.ts +59 -0
- package/dist/commands/show-branch-command.d.ts.map +1 -0
- package/dist/commands/show-ref-command.d.ts +112 -0
- package/dist/commands/show-ref-command.d.ts.map +1 -0
- package/dist/commands/signature-check.d.ts +9 -2
- package/dist/commands/signature-check.d.ts.map +1 -1
- package/dist/commands/signing.d.ts +22 -1
- package/dist/commands/signing.d.ts.map +1 -1
- package/dist/commands/stash-apply-command.d.ts.map +1 -1
- package/dist/commands/stash-export-command.d.ts +115 -0
- package/dist/commands/stash-export-command.d.ts.map +1 -0
- package/dist/commands/status-command.d.ts +33 -3
- package/dist/commands/status-command.d.ts.map +1 -1
- package/dist/commands/stripspace-command.d.ts +44 -0
- package/dist/commands/stripspace-command.d.ts.map +1 -0
- package/dist/commands/submodule-add-command.d.ts +10 -1
- package/dist/commands/submodule-add-command.d.ts.map +1 -1
- package/dist/commands/submodule-auth.d.ts +3 -1
- package/dist/commands/submodule-auth.d.ts.map +1 -1
- package/dist/commands/submodule-commands.d.ts +99 -3
- package/dist/commands/submodule-commands.d.ts.map +1 -1
- 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 +8 -0
- package/dist/commands/submodule-model.d.ts.map +1 -1
- 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 +21 -1
- package/dist/commands/submodule-update-command.d.ts.map +1 -1
- 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/textconv-cache.d.ts +58 -0
- package/dist/commands/textconv-cache.d.ts.map +1 -0
- package/dist/commands/tree-restore.d.ts +5 -0
- package/dist/commands/tree-restore.d.ts.map +1 -1
- package/dist/commands/unpack-objects-command.d.ts +47 -0
- package/dist/commands/unpack-objects-command.d.ts.map +1 -0
- package/dist/commands/update-index-command.d.ts +110 -0
- package/dist/commands/update-index-command.d.ts.map +1 -0
- package/dist/commands/uri-protocols.d.ts +13 -0
- package/dist/commands/uri-protocols.d.ts.map +1 -0
- package/dist/commands/url-parse-command.d.ts +30 -0
- package/dist/commands/url-parse-command.d.ts.map +1 -0
- package/dist/commands/var-command.d.ts +42 -0
- package/dist/commands/var-command.d.ts.map +1 -0
- package/dist/commands/worktree-overwrite-checks.d.ts +2 -0
- package/dist/commands/worktree-overwrite-checks.d.ts.map +1 -1
- package/dist/{commands-ISM52N0n.js → commands-Mlo1dxQN.js} +56133 -70269
- package/dist/errors/command-errors.d.ts +58 -0
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/index.js +67 -1
- package/dist/fsck-CrhVMNIH.js +5179 -0
- package/dist/git-command.d.ts +89 -3
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +628 -1
- package/dist/git.d.ts.map +1 -1
- package/dist/guarded-transport-command.d.ts +84 -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 +7 -5
- package/dist/maintenance-run-command-Bw21HEkH.js +13539 -0
- package/dist/remote-transport-Bu4PGSMD.js +2605 -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/cherry-pick-result.d.ts +6 -0
- package/dist/results/cherry-pick-result.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/diff-dirstat.d.ts +36 -0
- package/dist/results/diff-dirstat.d.ts.map +1 -0
- package/dist/results/diff-entry.d.ts +20 -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 +67 -3
- package/dist/results/diff-output.d.ts.map +1 -1
- package/dist/results/fetch-result.d.ts +24 -1
- package/dist/results/fetch-result.d.ts.map +1 -1
- package/dist/results/index.d.ts +2 -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 +13 -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 +10 -0
- package/dist/results/push-result.d.ts.map +1 -1
- package/dist/results/rebase-result.d.ts +7 -0
- package/dist/results/rebase-result.d.ts.map +1 -1
- package/dist/results/revert-result.d.ts +6 -0
- package/dist/results/revert-result.d.ts.map +1 -1
- package/dist/results/stash-result.d.ts +5 -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-ERo9vELd.js +49673 -0
- package/dist/transport-command.d.ts +93 -1
- package/dist/transport-command.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/commands/add-command.ts +118 -0
- package/src/commands/add-patch/add-patch.ts +8 -0
- package/src/commands/add-patch/patch-backend.ts +24 -3
- package/src/commands/add-patch/patch-modes.ts +26 -2
- package/src/commands/add-patch/patch-session.ts +6 -0
- package/src/commands/am/am-command.ts +301 -12
- package/src/commands/apply/apply-command.ts +52 -9
- package/src/commands/apply/apply-parse.ts +10 -0
- package/src/commands/apply/index.ts +9 -1
- package/src/commands/archive/archive-command.ts +1148 -0
- package/src/commands/archive/archive-entry.ts +93 -0
- package/src/commands/archive/index.ts +7 -0
- package/src/commands/archive/remote-archive-command.ts +140 -0
- package/src/commands/archive/tar-archive.ts +207 -0
- package/src/commands/archive/tar-commit-id.ts +72 -0
- package/src/commands/archive/upload-archive-writer.ts +213 -0
- package/src/commands/archive/zip-archive.ts +317 -0
- package/src/commands/attributes-source.ts +26 -12
- package/src/commands/blame-command.ts +1551 -53
- package/src/commands/blame-ignore.ts +307 -0
- package/src/commands/bundle/bundle-create-command.ts +405 -0
- package/src/commands/bundle/bundle-format.ts +228 -0
- package/src/commands/bundle/bundle-list.ts +276 -0
- package/src/commands/bundle/bundle-read-commands.ts +157 -0
- package/src/commands/bundle/bundle-support.ts +85 -0
- package/src/commands/bundle/bundle-transport.ts +107 -0
- package/src/commands/bundle/bundle-uri-host.ts +204 -0
- package/src/commands/bundle/bundle-uri.ts +236 -0
- package/src/commands/bundle/bundle-verify.ts +152 -0
- package/src/commands/bundle/index.ts +14 -0
- package/src/commands/cat-file/batch-format.ts +193 -0
- package/src/commands/cat-file/cat-file-command.ts +857 -0
- package/src/commands/cat-file/index.ts +2 -0
- package/src/commands/check-attr-command.ts +333 -0
- package/src/commands/check-ignore-command.ts +261 -0
- package/src/commands/check-mailmap-command.ts +129 -0
- package/src/commands/check-ref-format-command.ts +129 -0
- package/src/commands/checkout-command.ts +131 -28
- package/src/commands/checkout-index-command.ts +568 -0
- package/src/commands/checkout-paths.ts +35 -0
- package/src/commands/cherry-command.ts +187 -0
- package/src/commands/cherry-pick-command.ts +63 -2
- package/src/commands/clean-command.ts +92 -12
- package/src/commands/clean-interactive.ts +522 -0
- package/src/commands/clone-command.ts +803 -50
- package/src/commands/commit-command.ts +202 -51
- package/src/commands/config-command.ts +9 -0
- package/src/commands/daemon-access-hook.ts +78 -0
- package/src/commands/default-branch.ts +99 -1
- package/src/commands/describe-command.ts +341 -254
- package/src/commands/diff-command.ts +1186 -99
- package/src/commands/diff-external.ts +131 -0
- package/src/commands/diff-plumbing/diff-pairs-command.ts +193 -0
- package/src/commands/diff-plumbing/diff-plumbing-command.ts +424 -0
- package/src/commands/diff-plumbing/index.ts +2 -0
- package/src/commands/diff-textconv.ts +5 -1
- package/src/commands/fast-export/fast-export-command.ts +911 -0
- package/src/commands/fast-export/fast-import-command.ts +1553 -0
- package/src/commands/fast-export/fast-stream-support.ts +162 -0
- package/src/commands/fast-export/index.ts +3 -0
- package/src/commands/fetch-command.ts +665 -14
- package/src/commands/fetch-multiple-command.ts +668 -0
- package/src/commands/format-patch-command.ts +189 -77
- package/src/commands/format-rev-command.ts +251 -0
- package/src/commands/fsck/fsck-command.ts +47 -20
- package/src/commands/fsck/fsck-msg-ids.ts +19 -3
- package/src/commands/fsck/fsck-pack.ts +2 -2
- package/src/commands/fsmonitor-refresh.ts +315 -0
- package/src/commands/gc-command.ts +10 -0
- package/src/commands/git-describe.ts +456 -217
- package/src/commands/git-hooks.ts +165 -9
- package/src/commands/git-paths.ts +136 -0
- package/src/commands/grep/grep-command.ts +38 -15
- package/src/commands/history-command.ts +617 -0
- package/src/commands/http-config.ts +139 -0
- package/src/commands/index-adder.ts +37 -3
- package/src/commands/index-host.ts +6 -1
- package/src/commands/index.ts +62 -0
- package/src/commands/init-command.ts +617 -49
- package/src/commands/last-modified-command.ts +804 -0
- package/src/commands/lfs/go-url.ts +370 -0
- package/src/commands/lfs/index.ts +2 -0
- package/src/commands/lfs/lfs-config.ts +738 -0
- package/src/commands/lfs/lfs-endpoint-command.ts +180 -0
- package/src/commands/line-log.ts +931 -0
- package/src/commands/local-transport.ts +252 -4
- package/src/commands/log-command.ts +1518 -182
- package/src/commands/log-graph.ts +6 -3
- package/src/commands/log-output.ts +228 -15
- package/src/commands/ls-files-command.ts +1177 -0
- package/src/commands/ls-remote-command.ts +6 -0
- package/src/commands/ls-tree-command.ts +684 -0
- package/src/commands/mailmap.ts +41 -5
- package/src/commands/maintenance-run-command.ts +949 -0
- package/src/commands/merge-command.ts +351 -47
- package/src/commands/merge-config.ts +23 -1
- package/src/commands/merge-drivers.ts +112 -20
- package/src/commands/merge-strategy-options.ts +224 -0
- package/src/commands/merge-support.ts +130 -26
- package/src/commands/merge-tree-command.ts +786 -0
- package/src/commands/message-cleanup.ts +1 -1
- package/src/commands/mktag-command.ts +149 -0
- package/src/commands/name-rev-command.ts +184 -0
- package/src/commands/name-rev.ts +700 -109
- package/src/commands/object-store/count-objects-command.ts +404 -0
- package/src/commands/object-store/index.ts +4 -0
- package/src/commands/object-store/objects-directory.ts +24 -0
- package/src/commands/object-store/prune-command.ts +129 -0
- package/src/commands/object-store/show-index-command.ts +151 -0
- package/src/commands/octopus-merge.ts +35 -11
- package/src/commands/ort-merge.ts +124 -23
- package/src/commands/ort-recursive.ts +40 -2
- package/src/commands/patch-id-command.ts +65 -0
- package/src/commands/patch-id.ts +327 -0
- package/src/commands/plumbing-command.ts +141 -0
- package/src/commands/plumbing-input.ts +87 -0
- package/src/commands/promisor-remote-reply.ts +276 -0
- package/src/commands/promisor-remote.ts +25 -2
- package/src/commands/pull-command.ts +720 -224
- package/src/commands/push-command.ts +440 -8
- 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 +74 -3
- package/src/commands/rebase-command.ts +647 -83
- package/src/commands/refs-command.ts +274 -0
- package/src/commands/remerge-diff.ts +241 -0
- package/src/commands/remote-command.ts +98 -10
- package/src/commands/remote-object-info-command.ts +109 -0
- package/src/commands/remote-show-command.ts +836 -0
- package/src/commands/remote-transport.ts +116 -1
- package/src/commands/repack-command.ts +383 -0
- package/src/commands/replace-command.ts +816 -0
- package/src/commands/replay-command.ts +674 -0
- package/src/commands/repo-command.ts +967 -0
- package/src/commands/request-pull-command.ts +356 -0
- package/src/commands/rerere-command.ts +179 -0
- package/src/commands/rerere.ts +925 -0
- package/src/commands/reset-command.ts +78 -3
- package/src/commands/restore-command.ts +15 -0
- package/src/commands/rev-filter/commit-grep.ts +7 -2
- package/src/commands/rev-list-command.ts +196 -11
- package/src/commands/rev-parse-command.ts +62 -4
- package/src/commands/revert-command.ts +62 -2
- package/src/commands/revision-range.ts +10 -3
- package/src/commands/revision-resolver.ts +44 -3
- package/src/commands/sequencer-pick.ts +370 -29
- package/src/commands/sequencer-support.ts +164 -2
- package/src/commands/serve-repository.ts +65 -0
- package/src/commands/session-id.ts +31 -0
- package/src/commands/shortlog-command.ts +354 -0
- package/src/commands/shortlog.ts +361 -0
- package/src/commands/show-branch-command.ts +981 -0
- package/src/commands/show-command.ts +3 -2
- package/src/commands/show-ref-command.ts +439 -0
- package/src/commands/signature-check.ts +37 -5
- package/src/commands/signing.ts +122 -16
- package/src/commands/stash-apply-command.ts +3 -0
- package/src/commands/stash-export-command.ts +397 -0
- package/src/commands/status-command.ts +158 -31
- package/src/commands/status-format.ts +1 -1
- package/src/commands/stripspace-command.ts +118 -0
- package/src/commands/submodule-add-command.ts +22 -1
- package/src/commands/submodule-auth.ts +61 -6
- package/src/commands/submodule-commands.ts +333 -5
- package/src/commands/submodule-fetch.ts +789 -0
- package/src/commands/submodule-model.ts +9 -1
- package/src/commands/submodule-unpack.ts +265 -0
- package/src/commands/submodule-update-command.ts +68 -5
- package/src/commands/subtree-shift.ts +215 -0
- package/src/commands/switch-command.ts +9 -0
- package/src/commands/textconv-cache.ts +143 -0
- package/src/commands/tree-restore.ts +20 -1
- package/src/commands/unpack-objects-command.ts +235 -0
- package/src/commands/update-index-command.ts +1016 -0
- package/src/commands/uri-protocols.ts +13 -0
- package/src/commands/url-parse-command.ts +67 -0
- package/src/commands/var-command.ts +219 -0
- package/src/commands/worktree-overwrite-checks.ts +5 -0
- package/src/errors/command-errors.ts +80 -0
- package/src/git-command.ts +218 -2
- package/src/git.ts +1033 -80
- package/src/guarded-transport-command.ts +176 -0
- package/src/index.ts +1 -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/cherry-pick-result.ts +6 -0
- package/src/results/clone-result.ts +6 -0
- package/src/results/diff-dirstat.ts +117 -0
- package/src/results/diff-entry.ts +24 -0
- package/src/results/diff-formatter.ts +8 -4
- package/src/results/diff-output.ts +239 -8
- package/src/results/diff-pickaxe.ts +1 -1
- package/src/results/fetch-result.ts +24 -1
- package/src/results/index.ts +2 -0
- package/src/results/init-result.ts +10 -1
- package/src/results/line-range-hunks.ts +126 -0
- package/src/results/merge-result.ts +14 -0
- package/src/results/pull-result.ts +7 -0
- package/src/results/push-result.ts +10 -0
- package/src/results/rebase-result.ts +7 -0
- package/src/results/revert-result.ts +6 -0
- package/src/results/stash-result.ts +6 -0
- package/src/results/status-result.ts +2 -2
- package/src/transport-command.ts +216 -4
- package/dist/fsck-DLRpbwTj.js +0 -13405
- package/dist/results-TB2IJ64h.js +0 -4700
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `git rerere` (builtin/rerere.c): with no subcommand, rerere's record and replay (what the
|
|
3
|
+
* merge family runs on conflicts and `git commit` after a commit); `clear`, `forget
|
|
4
|
+
* <pathspec>`, `status`, `remaining`, `diff` and `gc`.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* const { stdout } = await git.rerere().setSubcommand("status").call(); // "f\n"
|
|
9
|
+
* await git.rerere().setSubcommand("forget").addPath("f").call();
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
import { GitCommand } from "../git-command.js";
|
|
13
|
+
import type { PlumbingTextOutput } from "./check-ref-format-command.js";
|
|
14
|
+
/** The subcommands of `git rerere` (`record` is the bare `git rerere`). */
|
|
15
|
+
export type RerereSubcommand = "record" | "clear" | "forget" | "status" | "remaining" | "diff" | "gc";
|
|
16
|
+
/**
|
|
17
|
+
* `git rerere [--[no-]rerere-autoupdate] [<subcommand>]`: git's stdout, stderr and exit
|
|
18
|
+
* status.
|
|
19
|
+
*/
|
|
20
|
+
export declare class RerereCommand extends GitCommand<PlumbingTextOutput> {
|
|
21
|
+
private subcommand;
|
|
22
|
+
private readonly paths;
|
|
23
|
+
private autoUpdate?;
|
|
24
|
+
/** The subcommand (default `record`, the bare `git rerere`); an unknown one is git's usage */
|
|
25
|
+
setSubcommand(subcommand: RerereSubcommand | string): this;
|
|
26
|
+
/** A pathspec element of `forget` */
|
|
27
|
+
addPath(path: string): this;
|
|
28
|
+
/** `--rerere-autoupdate` (true) / `--no-rerere-autoupdate` (false) */
|
|
29
|
+
setAutoUpdate(value: boolean): this;
|
|
30
|
+
call(): Promise<PlumbingTextOutput>;
|
|
31
|
+
private run;
|
|
32
|
+
/** The bytes git writes on stdout for `diff` are its paths' bytes. */
|
|
33
|
+
static stdoutBytes(output: PlumbingTextOutput): Uint8Array;
|
|
34
|
+
private rerereHost;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=rerere-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rerere-command.d.ts","sourceRoot":"","sources":["../../src/commands/rerere-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAexE,2EAA2E;AAC3E,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,MAAM,GACN,IAAI,CAAC;AAOT;;;GAGG;AACH,qBAAa,aAAc,SAAQ,UAAU,CAAC,kBAAkB,CAAC;IAC/D,OAAO,CAAC,UAAU,CAAY;IAC9B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,UAAU,CAAC,CAAU;IAE7B,8FAA8F;IAC9F,aAAa,CAAC,UAAU,EAAE,gBAAgB,GAAG,MAAM,GAAG,IAAI,CAIzD;IAED,qCAAqC;IACrC,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAI1B;IAED,sEAAsE;IACtE,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAIlC;IAEK,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAYxC;YAEa,GAAG;IAuEjB,sEAAsE;IACtE,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAEzD;IAED,OAAO,CAAC,UAAU;CAWnB"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* git's rerere (rerere.c): conflicts recorded in `rr-cache/<conflict id>/` (`preimage`,
|
|
3
|
+
* `postimage`, `thisimage`, a variant's `preimage.<n>`...) and the paths waiting for their
|
|
4
|
+
* resolution in `MERGE_RR` (`<id>[.<variant>]\t<path>\0`, sorted by path), in git's format
|
|
5
|
+
* byte for byte, so native git replays what ours recorded and the reverse.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```typescript
|
|
9
|
+
* // after a merge left conflicts in the index and the worktree (what `suggest_conflicts` runs)
|
|
10
|
+
* const { messages } = await runRerere(rerereHostOf(workingCopy, staging, worktree, blobs, format));
|
|
11
|
+
* // ["Recorded preimage for 'f'"], or ["Resolved 'f' using previous resolution."]
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* The conflict id is the hash (the repository's) of each conflict hunk's two sides, the
|
|
15
|
+
* smaller first, each followed by a NUL (`handle_path`); the preimage is the conflicted file
|
|
16
|
+
* with every hunk normalised (`<<<<<<<`, the sides in that order, no common ancestor's part).
|
|
17
|
+
* A recorded resolution is replayed as a three-way merge (`ll_merge`, Myers) of the preimage,
|
|
18
|
+
* the file now and the postimage.
|
|
19
|
+
*/
|
|
20
|
+
import type { Blobs } from "@statewalker/vcs-core";
|
|
21
|
+
import type { ObjectFormat } from "@statewalker/vcs-utils";
|
|
22
|
+
import type { FilesApi } from "@statewalker/vcs-utils/files";
|
|
23
|
+
import type { Staging, WorkingCopy, Worktree } from "@statewalker/vcs-working-tree";
|
|
24
|
+
/** What rerere works on: the working copy's config and state, its index, worktree and blobs. */
|
|
25
|
+
export interface RerereHost {
|
|
26
|
+
workingCopy: WorkingCopy;
|
|
27
|
+
staging: Staging;
|
|
28
|
+
worktree: Worktree;
|
|
29
|
+
blobs: Blobs;
|
|
30
|
+
objectFormat: ObjectFormat;
|
|
31
|
+
}
|
|
32
|
+
/** What a rerere run printed on stderr, line by line. */
|
|
33
|
+
export interface RerereOutcome {
|
|
34
|
+
messages: string[];
|
|
35
|
+
/** Whether rerere is enabled (`rerere.enabled`, or unset and `rr-cache/` there) */
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
}
|
|
38
|
+
/** `git rerere` died: its stderr lines (the last `fatal:`), exit status 128. */
|
|
39
|
+
export declare class RerereError extends Error {
|
|
40
|
+
readonly lines: string[];
|
|
41
|
+
readonly exitCode = 128;
|
|
42
|
+
constructor(lines: string[]);
|
|
43
|
+
}
|
|
44
|
+
/** What {@link normalizeConflicts} found. */
|
|
45
|
+
export interface NormalizedConflicts {
|
|
46
|
+
/** `handle_path`'s result: 1 when the last hunk parsed, 0 without any, -1 on a bad one */
|
|
47
|
+
status: number;
|
|
48
|
+
/** The conflict id (hex), when asked for */
|
|
49
|
+
id?: string;
|
|
50
|
+
/** The file with its hunks normalised, as far as it was parsed */
|
|
51
|
+
output: Uint8Array;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* git's `handle_path` over a file's bytes: the hunks normalised, their sides hashed into the
|
|
55
|
+
* conflict id.
|
|
56
|
+
*/
|
|
57
|
+
export declare function normalizeConflicts(content: Uint8Array, markerSize: number, format?: ObjectFormat): NormalizedConflicts;
|
|
58
|
+
/**
|
|
59
|
+
* git's `rerere()` (`do_plain_rerere`), as the merge family runs it on conflicts and `git
|
|
60
|
+
* commit` after its commit: each conflicted path's preimage recorded or a recorded
|
|
61
|
+
* resolution replayed, each resolved path's postimage recorded, `MERGE_RR` rewritten.
|
|
62
|
+
* `autoUpdate` is `--rerere-autoupdate` / `--no-rerere-autoupdate` (else
|
|
63
|
+
* `rerere.autoUpdate`): replayed resolutions are staged.
|
|
64
|
+
*/
|
|
65
|
+
export declare function runRerere(host: RerereHost, options?: {
|
|
66
|
+
autoUpdate?: boolean;
|
|
67
|
+
}): Promise<RerereOutcome>;
|
|
68
|
+
/**
|
|
69
|
+
* `rerere_clear` (`git rerere clear`, `rebase --skip`/`--abort`, `am --skip`/`--abort`): the
|
|
70
|
+
* waiting paths' records without a resolution removed, `MERGE_RR` deleted.
|
|
71
|
+
*/
|
|
72
|
+
export declare function rerereClear(host: RerereHost): Promise<RerereOutcome>;
|
|
73
|
+
/** `git rerere status`: the paths `MERGE_RR` lists. */
|
|
74
|
+
export declare function rerereStatus(host: RerereHost): Promise<string[]>;
|
|
75
|
+
/**
|
|
76
|
+
* `git rerere remaining`: the paths `MERGE_RR` lists that the index has not resolved, and
|
|
77
|
+
* the conflicts rerere cannot handle (not two regular files), in path order.
|
|
78
|
+
*/
|
|
79
|
+
export declare function rerereRemaining(host: RerereHost): Promise<string[]>;
|
|
80
|
+
/**
|
|
81
|
+
* `git rerere diff`: for each path `MERGE_RR` lists, the diff from its preimage to the
|
|
82
|
+
* worktree file (`diff_two`, xdiff with 3 lines of context, no function names).
|
|
83
|
+
*/
|
|
84
|
+
export declare function rerereDiff(host: RerereHost, diff: (minus: Uint8Array, plus: Uint8Array) => Uint8Array): Promise<{
|
|
85
|
+
stdout: Uint8Array[];
|
|
86
|
+
fatal?: string;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* `git rerere forget <pathspec>` (`rerere_forget`): the paths' conflicts recreated from the
|
|
90
|
+
* index (resolved ones from its resolve-undo records, in memory only), the resolution that
|
|
91
|
+
* replays cleanly onto each removed and its preimage written again, the path waiting in
|
|
92
|
+
* `MERGE_RR` once more.
|
|
93
|
+
*/
|
|
94
|
+
export declare function rerereForget(host: RerereHost, matches: (path: string) => boolean): Promise<RerereOutcome>;
|
|
95
|
+
/** The {@link RerereHost} of a working copy. */
|
|
96
|
+
export declare function rerereHostOf(workingCopy: WorkingCopy, staging: Staging, worktree: Worktree, blobs: Blobs, objectFormat: ObjectFormat): RerereHost;
|
|
97
|
+
/** Where rr-cache lives for `git rerere gc`: the FilesApi and the common git directory. */
|
|
98
|
+
export declare function rerereGcLocation(workingCopy: WorkingCopy): Promise<{
|
|
99
|
+
files: FilesApi;
|
|
100
|
+
gitDir: string;
|
|
101
|
+
} | undefined>;
|
|
102
|
+
//# sourceMappingURL=rerere.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rerere.d.ts","sourceRoot":"","sources":["../../src/commands/rerere.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAepF,gGAAgG;AAChG,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,yDAAyD;AACz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AE,UAAU,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAsBnD;AAUD;;;;;GAKG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GACjC,OAAO,CAAC,aAAa,CAAC,CAmCxB;AAsFD,gDAAgD;AAChD,wBAAgB,YAAY,CAC1B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,GACzB,UAAU,CAEZ;AAED,2FAA2F;AAC3F,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,WAAW,GACvB,OAAO,CAAC;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAI1D"}
|
|
@@ -4,6 +4,7 @@ import { type CommandTrees, GitCommand } from "../git-command.js";
|
|
|
4
4
|
import { ResetMode } from "../types.js";
|
|
5
5
|
import { type PatchCompatibility, type PatchOptions, type PatchResult, type PatchSelector } from "./add-patch/index.js";
|
|
6
6
|
import { SparseUnpack } from "./sparse-checkout-support.js";
|
|
7
|
+
import { SubmoduleUnpack } from "./submodule-unpack.js";
|
|
7
8
|
/**
|
|
8
9
|
* Reset HEAD to a specified state.
|
|
9
10
|
*
|
|
@@ -39,6 +40,7 @@ import { SparseUnpack } from "./sparse-checkout-support.js";
|
|
|
39
40
|
export declare class ResetCommand extends GitCommand<Ref> {
|
|
40
41
|
private ref?;
|
|
41
42
|
private mode;
|
|
43
|
+
private recurseSubmodules?;
|
|
42
44
|
private paths;
|
|
43
45
|
/** `--pathspec-from-file` */
|
|
44
46
|
private readonly pathspecFile;
|
|
@@ -102,6 +104,13 @@ export declare class ResetCommand extends GitCommand<Ref> {
|
|
|
102
104
|
* @param ref Commit-ish to reset to
|
|
103
105
|
*/
|
|
104
106
|
setRef(ref: string): this;
|
|
107
|
+
/**
|
|
108
|
+
* `--[no-]recurse-submodules` (default `submodule.recurse`): `--hard`, `--keep` and
|
|
109
|
+
* `--merge` reset the active submodules' worktrees too, their HEADs detached at the recorded
|
|
110
|
+
* commits (unpack-trees' submodule support); local changes in them refuse `--keep` and
|
|
111
|
+
* `--merge` as git refuses them.
|
|
112
|
+
*/
|
|
113
|
+
setRecurseSubmodules(recurse: boolean): this;
|
|
105
114
|
/**
|
|
106
115
|
* Set the reset mode.
|
|
107
116
|
*
|
|
@@ -233,7 +242,16 @@ export declare function restoreWorktreeHard(deps: {
|
|
|
233
242
|
blobs: Blobs;
|
|
234
243
|
workingCopy: WorkingCopy;
|
|
235
244
|
worktree: Worktree;
|
|
236
|
-
}, treeId: ObjectId, trackedBefore: Set<string>, keptOut?: ReadonlySet<string>, sparse?: SparseUnpack): Promise<Set<string>>;
|
|
245
|
+
}, treeId: ObjectId, trackedBefore: Set<string>, keptOut?: ReadonlySet<string>, sparse?: SparseUnpack, submodules?: HardResetSubmodules): Promise<Set<string>>;
|
|
246
|
+
/** The submodule handling of a hard reset's worktree half: the run, and the index it left. */
|
|
247
|
+
export interface HardResetSubmodules {
|
|
248
|
+
unpack: SubmoduleUnpack;
|
|
249
|
+
/** The stage-0 entries of the index before the reset */
|
|
250
|
+
oldIndex: ReadonlyMap<string, {
|
|
251
|
+
objectId: ObjectId;
|
|
252
|
+
mode: number;
|
|
253
|
+
}>;
|
|
254
|
+
}
|
|
237
255
|
/**
|
|
238
256
|
* Records in the index the stat of the files a one-way reset just wrote (`paths`): git's
|
|
239
257
|
* `checkout_entry` fills each written entry's stat data in `check_updates`, so a following
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-command.d.ts","sourceRoot":"","sources":["../../src/commands/reset-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAY,KAAK,QAAQ,EAAE,KAAK,GAAG,EAAE,MAAM,uBAAu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export declare class RestoreCommand extends GitCommand<CheckoutResult> {
|
|
|
47
47
|
private patchSelector?;
|
|
48
48
|
private patchOptions;
|
|
49
49
|
private patchCompatibility;
|
|
50
|
+
private recurseSubmodules?;
|
|
50
51
|
/**
|
|
51
52
|
* `git restore -p`: the differences between the source and the worktree (with
|
|
52
53
|
* `--staged`: the index; with both: index and worktree) are offered hunk by hunk, as
|
|
@@ -77,6 +78,12 @@ export declare class RestoreCommand extends GitCommand<CheckoutResult> {
|
|
|
77
78
|
addPath(path: string): this;
|
|
78
79
|
/** `--pathspec-from-file` (and `--pathspec-file-nul` with `nul`): the elements of `content`. */
|
|
79
80
|
setPathspecFromFile(content: string | Uint8Array, nul?: boolean): this;
|
|
81
|
+
/**
|
|
82
|
+
* `--[no-]recurse-submodules` (default `submodule.recurse`): a restored submodule's worktree
|
|
83
|
+
* is checked out at the recorded commit too (its local changes discarded), its HEAD detached
|
|
84
|
+
* there, as entry.c's `checkout_entry` moves it.
|
|
85
|
+
*/
|
|
86
|
+
setRecurseSubmodules(recurse: boolean): this;
|
|
80
87
|
/** `--source=<tree-ish>`: restore from it (default: the index, or HEAD with `--staged`). */
|
|
81
88
|
setSource(source: string): this;
|
|
82
89
|
/** `--staged`: restore the index. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-command.d.ts","sourceRoot":"","sources":["../../src/commands/restore-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,aAAa,EAInB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAGnB,MAAM,uBAAuB,CAAC;AAO/B;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,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,EAAE,OAAO,GAAG,IAAI,CAInC;IAED,yFAAyF;IACzF,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAIjC;IAED,wEAAwE;IACxE,yBAAyB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAI/C;IAED,uFAAuF;IACvF,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAInC;IAED,gFAAgF;IAChF,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAI7B;IAED,2EAA2E;IAC3E,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAI3C;IAED,0EAA0E;IAC1E,iBAAiB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAIvC;IAED,4CAA4C;IAC5C,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAI7B;IAEK,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,CAuDpC;CACF"}
|
|
@@ -87,5 +87,7 @@ export declare function compileCommitGrep(options: CommitGrepOptions): CommitGre
|
|
|
87
87
|
* ident.c's apply_mailmap_to_header: the `author`/`committer` lines of the header part
|
|
88
88
|
* rewritten to the mailmap's name and email (`Name <email>`, the rest of the line kept).
|
|
89
89
|
*/
|
|
90
|
-
export declare function applyMailmapToHeader(raw: Uint8Array, mailmap: Mailmap
|
|
90
|
+
export declare function applyMailmapToHeader(raw: Uint8Array, mailmap: Mailmap,
|
|
91
|
+
/** The header lines rewritten (default `author `, `committer `; cat-file adds `tagger `) */
|
|
92
|
+
prefixes?: readonly Uint8Array[]): Uint8Array;
|
|
91
93
|
//# sourceMappingURL=commit-grep.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commit-grep.d.ts","sourceRoot":"","sources":["../../../src/commands/rev-filter/commit-grep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;A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;AAqGD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,UAAU,CA+IxE;AAoCD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,UAAU,EACf,OAAO,EAAE,OAAO;AAChB,4FAA4F;AAC5F,QAAQ,GAAE,SAAS,UAAU,EAAiB,GAC7C,UAAU,CAwBZ"}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
import { GitCommand } from "../git-command.js";
|
|
19
|
+
import type { DiffTextOptions } from "./diff-command.js";
|
|
19
20
|
import { type LogOrder, type LogResult } from "./log-command.js";
|
|
20
21
|
import type { LogOutputOptions } from "./log-output.js";
|
|
21
22
|
import type { CommitFilter, GrepPatternType } from "./rev-filter/index.js";
|
|
@@ -37,6 +38,7 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
37
38
|
private readonly revisions;
|
|
38
39
|
private readonly mixed;
|
|
39
40
|
private committish;
|
|
41
|
+
private ignoreMissing;
|
|
40
42
|
private logConfig;
|
|
41
43
|
private readonly configure;
|
|
42
44
|
/** The paths of {@link addPath}, for `--bisect`'s walk */
|
|
@@ -52,6 +54,16 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
52
54
|
private walkReflogs;
|
|
53
55
|
/** What reading the revisions printed (`warning:` lines) */
|
|
54
56
|
private warnings;
|
|
57
|
+
/** `--left-right`, for rev-list's marks */
|
|
58
|
+
private leftRight;
|
|
59
|
+
/** `--cherry-mark` (or `--cherry`), for rev-list's marks */
|
|
60
|
+
private cherryMark;
|
|
61
|
+
/** `--count` */
|
|
62
|
+
private count;
|
|
63
|
+
/** `--parents`: rev-list prints each commit's parents after it */
|
|
64
|
+
private printParents;
|
|
65
|
+
/** `--ancestry-path=<commit>` revisions, resolved when called */
|
|
66
|
+
private readonly ancestryPaths;
|
|
55
67
|
/** What git prints while reading replace refs and grafts (see GitCommand). */
|
|
56
68
|
replacementMessages(): Promise<string[]>;
|
|
57
69
|
/**
|
|
@@ -89,7 +101,8 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
89
101
|
addGrepReflog(pattern: string): this;
|
|
90
102
|
/**
|
|
91
103
|
* What git printed on stderr while reading the revisions and still went on (`warning: log
|
|
92
|
-
* for 'HEAD' only goes back to ...`),
|
|
104
|
+
* for 'HEAD' only goes back to ...`), then what the log printed there (see
|
|
105
|
+
* `LogCommand.warnings`: the mailmap's errors), once called.
|
|
93
106
|
*/
|
|
94
107
|
getWarnings(): string[];
|
|
95
108
|
/** `--all`: every ref under `refs/` (in name order), then HEAD. */
|
|
@@ -121,10 +134,64 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
121
134
|
addStdin(text: string): this;
|
|
122
135
|
/** `--topo-order`, `--date-order`, `--author-date-order` (see `LogCommand.setOrder`). */
|
|
123
136
|
setOrder(order: LogOrder | undefined): this;
|
|
137
|
+
/** `--no-merges`: commits with more than one parent left out. */
|
|
138
|
+
setNoMerges(noMerges: boolean): this;
|
|
139
|
+
/** The options of the diffs {@link callLogText} prints (see `LogCommand.setDiffOptions`). */
|
|
140
|
+
setDiffOptions(options: DiffTextOptions): this;
|
|
124
141
|
/** `--reverse` (see `LogCommand.setReverse`). */
|
|
125
142
|
setReverse(reverse: boolean): this;
|
|
126
143
|
/** `--boundary` (see `LogCommand.setBoundary`). */
|
|
127
144
|
setBoundary(boundary: boolean): this;
|
|
145
|
+
/** `--left-right` (see `LogCommand.setLeftRight`): rev-list prints `<<id>` and `><id>`. */
|
|
146
|
+
setLeftRight(leftRight: boolean): this;
|
|
147
|
+
/** `--left-only` (see `LogCommand.setLeftOnly`). */
|
|
148
|
+
setLeftOnly(leftOnly: boolean): this;
|
|
149
|
+
/** `--right-only` (see `LogCommand.setRightOnly`). */
|
|
150
|
+
setRightOnly(rightOnly: boolean): this;
|
|
151
|
+
/** `--cherry-pick` (see `LogCommand.setCherryPick`). */
|
|
152
|
+
setCherryPick(cherryPick: boolean): this;
|
|
153
|
+
/**
|
|
154
|
+
* `--cherry-mark` (see `LogCommand.setCherryMark`): rev-list prints `=<id>` for the commits
|
|
155
|
+
* the other side has, `+<id>` for the others (unless `--left-right` marks them).
|
|
156
|
+
*/
|
|
157
|
+
setCherryMark(cherryMark: boolean): this;
|
|
158
|
+
/** `--cherry` (see `LogCommand.setCherry`). */
|
|
159
|
+
setCherry(cherry: boolean): this;
|
|
160
|
+
/**
|
|
161
|
+
* `--count`: {@link callText} prints how many commits it would list instead: `<n>`;
|
|
162
|
+
* `<left>\t<right>` with `--left-right`; `<n>\t<same>` with `--cherry-mark`; all three
|
|
163
|
+
* with both (builtin/rev-list.c).
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* ```typescript
|
|
167
|
+
* // git rev-list --count --left-right main...topic
|
|
168
|
+
* await git.revList().addRevision("main...topic").setLeftRight(true).setCount(true).callText();
|
|
169
|
+
* // "2\t3\n"
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
setCount(count: boolean): this;
|
|
173
|
+
/** `--full-history` (see `LogCommand.setFullHistory`). */
|
|
174
|
+
setFullHistory(fullHistory: boolean): this;
|
|
175
|
+
/** `--simplify-merges` (see `LogCommand.setSimplifyMerges`). */
|
|
176
|
+
setSimplifyMerges(simplify: boolean): this;
|
|
177
|
+
/** `--simplify-by-decoration` (see `LogCommand.setSimplifyByDecoration`). */
|
|
178
|
+
setSimplifyByDecoration(simplify: boolean): this;
|
|
179
|
+
/** `--dense` (true) / `--sparse` (false) (see `LogCommand.setDense`). */
|
|
180
|
+
setDense(dense: boolean): this;
|
|
181
|
+
/** `--show-pulls` (see `LogCommand.setShowPulls`). */
|
|
182
|
+
setShowPulls(showPulls: boolean): this;
|
|
183
|
+
/**
|
|
184
|
+
* `--parents` (see `LogCommand.setParents`): {@link callText} prints each commit's parents
|
|
185
|
+
* after its id, as git rev-list does.
|
|
186
|
+
*/
|
|
187
|
+
setParents(parents: boolean): this;
|
|
188
|
+
/** `--ancestry-path` (see `LogCommand.setAncestryPath`). */
|
|
189
|
+
setAncestryPath(ancestryPath: boolean): this;
|
|
190
|
+
/**
|
|
191
|
+
* `--ancestry-path=<commit>` (see `LogCommand.addAncestryPath`): a revision naming a commit
|
|
192
|
+
* (`could not get commit for --ancestry-path argument <revision>` otherwise).
|
|
193
|
+
*/
|
|
194
|
+
addAncestryPath(revision: string): this;
|
|
128
195
|
/** `--source` (`git log`'s; see `LogCommand.setSource`). */
|
|
129
196
|
setSource(source: boolean): this;
|
|
130
197
|
/** `--since=<seconds>` / `--max-age` (see `LogCommand.setSince`). */
|
|
@@ -161,6 +228,8 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
161
228
|
* ```
|
|
162
229
|
*/
|
|
163
230
|
addArgument(arg: string): this;
|
|
231
|
+
/** `--ignore-missing`: revisions that name nothing are skipped instead of dying. */
|
|
232
|
+
setIgnoreMissing(ignore: boolean): this;
|
|
164
233
|
/**
|
|
165
234
|
* Read plain revisions as committishes, as `git log` does (the default), or as given, as
|
|
166
235
|
* `git rev-list` does (it matters only to an abbreviated id that names several objects).
|
|
@@ -206,10 +275,14 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
206
275
|
private refTips;
|
|
207
276
|
call(): Promise<AsyncIterable<LogResult>>;
|
|
208
277
|
/**
|
|
209
|
-
* `git rev-list <revisions>`'s output: each commit's id on a line
|
|
210
|
-
*
|
|
278
|
+
* `git rev-list <revisions>`'s output: each commit's id on a line after its mark
|
|
279
|
+
* (get_revision_mark): `-` for a boundary commit (`--boundary`), `=` for one the other
|
|
280
|
+
* side has (`--cherry-mark`), `<`/`>` by side (`--left-right`), `+` for the others under
|
|
281
|
+
* `--cherry-mark`. With {@link setCount}, the counts instead.
|
|
211
282
|
*/
|
|
212
283
|
callText(): Promise<string>;
|
|
284
|
+
/** revision.c's get_revision_mark for rev-list (no graph). */
|
|
285
|
+
private revisionMark;
|
|
213
286
|
/**
|
|
214
287
|
* `git log <revisions>`'s output (see `LogCommand.callText`): the revisions of this
|
|
215
288
|
* command walked and printed with `options`.
|
|
@@ -222,6 +295,8 @@ export declare class RevListCommand extends GitCommand<AsyncIterable<LogResult>>
|
|
|
222
295
|
* ```
|
|
223
296
|
*/
|
|
224
297
|
callLogText(options?: LogOutputOptions): Promise<string>;
|
|
298
|
+
/** {@link callLogText} as bytes (messages and contents that are not UTF-8 kept as they are). */
|
|
299
|
+
callLogBytes(options?: LogOutputOptions): Promise<Uint8Array>;
|
|
225
300
|
/** rev-list's `--bisect` / `--bisect-vars` output (builtin/rev-list.c, show_bisect_vars). */
|
|
226
301
|
private bisectText;
|
|
227
302
|
/** The log walking the revisions; undefined when they name nothing to walk. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rev-list-command.d.ts","sourceRoot":"","sources":["../../src/commands/rev-list-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAQ/C,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"rev-list-command.d.ts","sourceRoot":"","sources":["../../src/commands/rev-list-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAQ/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAa,MAAM,kBAAkB,CAAC;AACxF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE3E,OAAO,EAA4B,KAAK,mBAAmB,EAAE,MAA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AI,IAAI,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAG9C;IAED;;;;;OAKG;IACG,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAyBhC;IAED,8DAA8D;IAC9D,OAAO,CAAC,YAAY;IAQpB;;;;;;;;;;OAUG;IACG,WAAW,CAAC,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,CAKjE;IAED,gGAAgG;IAC1F,YAAY,CAAC,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,CAItE;IAED,6FAA6F;YAC/E,UAAU;IA2CxB,+EAA+E;YACjE,OAAO;CAqEtB"}
|
|
@@ -74,6 +74,15 @@ export declare class RevParseCommand extends GitCommand<RevParseResult> {
|
|
|
74
74
|
* paths too (`x: no such path in the working tree.`).
|
|
75
75
|
*/
|
|
76
76
|
private parseArgs;
|
|
77
|
+
/**
|
|
78
|
+
* A full id of the compatibility format under `--output-object-format` (git's
|
|
79
|
+
* `GET_OID_HASH_ANY`): printed as given in that format, else as the storage id the map
|
|
80
|
+
* gives (as given when it has none, as git's ignored `repo_oid_to_algop` failure leaves it).
|
|
81
|
+
* Undefined for anything else.
|
|
82
|
+
*/
|
|
83
|
+
private translatedRevision;
|
|
84
|
+
/** `id` in the compatibility format, as the map gives it (else as it is, as git) */
|
|
85
|
+
private outputCompat;
|
|
77
86
|
/**
|
|
78
87
|
* git's `try_difference`: `a..b` prints b and ^a; `a...b` prints b, a and ^ each merge base.
|
|
79
88
|
* A symmetric difference with a side that is no commit has printed b and a when git finds
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rev-parse-command.d.ts","sourceRoot":"","sources":["../../src/commands/rev-parse-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;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AQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,qBAAa,eAAgB,SAAQ,UAAU,CAAC,cAAc,CAAC;IAC7D,OAAO,CAAC,QAAQ,CAAC,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IACrC,OAAO,CAAC,MAAM,CAAM;IAEpB;;;;OAIG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAI7B;IAED;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAI9B;IAED;;;OAGG;IACH,gBAAgB,IAAI,MAAM,CAEzB;IAED,6FAA6F;IAC7F,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAIlC;IAEK,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,CAmCpC;IAED;;;;;;;;OAQG;YACW,SAAS;IAqGvB;;;;;OAKG;YACW,kBAAkB;IAahC,oFAAoF;YACtE,YAAY;IAI1B;;;;OAIG;YACW,aAAa;IA4B3B,+DAA+D;YACjD,mBAAmB;IA8CjC,OAAO,CAAC,UAAU;CAGnB;AAED,8EAA8E;AAC9E,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAChD,CAAC,EAAE,QAAQ,EACX,CAAC,EAAE,QAAQ,GACV,OAAO,CAAC,QAAQ,EAAE,CAAC,CAIrB"}
|
|
@@ -33,6 +33,10 @@ export declare class RevertCommand extends GitCommand<RevertResult> {
|
|
|
33
33
|
private mainlineParent?;
|
|
34
34
|
private strategy;
|
|
35
35
|
private contentStrategy?;
|
|
36
|
+
private strategyGiven;
|
|
37
|
+
private strategyOptions;
|
|
38
|
+
/** Whose behaviour to follow where git 2.43 and 2.5x differ (default: the hooks') */
|
|
39
|
+
private compatibility?;
|
|
36
40
|
private ourCommitName?;
|
|
37
41
|
private reflogPrefix;
|
|
38
42
|
private operation;
|
|
@@ -62,11 +66,28 @@ export declare class RevertCommand extends GitCommand<RevertResult> {
|
|
|
62
66
|
*/
|
|
63
67
|
setMainlineParentNumber(parent: number): this;
|
|
64
68
|
/**
|
|
65
|
-
* Set the merge strategy (
|
|
69
|
+
* Set the merge strategy (`-s`): a revert always runs merge-ort, but a strategy given is
|
|
70
|
+
* saved in `sequencer/opts` for a run of several commits.
|
|
66
71
|
*
|
|
67
72
|
* @param strategy Merge strategy to use
|
|
68
73
|
*/
|
|
69
74
|
setStrategy(strategy: MergeStrategy): this;
|
|
75
|
+
/**
|
|
76
|
+
* The `-X <option>`s (merge-ort's parse_merge_opt: `ours`, `theirs`, `subtree[=<path>]`,
|
|
77
|
+
* `patience`, `diff-algorithm=<name>`, `ignore-space-change`, `ignore-all-space`,
|
|
78
|
+
* `ignore-space-at-eol`, `ignore-cr-at-eol`, `renormalize`, `no-renames`,
|
|
79
|
+
* `find-renames[=<n>]`, `rename-threshold=<n>`); unknown ones are ignored, as the
|
|
80
|
+
* sequencer ignores them.
|
|
81
|
+
*/
|
|
82
|
+
setStrategyOptions(options: readonly string[]): this;
|
|
83
|
+
/**
|
|
84
|
+
* Whose behaviour to follow where git 2.43 and 2.5x differ (a strategy that gives up dies
|
|
85
|
+
* in 2.5x only; 2.43's merge-subtree records no AUTO_MERGE). Default: the hook runner's,
|
|
86
|
+
* else 2.56.
|
|
87
|
+
*/
|
|
88
|
+
setCompatibility(version: "2.43" | "2.56"): this;
|
|
89
|
+
/** Adds one `-X <option>` (see {@link setStrategyOptions}). */
|
|
90
|
+
addStrategyOption(option: string): this;
|
|
70
91
|
/**
|
|
71
92
|
* Get the merge strategy.
|
|
72
93
|
*/
|
|
@@ -164,6 +185,16 @@ export declare class RevertCommand extends GitCommand<RevertResult> {
|
|
|
164
185
|
private checkOptions;
|
|
165
186
|
/** What the sparse checkout printed while the result was written. */
|
|
166
187
|
private readonly sparseWarnings;
|
|
188
|
+
/** What rerere printed on stderr (a stopped pick, a `--continue`'s commit) */
|
|
189
|
+
private readonly rerereLines;
|
|
190
|
+
/** `--[no-]rerere-autoupdate` */
|
|
191
|
+
private rerereAutoUpdate?;
|
|
192
|
+
/**
|
|
193
|
+
* `--rerere-autoupdate` (true) / `--no-rerere-autoupdate` (false): whether resolutions
|
|
194
|
+
* rerere replays at a conflict are staged (default `rerere.autoUpdate`); kept for the
|
|
195
|
+
* picks `--continue` makes, refused with `--continue`, `--skip`, `--abort`, `--quit`.
|
|
196
|
+
*/
|
|
197
|
+
setRerereAutoUpdate(autoUpdate: boolean): this;
|
|
167
198
|
private run;
|
|
168
199
|
}
|
|
169
200
|
//# sourceMappingURL=revert-command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revert-command.d.ts","sourceRoot":"","sources":["../../src/commands/revert-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKzD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,KAAK,oBAAoB,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIvE,OAAO,EAKL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,aAAc,SAAQ,UAAU,CAAC,YAAY,CAAC;IACzD,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,QAAQ,CAA0C;IAC1D,OAAO,CAAC,eAAe,CAAC,CAAuB;IAC/C,OAAO,CAAC,aAAa,CAAC,CAA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;IAED;;;;OAIG;IACH,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAIpC;IAED;;OAEG;IACH,eAAe,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAIhD;IAED;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,CAIzC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAI3B;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAIvC;IAED,6DAA6D;IAC7D,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAIjC;IAED;;;;;OAKG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAIjC;IAED;;;;;OAKG;IACH,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAIrC;IAED;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAIpC;IAED;;;;OAIG;YACW,SAAS;IAyBjB,IAAI,IAAI,OAAO,CAAC,YAAY,CAAC,CAalC;IAED,uFAAuF;IACvF,OAAO,CAAC,YAAY;IAsBpB,qEAAqE;IACrE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,8EAA8E;IAC9E,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAgB;IAC5C,iCAAiC;IACjC,OAAO,CAAC,gBAAgB,CAAC,CAAU;IAEnC;;;;OAIG;IACH,mBAAmB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI,CAI7C;YAEa,GAAG;CAgDlB"}
|
|
@@ -28,6 +28,8 @@ export interface RevisionArgEntry {
|
|
|
28
28
|
readonly exclude: boolean;
|
|
29
29
|
/** The name it was given by (`a` of `a..b`; undefined for a merge base of `a...b`) */
|
|
30
30
|
readonly name?: string;
|
|
31
|
+
/** The left side of a symmetric difference (`a` of `a...b`, git's SYMMETRIC_LEFT) */
|
|
32
|
+
readonly left?: boolean;
|
|
31
33
|
}
|
|
32
34
|
/** A ref and the object it names (a symbolic ref resolved). */
|
|
33
35
|
export interface RefTip {
|
|
@@ -48,6 +50,11 @@ export interface RevisionArgOptions {
|
|
|
48
50
|
refs?(): Promise<RefTip[]>;
|
|
49
51
|
/** What HEAD names (`--all` adds it after the refs); undefined when it names nothing */
|
|
50
52
|
head?(): Promise<ObjectId | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* `--ignore-missing`: a revision that names nothing is skipped instead of dying
|
|
55
|
+
* (handle_revision_arg's `revs->ignore_missing`), on the command line and in `--stdin`
|
|
56
|
+
*/
|
|
57
|
+
ignoreMissing?: boolean;
|
|
51
58
|
}
|
|
52
59
|
/**
|
|
53
60
|
* The revisions `--stdin` reads (revision.c's read_revisions_from_stdin): one per line, up
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revision-range.d.ts","sourceRoot":"","sources":["../../src/commands/revision-range.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEjF,kFAAkF;AAClF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;IACtB,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,sFAAsF;IACtF,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"revision-range.d.ts","sourceRoot":"","sources":["../../src/commands/revision-range.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,OAAO,KAAK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ACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AA8FD,6FAA6F;AAC7F,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM1D;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,QAAQ,EAAE,gBAAgB,EAC1B,IAAI,EAAE,SAAS,WAAW,EAAE,EAC5B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,kBAAkB,CAAC,CA2C7B;AAkDD;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACrC,QAAQ,EAAE,gBAAgB,EAC1B,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,gBAAgB,EAAE,EACvB,cAAc,EAAE,OAAO,GACtB,OAAO,CAAC,KAAK,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAwC1C"}
|
|
@@ -45,6 +45,11 @@ export interface RevisionSources {
|
|
|
45
45
|
id: ObjectId;
|
|
46
46
|
mode: number;
|
|
47
47
|
} | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The tree's stored bytes: a tree holding a name the store refuses to decode (`..`) is
|
|
50
|
+
* read through them, as git's `find_tree_entry` reads any tree
|
|
51
|
+
*/
|
|
52
|
+
raw?(id: ObjectId): Promise<Uint8Array | undefined>;
|
|
48
53
|
};
|
|
49
54
|
blobs: {
|
|
50
55
|
has(id: ObjectId): Promise<boolean>;
|
|
@@ -116,6 +121,12 @@ export declare class RevisionResolver {
|
|
|
116
121
|
* against which `<rev>:./<path>`, `<rev>:../<path>` and `:./<path>` are read
|
|
117
122
|
*/
|
|
118
123
|
cwdPrefix: string;
|
|
124
|
+
/**
|
|
125
|
+
* The mode of the tree or index entry the last {@link resolve} read a path from (git's
|
|
126
|
+
* `GET_OID_RECORD_PATH` `object_context.mode`: `<rev>:<path>`, `:<path>`); undefined for a
|
|
127
|
+
* name that read no entry (`S_IFINVALID`), `<rev>:` (the tree itself) included
|
|
128
|
+
*/
|
|
129
|
+
lastMode: number | undefined;
|
|
119
130
|
private config?;
|
|
120
131
|
private disambiguateChecked;
|
|
121
132
|
/** Refs read while resolving one revision (`HEAD~3` reads HEAD once) */
|
|
@@ -261,6 +272,7 @@ export declare class RevisionResolver {
|
|
|
261
272
|
* itself for ""). Components are matched exactly: an empty one (`/a`, `d//b`) names
|
|
262
273
|
* nothing, and a trailing `/` only follows a directory (`d/` is d, `a.txt/` nothing).
|
|
263
274
|
*/
|
|
275
|
+
private findTreeEntry;
|
|
264
276
|
private treeEntry;
|
|
265
277
|
/** `:<n>:<path>`: the index entry of `path` at `stage`. */
|
|
266
278
|
private indexEntry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revision-resolver.d.ts","sourceRoot":"","sources":["../../src/commands/revision-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"revision-resolver.d.ts","sourceRoot":"","sources":["../../src/commands/revision-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAU7F,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAS1E,0CAA0C;AAC1C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE;QACP,IAAI,CAAC,EAAE,EAAE,QA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