@statewalker/vcs-commands 0.4.0 → 0.6.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 +123 -8
- package/dist/commands/add-command.d.ts +265 -34
- package/dist/commands/add-command.d.ts.map +1 -1
- package/dist/commands/add-patch/add-interactive.d.ts +46 -0
- package/dist/commands/add-patch/add-interactive.d.ts.map +1 -0
- package/dist/commands/add-patch/add-patch.d.ts +139 -0
- package/dist/commands/add-patch/add-patch.d.ts.map +1 -0
- package/dist/commands/add-patch/index.d.ts +6 -0
- package/dist/commands/add-patch/index.d.ts.map +1 -0
- package/dist/commands/add-patch/patch-backend.d.ts +80 -0
- package/dist/commands/add-patch/patch-backend.d.ts.map +1 -0
- package/dist/commands/add-patch/patch-modes.d.ts +71 -0
- package/dist/commands/add-patch/patch-modes.d.ts.map +1 -0
- package/dist/commands/add-patch/patch-session.d.ts +49 -0
- package/dist/commands/add-patch/patch-session.d.ts.map +1 -0
- package/dist/commands/am/am-command.d.ts +175 -0
- package/dist/commands/am/am-command.d.ts.map +1 -0
- package/dist/commands/am/index.d.ts +3 -0
- package/dist/commands/am/index.d.ts.map +1 -0
- package/dist/commands/am/mailinfo.d.ts +58 -0
- package/dist/commands/am/mailinfo.d.ts.map +1 -0
- package/dist/commands/am/patch-format.d.ts +24 -0
- package/dist/commands/am/patch-format.d.ts.map +1 -0
- package/dist/commands/apply/apply-command.d.ts +153 -0
- package/dist/commands/apply/apply-command.d.ts.map +1 -0
- package/dist/commands/apply/apply-engine.d.ts +195 -0
- package/dist/commands/apply/apply-engine.d.ts.map +1 -0
- package/dist/commands/apply/apply-parse.d.ts +86 -0
- package/dist/commands/apply/apply-parse.d.ts.map +1 -0
- package/dist/commands/apply/apply-types.d.ts +70 -0
- package/dist/commands/apply/apply-types.d.ts.map +1 -0
- package/dist/commands/apply/index.d.ts +6 -0
- package/dist/commands/apply/index.d.ts.map +1 -0
- package/dist/commands/apply/latin1.d.ts +32 -0
- package/dist/commands/apply/latin1.d.ts.map +1 -0
- package/dist/commands/apply/whitespace.d.ts +58 -0
- package/dist/commands/apply/whitespace.d.ts.map +1 -0
- package/dist/commands/attributes-source.d.ts +26 -0
- package/dist/commands/attributes-source.d.ts.map +1 -0
- package/dist/commands/backfill-command.d.ts +110 -0
- package/dist/commands/backfill-command.d.ts.map +1 -0
- package/dist/commands/bisect/bisect-checkout.d.ts +64 -0
- package/dist/commands/bisect/bisect-checkout.d.ts.map +1 -0
- package/dist/commands/bisect/bisect-command.d.ts +201 -0
- package/dist/commands/bisect/bisect-command.d.ts.map +1 -0
- package/dist/commands/bisect/bisect-engine.d.ts +219 -0
- package/dist/commands/bisect/bisect-engine.d.ts.map +1 -0
- package/dist/commands/bisect/bisect-graph.d.ts +127 -0
- package/dist/commands/bisect/bisect-graph.d.ts.map +1 -0
- package/dist/commands/bisect/bisect-quote.d.ts +27 -0
- package/dist/commands/bisect/bisect-quote.d.ts.map +1 -0
- package/dist/commands/bisect/index.d.ts +5 -0
- package/dist/commands/bisect/index.d.ts.map +1 -0
- package/dist/commands/blame-command.d.ts +122 -131
- package/dist/commands/blame-command.d.ts.map +1 -1
- package/dist/commands/branch-command.d.ts +52 -2
- package/dist/commands/branch-command.d.ts.map +1 -1
- package/dist/commands/branch-tracking.d.ts +98 -0
- package/dist/commands/branch-tracking.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts +299 -34
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/checkout-paths.d.ts +124 -0
- package/dist/commands/checkout-paths.d.ts.map +1 -0
- package/dist/commands/cherry-pick-command.d.ts +50 -42
- package/dist/commands/cherry-pick-command.d.ts.map +1 -1
- package/dist/commands/clean-command.d.ts +67 -4
- package/dist/commands/clean-command.d.ts.map +1 -1
- package/dist/commands/clone-command.d.ts +179 -7
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +311 -17
- package/dist/commands/commit-command.d.ts.map +1 -1
- package/dist/commands/core-config.d.ts +93 -0
- package/dist/commands/core-config.d.ts.map +1 -0
- package/dist/commands/date-format.d.ts +58 -0
- package/dist/commands/date-format.d.ts.map +1 -0
- package/dist/commands/describe-command.d.ts.map +1 -1
- package/dist/commands/diff-command.d.ts +377 -30
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/diff-textconv.d.ts +40 -0
- package/dist/commands/diff-textconv.d.ts.map +1 -0
- package/dist/commands/fetch-command.d.ts +244 -23
- package/dist/commands/fetch-command.d.ts.map +1 -1
- package/dist/commands/format-patch-command.d.ts +164 -0
- package/dist/commands/format-patch-command.d.ts.map +1 -0
- package/dist/commands/fsck/fetch-fsck.d.ts +60 -0
- package/dist/commands/fsck/fetch-fsck.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-command.d.ts +225 -0
- package/dist/commands/fsck/fsck-command.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-loose.d.ts +68 -0
- package/dist/commands/fsck/fsck-loose.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-msg-ids.d.ts +122 -0
- package/dist/commands/fsck/fsck-msg-ids.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-object-checks.d.ts +148 -0
- package/dist/commands/fsck/fsck-object-checks.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-object-table.d.ts +132 -0
- package/dist/commands/fsck/fsck-object-table.d.ts.map +1 -0
- package/dist/commands/fsck/fsck-pack.d.ts +115 -0
- package/dist/commands/fsck/fsck-pack.d.ts.map +1 -0
- package/dist/commands/fsck/index.d.ts +6 -0
- package/dist/commands/fsck/index.d.ts.map +1 -0
- package/dist/commands/fsck/verify-pack-command.d.ts +81 -0
- package/dist/commands/fsck/verify-pack-command.d.ts.map +1 -0
- package/dist/commands/gc-command.d.ts +43 -0
- package/dist/commands/gc-command.d.ts.map +1 -1
- package/dist/commands/git-date.d.ts +66 -0
- package/dist/commands/git-date.d.ts.map +1 -0
- package/dist/commands/git-describe.d.ts +67 -0
- package/dist/commands/git-describe.d.ts.map +1 -0
- package/dist/commands/git-hooks.d.ts +416 -0
- package/dist/commands/git-hooks.d.ts.map +1 -0
- package/dist/commands/git-ident.d.ts +128 -0
- package/dist/commands/git-ident.d.ts.map +1 -0
- package/dist/commands/hook-command.d.ts +96 -0
- package/dist/commands/hook-command.d.ts.map +1 -0
- package/dist/commands/index-adder.d.ts +231 -0
- package/dist/commands/index-adder.d.ts.map +1 -0
- package/dist/commands/index-host.d.ts +86 -0
- package/dist/commands/index-host.d.ts.map +1 -0
- package/dist/commands/index.d.ts +55 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +3 -2
- package/dist/commands/init-command.d.ts +12 -1
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/local-clone.d.ts +60 -0
- package/dist/commands/local-clone.d.ts.map +1 -0
- package/dist/commands/local-transport.d.ts +117 -0
- package/dist/commands/local-transport.d.ts.map +1 -0
- package/dist/commands/log-command.d.ts +216 -24
- package/dist/commands/log-command.d.ts.map +1 -1
- package/dist/commands/log-graph.d.ts +120 -0
- package/dist/commands/log-graph.d.ts.map +1 -0
- package/dist/commands/log-output.d.ts +323 -0
- package/dist/commands/log-output.d.ts.map +1 -0
- package/dist/commands/ls-remote-command.d.ts +23 -7
- package/dist/commands/ls-remote-command.d.ts.map +1 -1
- package/dist/commands/mailmap.d.ts +31 -0
- package/dist/commands/mailmap.d.ts.map +1 -0
- package/dist/commands/merge-bases.d.ts +85 -0
- package/dist/commands/merge-bases.d.ts.map +1 -0
- package/dist/commands/merge-command.d.ts +209 -74
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-config.d.ts +13 -0
- package/dist/commands/merge-config.d.ts.map +1 -0
- package/dist/commands/merge-drivers.d.ts +130 -0
- package/dist/commands/merge-drivers.d.ts.map +1 -0
- package/dist/commands/merge-support.d.ts +252 -0
- package/dist/commands/merge-support.d.ts.map +1 -0
- package/dist/commands/message-cleanup.d.ts +86 -0
- package/dist/commands/message-cleanup.d.ts.map +1 -0
- package/dist/commands/mv-command.d.ts +94 -0
- package/dist/commands/mv-command.d.ts.map +1 -0
- package/dist/commands/notes-command.d.ts +256 -0
- package/dist/commands/notes-command.d.ts.map +1 -0
- package/dist/commands/notes-commands.d.ts +41 -0
- package/dist/commands/notes-commands.d.ts.map +1 -0
- package/dist/commands/notes-merge-command.d.ts +105 -0
- package/dist/commands/notes-merge-command.d.ts.map +1 -0
- package/dist/commands/notes-support.d.ts +125 -0
- package/dist/commands/notes-support.d.ts.map +1 -0
- package/dist/commands/notes-tree.d.ts +106 -0
- package/dist/commands/notes-tree.d.ts.map +1 -0
- package/dist/commands/object-id-input.d.ts +20 -0
- package/dist/commands/object-id-input.d.ts.map +1 -0
- package/dist/commands/octopus-merge.d.ts +59 -0
- package/dist/commands/octopus-merge.d.ts.map +1 -0
- package/dist/commands/ort-merge.d.ts +126 -0
- package/dist/commands/ort-merge.d.ts.map +1 -0
- package/dist/commands/ort-recursive.d.ts +53 -0
- package/dist/commands/ort-recursive.d.ts.map +1 -0
- package/dist/commands/pack-refs-command.d.ts +20 -0
- package/dist/commands/pack-refs-command.d.ts.map +1 -1
- package/dist/commands/patch-id.d.ts +41 -0
- package/dist/commands/patch-id.d.ts.map +1 -0
- package/dist/commands/pathspec-attributes.d.ts +64 -0
- package/dist/commands/pathspec-attributes.d.ts.map +1 -0
- package/dist/commands/pathspec.d.ts +324 -0
- package/dist/commands/pathspec.d.ts.map +1 -0
- package/dist/commands/post-index-change.d.ts +33 -0
- package/dist/commands/post-index-change.d.ts.map +1 -0
- package/dist/commands/pretty-format.d.ts +222 -0
- package/dist/commands/pretty-format.d.ts.map +1 -0
- package/dist/commands/promisor-remote.d.ts +80 -0
- package/dist/commands/promisor-remote.d.ts.map +1 -0
- package/dist/commands/pull-command.d.ts +41 -8
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +24 -8
- package/dist/commands/push-command.d.ts.map +1 -1
- package/dist/commands/read-tree-command.d.ts +112 -0
- package/dist/commands/read-tree-command.d.ts.map +1 -0
- package/dist/commands/rebase-command.d.ts +507 -75
- package/dist/commands/rebase-command.d.ts.map +1 -1
- package/dist/commands/rebase-todo.d.ts +130 -0
- package/dist/commands/rebase-todo.d.ts.map +1 -0
- package/dist/commands/ref-decoration-filter.d.ts +53 -0
- package/dist/commands/ref-decoration-filter.d.ts.map +1 -0
- package/dist/commands/reflog-messages.d.ts +98 -0
- package/dist/commands/reflog-messages.d.ts.map +1 -0
- package/dist/commands/remote-command.d.ts +146 -6
- package/dist/commands/remote-command.d.ts.map +1 -1
- package/dist/commands/remote-transport.d.ts +120 -0
- package/dist/commands/remote-transport.d.ts.map +1 -0
- package/dist/commands/reset-command.d.ts +161 -7
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/restore-command.d.ts +103 -0
- package/dist/commands/restore-command.d.ts.map +1 -0
- package/dist/commands/rev-list-command.d.ts +78 -0
- package/dist/commands/rev-list-command.d.ts.map +1 -0
- package/dist/commands/rev-parse-command.d.ts +80 -0
- package/dist/commands/rev-parse-command.d.ts.map +1 -0
- package/dist/commands/revert-command.d.ts +46 -38
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-filenames.d.ts +95 -0
- package/dist/commands/revision-filenames.d.ts.map +1 -0
- package/dist/commands/revision-range.d.ts +67 -0
- package/dist/commands/revision-range.d.ts.map +1 -0
- package/dist/commands/revision-resolver.d.ts +321 -0
- package/dist/commands/revision-resolver.d.ts.map +1 -0
- package/dist/commands/rm-command.d.ts +69 -7
- package/dist/commands/rm-command.d.ts.map +1 -1
- package/dist/commands/sequencer-pick.d.ts +191 -0
- package/dist/commands/sequencer-pick.d.ts.map +1 -0
- package/dist/commands/sequencer-support.d.ts +125 -0
- package/dist/commands/sequencer-support.d.ts.map +1 -0
- package/dist/commands/serve-repository.d.ts +52 -0
- package/dist/commands/serve-repository.d.ts.map +1 -0
- package/dist/commands/sparse-checkout-command.d.ts +190 -0
- package/dist/commands/sparse-checkout-command.d.ts.map +1 -0
- package/dist/commands/sparse-checkout-support.d.ts +268 -0
- package/dist/commands/sparse-checkout-support.d.ts.map +1 -0
- package/dist/commands/stash-apply-command.d.ts +69 -13
- package/dist/commands/stash-apply-command.d.ts.map +1 -1
- package/dist/commands/stash-create-command.d.ts +214 -26
- package/dist/commands/stash-create-command.d.ts.map +1 -1
- package/dist/commands/stash-drop-command.d.ts +10 -2
- package/dist/commands/stash-drop-command.d.ts.map +1 -1
- package/dist/commands/stash-list-command.d.ts +2 -4
- package/dist/commands/stash-list-command.d.ts.map +1 -1
- package/dist/commands/stash-working-tree.d.ts +95 -0
- package/dist/commands/stash-working-tree.d.ts.map +1 -0
- package/dist/commands/status-command.d.ts +320 -28
- package/dist/commands/status-command.d.ts.map +1 -1
- package/dist/commands/status-format.d.ts +155 -0
- package/dist/commands/status-format.d.ts.map +1 -0
- package/dist/commands/status-header.d.ts +64 -0
- package/dist/commands/status-header.d.ts.map +1 -0
- package/dist/commands/strerror.d.ts +7 -0
- package/dist/commands/strerror.d.ts.map +1 -0
- package/dist/commands/submodule-config.d.ts +38 -0
- package/dist/commands/submodule-config.d.ts.map +1 -0
- package/dist/commands/submodule-summary-command.d.ts +80 -0
- package/dist/commands/submodule-summary-command.d.ts.map +1 -0
- package/dist/commands/submodule-summary.d.ts +150 -0
- package/dist/commands/submodule-summary.d.ts.map +1 -0
- package/dist/commands/switch-command.d.ts +132 -0
- package/dist/commands/switch-command.d.ts.map +1 -0
- package/dist/commands/tag-command.d.ts +23 -2
- package/dist/commands/tag-command.d.ts.map +1 -1
- package/dist/commands/tracking-info.d.ts +64 -0
- package/dist/commands/tracking-info.d.ts.map +1 -0
- package/dist/commands/trailers.d.ts +73 -0
- package/dist/commands/trailers.d.ts.map +1 -0
- package/dist/commands/tree-restore.d.ts +137 -6
- package/dist/commands/tree-restore.d.ts.map +1 -1
- package/dist/commands/untracked-cache-support.d.ts +53 -0
- package/dist/commands/untracked-cache-support.d.ts.map +1 -0
- package/dist/commands/worktree-add-command.d.ts +108 -0
- package/dist/commands/worktree-add-command.d.ts.map +1 -0
- package/dist/commands/worktree-list-command.d.ts +69 -0
- package/dist/commands/worktree-list-command.d.ts.map +1 -0
- package/dist/commands/worktree-lock-command.d.ts +44 -0
- package/dist/commands/worktree-lock-command.d.ts.map +1 -0
- package/dist/commands/worktree-overwrite-checks.d.ts +204 -0
- package/dist/commands/worktree-overwrite-checks.d.ts.map +1 -0
- package/dist/commands/worktree-prune-command.d.ts +48 -0
- package/dist/commands/worktree-prune-command.d.ts.map +1 -0
- package/dist/commands/worktree-remove-command.d.ts +59 -0
- package/dist/commands/worktree-remove-command.d.ts.map +1 -0
- package/dist/commands/worktree-repair-command.d.ts +35 -0
- package/dist/commands/worktree-repair-command.d.ts.map +1 -0
- package/dist/commands/worktree-support.d.ts +64 -0
- package/dist/commands/worktree-support.d.ts.map +1 -0
- package/dist/commands-DnmlfwGV.js +61620 -0
- package/dist/core-commands/add.command.impl.d.ts.map +1 -1
- package/dist/core-commands/index.d.ts +0 -3
- package/dist/core-commands/index.d.ts.map +1 -1
- package/dist/errors/add-errors.d.ts +55 -0
- package/dist/errors/add-errors.d.ts.map +1 -1
- package/dist/errors/checkout-errors.d.ts +29 -0
- package/dist/errors/checkout-errors.d.ts.map +1 -1
- package/dist/errors/command-errors.d.ts +77 -0
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/commit-errors.d.ts +9 -0
- package/dist/errors/commit-errors.d.ts.map +1 -1
- package/dist/errors/git-api-error.d.ts +59 -2
- package/dist/errors/git-api-error.d.ts.map +1 -1
- package/dist/errors/index.d.ts +1 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +371 -19
- package/dist/errors/rebase-errors.d.ts +9 -0
- package/dist/errors/rebase-errors.d.ts.map +1 -1
- package/dist/errors/ref-errors.d.ts +32 -0
- package/dist/errors/ref-errors.d.ts.map +1 -1
- package/dist/errors/transport-errors.d.ts +12 -2
- package/dist/errors/transport-errors.d.ts.map +1 -1
- package/dist/errors/worktree-errors.d.ts +35 -0
- package/dist/errors/worktree-errors.d.ts.map +1 -0
- package/dist/git-command-DxvwPrPB.js +7612 -0
- package/dist/git-command.d.ts +422 -32
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +326 -5
- package/dist/git.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/remote-config/index.d.ts +1 -0
- package/dist/remote-config/index.d.ts.map +1 -1
- package/dist/remote-config/remote-config-store.d.ts +123 -3
- package/dist/remote-config/remote-config-store.d.ts.map +1 -1
- package/dist/remote-config/remote-refs.d.ts +41 -0
- package/dist/remote-config/remote-refs.d.ts.map +1 -0
- package/dist/rename/detect-renames.d.ts +148 -0
- package/dist/rename/detect-renames.d.ts.map +1 -0
- package/dist/rename/git-similarity.d.ts +44 -0
- package/dist/rename/git-similarity.d.ts.map +1 -0
- package/dist/rename/index.d.ts +2 -0
- package/dist/rename/index.d.ts.map +1 -1
- package/dist/results/binary-patch.d.ts +11 -0
- package/dist/results/binary-patch.d.ts.map +1 -0
- package/dist/results/blame-format.d.ts +55 -0
- package/dist/results/blame-format.d.ts.map +1 -0
- package/dist/results/cherry-pick-result.d.ts +10 -0
- package/dist/results/cherry-pick-result.d.ts.map +1 -1
- package/dist/results/clone-result.d.ts +16 -0
- package/dist/results/clone-result.d.ts.map +1 -1
- package/dist/results/combined-diff.d.ts +77 -0
- package/dist/results/combined-diff.d.ts.map +1 -0
- package/dist/results/diff-entry.d.ts +32 -0
- package/dist/results/diff-entry.d.ts.map +1 -1
- package/dist/results/diff-formatter.d.ts +34 -60
- package/dist/results/diff-formatter.d.ts.map +1 -1
- package/dist/results/diff-order.d.ts +25 -0
- package/dist/results/diff-order.d.ts.map +1 -0
- package/dist/results/diff-output.d.ts +249 -0
- package/dist/results/diff-output.d.ts.map +1 -0
- 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 +5 -0
- package/dist/results/index.d.ts.map +1 -1
- package/dist/results/index.js +2 -252
- package/dist/results/merge-result.d.ts +15 -1
- package/dist/results/merge-result.d.ts.map +1 -1
- package/dist/results/pull-result.d.ts +12 -3
- package/dist/results/pull-result.d.ts.map +1 -1
- package/dist/results/push-result.d.ts +42 -0
- package/dist/results/push-result.d.ts.map +1 -1
- package/dist/results/quote-path.d.ts +27 -0
- package/dist/results/quote-path.d.ts.map +1 -0
- package/dist/results/rebase-result.d.ts +28 -1
- package/dist/results/rebase-result.d.ts.map +1 -1
- package/dist/results/revert-result.d.ts +10 -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 +143 -18
- package/dist/results/status-result.d.ts.map +1 -1
- package/dist/results-BZGa2Z3I.js +2934 -0
- package/dist/transport-command.d.ts +56 -1
- package/dist/transport-command.d.ts.map +1 -1
- package/package.json +15 -10
- package/src/commands/add-command.ts +1291 -224
- package/src/commands/add-patch/add-interactive.ts +941 -0
- package/src/commands/add-patch/add-patch.ts +1169 -0
- package/src/commands/add-patch/index.ts +5 -0
- package/src/commands/add-patch/patch-backend.ts +239 -0
- package/src/commands/add-patch/patch-modes.ts +249 -0
- package/src/commands/add-patch/patch-session.ts +159 -0
- package/src/commands/am/am-command.ts +1111 -0
- package/src/commands/am/index.ts +2 -0
- package/src/commands/am/mailinfo.ts +1015 -0
- package/src/commands/am/patch-format.ts +121 -0
- package/src/commands/apply/apply-command.ts +832 -0
- package/src/commands/apply/apply-engine.ts +1603 -0
- package/src/commands/apply/apply-parse.ts +1209 -0
- package/src/commands/apply/apply-types.ts +112 -0
- package/src/commands/apply/index.ts +5 -0
- package/src/commands/apply/latin1.ts +171 -0
- package/src/commands/apply/whitespace.ts +260 -0
- package/src/commands/attributes-source.ts +96 -0
- package/src/commands/backfill-command.ts +694 -0
- package/src/commands/bisect/bisect-checkout.ts +217 -0
- package/src/commands/bisect/bisect-command.ts +788 -0
- package/src/commands/bisect/bisect-engine.ts +1079 -0
- package/src/commands/bisect/bisect-graph.ts +595 -0
- package/src/commands/bisect/bisect-quote.ts +92 -0
- package/src/commands/bisect/index.ts +4 -0
- package/src/commands/blame-command.ts +711 -986
- package/src/commands/branch-command.ts +354 -32
- package/src/commands/branch-tracking.ts +331 -0
- package/src/commands/checkout-command.ts +1426 -297
- package/src/commands/checkout-paths.ts +784 -0
- package/src/commands/cherry-pick-command.ts +156 -396
- package/src/commands/clean-command.ts +532 -85
- package/src/commands/clone-command.ts +826 -55
- package/src/commands/commit-command.ts +1781 -166
- package/src/commands/core-config.ts +196 -0
- package/src/commands/date-format.ts +668 -0
- package/src/commands/describe-command.ts +2 -0
- package/src/commands/diff-command.ts +1898 -110
- package/src/commands/diff-textconv.ts +50 -0
- package/src/commands/fetch-command.ts +1038 -79
- package/src/commands/format-patch-command.ts +969 -0
- package/src/commands/fsck/fetch-fsck.ts +229 -0
- package/src/commands/fsck/fsck-command.ts +3347 -0
- package/src/commands/fsck/fsck-loose.ts +287 -0
- package/src/commands/fsck/fsck-msg-ids.ts +176 -0
- package/src/commands/fsck/fsck-object-checks.ts +1044 -0
- package/src/commands/fsck/fsck-object-table.ts +363 -0
- package/src/commands/fsck/fsck-pack.ts +604 -0
- package/src/commands/fsck/index.ts +5 -0
- package/src/commands/fsck/verify-pack-command.ts +249 -0
- package/src/commands/gc-command.ts +147 -1
- package/src/commands/git-date.ts +895 -0
- package/src/commands/git-describe.ts +316 -0
- package/src/commands/git-hooks.ts +1472 -0
- package/src/commands/git-ident.ts +344 -0
- package/src/commands/hook-command.ts +247 -0
- package/src/commands/index-adder.ts +706 -0
- package/src/commands/index-host.ts +291 -0
- package/src/commands/index.ts +83 -0
- package/src/commands/init-command.ts +60 -11
- package/src/commands/local-clone.ts +183 -0
- package/src/commands/local-transport.ts +762 -0
- package/src/commands/log-command.ts +1915 -170
- package/src/commands/log-graph.ts +671 -0
- package/src/commands/log-output.ts +1359 -0
- package/src/commands/ls-remote-command.ts +101 -58
- package/src/commands/mailmap.ts +129 -0
- package/src/commands/merge-bases.ts +296 -0
- package/src/commands/merge-command.ts +1386 -491
- package/src/commands/merge-config.ts +25 -0
- package/src/commands/merge-drivers.ts +306 -0
- package/src/commands/merge-support.ts +1198 -0
- package/src/commands/message-cleanup.ts +275 -0
- package/src/commands/mv-command.ts +976 -0
- package/src/commands/notes-command.ts +890 -0
- package/src/commands/notes-commands.ts +87 -0
- package/src/commands/notes-merge-command.ts +768 -0
- package/src/commands/notes-support.ts +402 -0
- package/src/commands/notes-tree.ts +602 -0
- package/src/commands/object-id-input.ts +27 -0
- package/src/commands/octopus-merge.ts +377 -0
- package/src/commands/ort-merge.ts +1660 -0
- package/src/commands/ort-recursive.ts +160 -0
- package/src/commands/pack-refs-command.ts +39 -22
- package/src/commands/patch-id.ts +196 -0
- package/src/commands/pathspec-attributes.ts +162 -0
- package/src/commands/pathspec.ts +1199 -0
- package/src/commands/post-index-change.ts +62 -0
- package/src/commands/pretty-format.ts +1431 -0
- package/src/commands/promisor-remote.ts +298 -0
- package/src/commands/pull-command.ts +207 -22
- package/src/commands/push-command.ts +236 -23
- package/src/commands/read-tree-command.ts +857 -0
- package/src/commands/rebase-command.ts +3808 -371
- package/src/commands/rebase-todo.ts +584 -0
- package/src/commands/ref-decoration-filter.ts +118 -0
- package/src/commands/reflog-messages.ts +177 -0
- package/src/commands/remote-command.ts +500 -19
- package/src/commands/remote-transport.ts +383 -0
- package/src/commands/reset-command.ts +828 -91
- package/src/commands/restore-command.ts +350 -0
- package/src/commands/rev-list-command.ts +167 -0
- package/src/commands/rev-parse-command.ts +277 -0
- package/src/commands/revert-command.ts +152 -399
- package/src/commands/revision-filenames.ts +254 -0
- package/src/commands/revision-range.ts +222 -0
- package/src/commands/revision-resolver.ts +1379 -0
- package/src/commands/rm-command.ts +613 -67
- package/src/commands/sequencer-pick.ts +869 -0
- package/src/commands/sequencer-support.ts +869 -0
- package/src/commands/serve-repository.ts +125 -0
- package/src/commands/sparse-checkout-command.ts +1389 -0
- package/src/commands/sparse-checkout-support.ts +793 -0
- package/src/commands/stash-apply-command.ts +692 -124
- package/src/commands/stash-create-command.ts +752 -89
- package/src/commands/stash-drop-command.ts +67 -6
- package/src/commands/stash-list-command.ts +10 -4
- package/src/commands/stash-working-tree.ts +387 -0
- package/src/commands/status-command.ts +1426 -97
- package/src/commands/status-format.ts +775 -0
- package/src/commands/status-header.ts +330 -0
- package/src/commands/strerror.ts +29 -0
- package/src/commands/submodule-config.ts +94 -0
- package/src/commands/submodule-summary-command.ts +334 -0
- package/src/commands/submodule-summary.ts +446 -0
- package/src/commands/switch-command.ts +402 -0
- package/src/commands/tag-command.ts +129 -41
- package/src/commands/tracking-info.ts +201 -0
- package/src/commands/trailers.ts +417 -0
- package/src/commands/tree-restore.ts +344 -15
- package/src/commands/untracked-cache-support.ts +194 -0
- package/src/commands/worktree-add-command.ts +458 -0
- package/src/commands/worktree-list-command.ts +208 -0
- package/src/commands/worktree-lock-command.ts +96 -0
- package/src/commands/worktree-overwrite-checks.ts +641 -0
- package/src/commands/worktree-prune-command.ts +99 -0
- package/src/commands/worktree-remove-command.ts +186 -0
- package/src/commands/worktree-repair-command.ts +59 -0
- package/src/commands/worktree-support.ts +214 -0
- package/src/core-commands/add.command.impl.ts +9 -5
- package/src/core-commands/index.ts +0 -8
- package/src/errors/add-errors.ts +45 -0
- package/src/errors/checkout-errors.ts +46 -2
- package/src/errors/command-errors.ts +101 -1
- package/src/errors/commit-errors.ts +18 -2
- package/src/errors/git-api-error.ts +82 -2
- package/src/errors/index.ts +1 -0
- package/src/errors/merge-errors.ts +2 -2
- package/src/errors/rebase-errors.ts +12 -0
- package/src/errors/ref-errors.ts +56 -2
- package/src/errors/remote-errors.ts +2 -2
- package/src/errors/stash-errors.ts +1 -1
- package/src/errors/transport-errors.ts +20 -4
- package/src/errors/worktree-errors.ts +49 -0
- package/src/git-command.ts +1218 -118
- package/src/git.ts +552 -11
- package/src/index.ts +1 -1
- package/src/remote-config/index.ts +1 -0
- package/src/remote-config/remote-config-store.ts +326 -16
- package/src/remote-config/remote-refs.ts +119 -0
- package/src/rename/detect-renames.ts +711 -0
- package/src/rename/git-similarity.ts +116 -0
- package/src/rename/index.ts +2 -0
- package/src/results/binary-patch.ts +401 -0
- package/src/results/blame-format.ts +239 -0
- package/src/results/cherry-pick-result.ts +10 -0
- package/src/results/clone-result.ts +18 -0
- package/src/results/combined-diff.ts +585 -0
- package/src/results/diff-entry.ts +35 -0
- package/src/results/diff-formatter.ts +152 -288
- package/src/results/diff-order.ts +64 -0
- package/src/results/diff-output.ts +1051 -0
- package/src/results/fetch-result.ts +24 -1
- package/src/results/index.ts +5 -0
- package/src/results/merge-result.ts +15 -1
- package/src/results/pull-result.ts +12 -3
- package/src/results/push-result.ts +43 -0
- package/src/results/quote-path.ts +103 -0
- package/src/results/rebase-result.ts +37 -0
- package/src/results/revert-result.ts +10 -0
- package/src/results/stash-result.ts +6 -0
- package/src/results/status-result.ts +288 -27
- package/src/transport-command.ts +139 -2
- package/dist/commands-BpeXZTC3.js +0 -10278
- package/dist/core-commands/checkout.command.d.ts +0 -103
- package/dist/core-commands/checkout.command.d.ts.map +0 -1
- package/dist/core-commands/checkout.command.impl.d.ts +0 -110
- package/dist/core-commands/checkout.command.impl.d.ts.map +0 -1
- package/dist/status-result-BapZoQaR.js +0 -411
- package/src/core-commands/checkout.command.impl.ts +0 -564
- package/src/core-commands/checkout.command.ts +0 -125
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebase-command.d.ts","sourceRoot":"","sources":["../../src/commands/rebase-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"rebase-command.d.ts","sourceRoot":"","sources":["../../src/commands/rebase-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,WA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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;IAyDlC;;;OAGG;YACW,gBAAgB;IAqB9B,kDAAkD;YACpC,eAAe;IAY7B;;;OAGG;YACW,YAAY;IA2B1B;;;;;OAKG;YACW,eAAe;IA4B7B,2FAA2F;IAC3F,OAAO,CAAC,SAAS;IAejB;;;OAGG;YACW,cAAc;IAmB5B;;;;;OAKG;YACW,eAAe;IAmD7B;;;;;;OAMG;YACW,eAAe;IA0D7B;;;;;OAKG;YACW,iBAAiB;IA6D/B,iEAAiE;YACnD,UAAU;IASxB;;;;;OAKG;YACW,cAAc;YAWd,UAAU;CAIzB"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { type ObjectId } from "@statewalker/vcs-core";
|
|
2
|
+
import { RebaseAction } from "../results/rebase-result.js";
|
|
3
|
+
/**
|
|
4
|
+
* The todo list of git's sequencer (`rebase-merge/git-rebase-todo`): parsing as git's
|
|
5
|
+
* parse_insn_line reads a line, writing as todo_list_to_strbuf writes it, the help text
|
|
6
|
+
* the editor shows (append_todo_help), and the rearrangements git makes before the list is
|
|
7
|
+
* edited (`--autosquash`, `--exec`).
|
|
8
|
+
*/
|
|
9
|
+
/** One line of the todo list. */
|
|
10
|
+
export interface TodoItem {
|
|
11
|
+
action: RebaseAction;
|
|
12
|
+
/**
|
|
13
|
+
* The commit of a pick-like command, or the original merge of a `merge -C` (empty for the
|
|
14
|
+
* other commands); as written until the list's names are resolved
|
|
15
|
+
*/
|
|
16
|
+
id: ObjectId;
|
|
17
|
+
/**
|
|
18
|
+
* The line's text after the id (`# <subject>`, as `rebase.instructionFormat` made it, or as
|
|
19
|
+
* the todo file has it): written back unchanged, and what `Could not apply` names. The
|
|
20
|
+
* argument of `exec`, `label`, `reset`, `update-ref` and an id-less `merge`, the whole line
|
|
21
|
+
* of a comment (a blank line is one)
|
|
22
|
+
*/
|
|
23
|
+
rest?: string;
|
|
24
|
+
/** `merge -c` / `fixup -c`: the message edited */
|
|
25
|
+
editMessage?: boolean;
|
|
26
|
+
/** `fixup -C`: this commit's message replaces the previous one's */
|
|
27
|
+
replaceMessage?: boolean;
|
|
28
|
+
/** A line git could not parse: kept as written (git's TODO_COMMENT + 1) */
|
|
29
|
+
invalid?: boolean;
|
|
30
|
+
/** The line as read from a todo file (written back as it is while the list runs) */
|
|
31
|
+
line?: string;
|
|
32
|
+
/** git's errors for this line (`error: ...`), in the order git prints them */
|
|
33
|
+
errors?: string[];
|
|
34
|
+
/**
|
|
35
|
+
* An `update-ref` (or checked-out comment) --update-refs added: its argument keeps the
|
|
36
|
+
* newline git added it with, so the first list shows a blank line after it
|
|
37
|
+
*/
|
|
38
|
+
blankAfter?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/** git's is_noop: `noop`, `drop`, comments and lines that could not be parsed. */
|
|
41
|
+
export declare function isNoop(item: TodoItem): boolean;
|
|
42
|
+
/** git's is_fixup: `fixup` or `squash`. */
|
|
43
|
+
export declare function isFixup(action: RebaseAction | undefined): boolean;
|
|
44
|
+
/** git's is_pick_or_similar: the commands that make a (non-merge) commit. */
|
|
45
|
+
export declare function isPickLike(action: RebaseAction): boolean;
|
|
46
|
+
/** git's count_commands: every item but comments (`noop`, `drop` and bad lines count). */
|
|
47
|
+
export declare function countTodoCommands(items: TodoItem[]): number;
|
|
48
|
+
/** The result of parsing a todo list: its items and git's errors (`error: ...` lines). */
|
|
49
|
+
export interface ParsedTodo {
|
|
50
|
+
items: TodoItem[];
|
|
51
|
+
errors: string[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A todo list's lines as git's todo_list_parse_insn_buffer reads them. Commit names are
|
|
55
|
+
* kept as written (resolved later); a line git refuses is kept as written (`invalid`) and
|
|
56
|
+
* reported as git reports it (`error: invalid command 'x'`, `error: invalid line 3: x`).
|
|
57
|
+
* `fixupOkay` (`rebase-merge/done` exists): a fixup or squash may start the list.
|
|
58
|
+
*/
|
|
59
|
+
export declare function parseTodo(text: string, comment?: string, fixupOkay?: boolean): ParsedTodo;
|
|
60
|
+
/** Whether the command carries a commit (resolved after parsing). */
|
|
61
|
+
export declare function takesCommit(item: TodoItem): boolean;
|
|
62
|
+
/** Options of {@link formatTodo}. */
|
|
63
|
+
export interface FormatTodoOptions {
|
|
64
|
+
/** `rebase.abbreviateCommands`: the commands as their letters */
|
|
65
|
+
abbreviate?: boolean;
|
|
66
|
+
/** The id written for a commit (TODO_LIST_SHORTEN_IDS: abbreviated); default the id */
|
|
67
|
+
idOf?: (id: ObjectId) => string;
|
|
68
|
+
/** Lines read from a file written back as they were read (save_todo) */
|
|
69
|
+
verbatim?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/** git's peek_command: the first command from `offset` on that is not a noop. */
|
|
72
|
+
export declare function peekCommand(items: TodoItem[], offset: number): RebaseAction | undefined;
|
|
73
|
+
/** sequencer.c's is_final_fixup: `items[0]` is a fixup/squash no later one follows. */
|
|
74
|
+
export declare function isFinalFixup(items: TodoItem[]): boolean;
|
|
75
|
+
/** git's todo_list_to_strbuf: each item as a line. */
|
|
76
|
+
export declare function formatTodo(items: TodoItem[], options?: FormatTodoOptions): string;
|
|
77
|
+
/**
|
|
78
|
+
* git's strbuf_add_commented_lines: each line after the comment string and a space (no
|
|
79
|
+
* space before an empty line or a tab), the text ended by a newline.
|
|
80
|
+
*/
|
|
81
|
+
export declare function commentLines(out: string, text: string, comment: string): string;
|
|
82
|
+
/**
|
|
83
|
+
* sequencer.c's add_commented_lines: like {@link commentLines}, but the lines at the start
|
|
84
|
+
* that are already comments are copied as they are.
|
|
85
|
+
*/
|
|
86
|
+
declare function commentLinesOnce(out: string, text: string, comment: string): string;
|
|
87
|
+
/**
|
|
88
|
+
* rebase-interactive.c's append_todo_help: the help after the list (`# Rebase a..b onto c
|
|
89
|
+
* (n commands)` for a new list, the commands, the warnings).
|
|
90
|
+
*/
|
|
91
|
+
export declare function todoHelp(commandCount: number, comment: string, range?: {
|
|
92
|
+
shortRevisions: string;
|
|
93
|
+
shortOnto: string;
|
|
94
|
+
}, missingCommitsError?: boolean): string;
|
|
95
|
+
/**
|
|
96
|
+
* sequencer.c's todo_list_add_exec_commands: the commands after every pick and merge (after
|
|
97
|
+
* the fixup/squash chain that follows it).
|
|
98
|
+
*/
|
|
99
|
+
export declare function addExecCommands(items: TodoItem[], commands: string[]): TodoItem[];
|
|
100
|
+
/**
|
|
101
|
+
* sequencer.c's todo_list_rearrange_squash (`--autosquash`): each `fixup! <subject>`,
|
|
102
|
+
* `amend! <subject>` and `squash! <subject>` commit moved after the commit it names (by
|
|
103
|
+
* subject, by a commit name, or by a subject's prefix) and made a `fixup`, `fixup -C` or
|
|
104
|
+
* `squash`; undefined when the list already has fixups (git's "the script was already
|
|
105
|
+
* rearranged.").
|
|
106
|
+
*/
|
|
107
|
+
export declare function rearrangeSquash(items: TodoItem[], subjectOf: (id: ObjectId) => Promise<string>, commitNamed: (name: string) => Promise<ObjectId | undefined>): Promise<TodoItem[] | undefined>;
|
|
108
|
+
/** git's find_commit_subject: the message from its first non-blank line. */
|
|
109
|
+
export declare function messageBody(message: string): string;
|
|
110
|
+
/** commit.c's commit_subject_length: the subject paragraph's length (its newlines included). */
|
|
111
|
+
export declare function subjectLength(body: string): number;
|
|
112
|
+
declare const nthMessage: (n: number) => string;
|
|
113
|
+
declare const skipNthMessage: (n: number) => string;
|
|
114
|
+
export declare const combinedMessage: (n: number) => string;
|
|
115
|
+
/**
|
|
116
|
+
* sequencer.c's update_squash_message_for_fixup (a `fixup -C` after fixups): the messages
|
|
117
|
+
* kept so far commented out and said to be skipped, the blank lines around them kept.
|
|
118
|
+
*/
|
|
119
|
+
export declare function squashMessageForFixup(message: string, comment: string): string;
|
|
120
|
+
/** The pieces of git's fixup/squash message text, for the command's update_squash_messages. */
|
|
121
|
+
export declare const squashTexts: {
|
|
122
|
+
firstMessage: string;
|
|
123
|
+
nthMessage: typeof nthMessage;
|
|
124
|
+
skipFirstMessage: string;
|
|
125
|
+
skipNthMessage: typeof skipNthMessage;
|
|
126
|
+
combinedMessage: typeof combinedMessage;
|
|
127
|
+
commentLinesOnce: typeof commentLinesOnce;
|
|
128
|
+
};
|
|
129
|
+
export {};
|
|
130
|
+
//# sourceMappingURL=rebase-todo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rebase-todo.d.ts","sourceRoot":"","sources":["../../src/commands/rebase-todo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D;;;;;GAKG;AAEH,iCAAiC;AACjC,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,EAAE,EAAE,QAAQ,CAAC;IACb;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,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,MAAO,MAAM,WAA6C,CAAC;AAEvF;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CA0C9E;AAED,+FAA+F;AAC/F,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which refs `git log` decorates commits with: builtin/log.c's decoration filter
|
|
3
|
+
* (`--decorate-refs`, `--decorate-refs-exclude`, `--clear-decorations`, and the
|
|
4
|
+
* `log.excludeDecoration`, `log.initialDecorationSet` and `log.decorate` settings) and
|
|
5
|
+
* log-tree.c's ref_filter_match.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```typescript
|
|
9
|
+
* const decorates = createRefDecorationFilter({ config: RemoteConfigStore.from(workingCopy) });
|
|
10
|
+
* decorates("refs/heads/main"); // true
|
|
11
|
+
* decorates("refs/notes/commits"); // false: not in the default set
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
/** The configuration the filter reads (a `RemoteConfigStore` is one). */
|
|
15
|
+
export interface RefDecorationConfig {
|
|
16
|
+
/** Every value of a variable, in the configuration's order */
|
|
17
|
+
values(key: string): string[];
|
|
18
|
+
}
|
|
19
|
+
/** Options of {@link createRefDecorationFilter}. */
|
|
20
|
+
export interface RefDecorationFilterOptions {
|
|
21
|
+
/** `--decorate-refs=<pattern>`: only refs matching one of them are decorated */
|
|
22
|
+
decorateRefs?: readonly string[];
|
|
23
|
+
/** `--decorate-refs-exclude=<pattern>`: refs matching one of them are not decorated */
|
|
24
|
+
decorateRefsExclude?: readonly string[];
|
|
25
|
+
/**
|
|
26
|
+
* `--clear-decorations`: no default set (every ref, unless patterns say otherwise). The
|
|
27
|
+
* patterns given before it on a command line are cleared by it: pass only those after.
|
|
28
|
+
*/
|
|
29
|
+
clearDecorations?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The configuration: `log.excludeDecoration` (patterns not decorated, unless
|
|
32
|
+
* `--decorate-refs` includes them) and `log.initialDecorationSet` (`all`: no default set)
|
|
33
|
+
*/
|
|
34
|
+
config?: RefDecorationConfig;
|
|
35
|
+
/** Where replace refs live (`GIT_REPLACE_REF_BASE`; default `refs/replace/`) */
|
|
36
|
+
replaceRefBase?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Whether git's `git log` decorates commits with a ref (log-tree.c's ref_filter_match over
|
|
40
|
+
* the filter builtin/log.c sets up): a ref matching an excluding pattern is not; with
|
|
41
|
+
* including patterns, only a ref matching one of them is; else one matching a pattern of
|
|
42
|
+
* `log.excludeDecoration` is not. Without patterns on the command line or in the
|
|
43
|
+
* configuration, only the default set is decorated (HEAD, `refs/heads/`, `refs/tags/`,
|
|
44
|
+
* `refs/remotes/`, `refs/stash`, the replace refs), unless `--clear-decorations` or
|
|
45
|
+
* `log.initialDecorationSet=all` asks for every ref.
|
|
46
|
+
*/
|
|
47
|
+
export declare function createRefDecorationFilter(options?: RefDecorationFilterOptions): (refName: string) => boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether `log.decorate` asks for full ref names (`full`): `%d` and friends then show
|
|
50
|
+
* `refs/heads/main` where they show `main` by default (`short`, a boolean, `auto`).
|
|
51
|
+
*/
|
|
52
|
+
export declare function decorateFullRefs(config: RefDecorationConfig | undefined): boolean;
|
|
53
|
+
//# sourceMappingURL=ref-decoration-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref-decoration-filter.d.ts","sourceRoot":"","sources":["../../src/commands/ref-decoration-filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,yEAAyE;AACzE,MAAM,WAAW,mBAAmB;IAClC,8DAA8D;IAC9D,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC/B;AAED,oDAAoD;AACpD,MAAM,WAAW,0BAA0B;IACzC,gFAAgF;IAChF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAkCD;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,GAAE,0BAA+B,GACvC,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAqB9B;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,mBAAmB,GAAG,SAAS,GAAG,OAAO,CAIjF"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reflog lines our porcelain writes, as native git writes them: one place for the
|
|
3
|
+
* messages of each command (checked against git 2.43 and git's sources: `builtin/*.c`,
|
|
4
|
+
* `sequencer.c`, `reset.c`), and the identity and time of a line (`git_committer_info`).
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* const log = reflogLine(workingCopy, reflogMessages.reset("HEAD~1"));
|
|
9
|
+
* await updateHead(refs, targetId, log); // the branch and HEAD: "reset: moving to HEAD~1"
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
import { type ObjectId, type PersonIdent, type RefLogOptions, type Refs } from "@statewalker/vcs-core";
|
|
13
|
+
import type { WorkingCopy } from "@statewalker/vcs-working-tree";
|
|
14
|
+
/**
|
|
15
|
+
* The identity and time of a reflog line written now, as git's `git_committer_info` builds
|
|
16
|
+
* it (not strict): `GIT_COMMITTER_NAME` / `GIT_COMMITTER_EMAIL` / `GIT_COMMITTER_DATE` (the
|
|
17
|
+
* host environment's `committer`, on the working copy's configuration), else
|
|
18
|
+
* `committer.name` / `committer.email`, `user.name` / `user.email` and the clock (`now`, in
|
|
19
|
+
* seconds, when the caller read it once for all its lines, as git reads its default date
|
|
20
|
+
* once per process). Undefined when neither names anyone: the ref store's own identity is
|
|
21
|
+
* used then.
|
|
22
|
+
*/
|
|
23
|
+
export declare function committerIdent(workingCopy: WorkingCopy, now?: number): PersonIdent | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* A reflog line's options: `message`, with `who` as its identity (a commit's committer),
|
|
26
|
+
* else {@link committerIdent} at `now` (seconds; the clock when omitted).
|
|
27
|
+
*/
|
|
28
|
+
export declare function reflogLine(workingCopy: WorkingCopy, message: string, who?: PersonIdent, now?: number): RefLogOptions;
|
|
29
|
+
/**
|
|
30
|
+
* The first line of a commit message as git's commit and sequencer put it in a reflog line:
|
|
31
|
+
* leading blank lines skipped (git's cleanup), whitespace collapsed.
|
|
32
|
+
*/
|
|
33
|
+
export declare function reflogSubject(message: string): string;
|
|
34
|
+
/** What a commit records in `commit (<kind>): <subject>` (git's builtin/commit.c). */
|
|
35
|
+
export type CommitReflogKind = "initial" | "amend" | "merge" | "cherry-pick" | undefined;
|
|
36
|
+
/** git's reflog messages, per command. */
|
|
37
|
+
export declare const reflogMessages: {
|
|
38
|
+
/**
|
|
39
|
+
* `git checkout` / `git switch`: `from` is the branch left (short name) or, detached, the
|
|
40
|
+
* full id of HEAD; `to` the argument as given (`feat`, `HEAD~1`, `v1.0`).
|
|
41
|
+
*/
|
|
42
|
+
checkout: (from: string, to: string) => string;
|
|
43
|
+
/** `git commit`: `commit: <subject>`, `commit (initial): ...`, `commit (amend): ...` */
|
|
44
|
+
commit: (kind: CommitReflogKind, message: string, action?: string) => string;
|
|
45
|
+
/** `git reset <rev>`: the revision as given, `HEAD` by default. */
|
|
46
|
+
reset: (rev: string) => string;
|
|
47
|
+
/** `git merge <names>`: `merge feat: Fast-forward`, `merge feat: Merge made by ...`. */
|
|
48
|
+
merge: (action: string, outcome: string) => string;
|
|
49
|
+
/** The action of `git merge <names>`, with the names as given. */
|
|
50
|
+
mergeAction: (names: string[]) => string;
|
|
51
|
+
/** The outcome of a merge that made a commit. */
|
|
52
|
+
mergeMade: (strategy: string) => string;
|
|
53
|
+
/** `git cherry-pick` / `git revert` (and a rebase's pick): `<action>: <subject>`. */
|
|
54
|
+
pick: (action: string, message: string) => string;
|
|
55
|
+
/** A rebase detaching HEAD at what it rebases onto, named as given. */
|
|
56
|
+
rebaseStart: (action: string, ontoName: string) => string;
|
|
57
|
+
/** A rebase's `<action> (pick)`, `(continue)`, `(abort)`, `(finish)`. */
|
|
58
|
+
rebaseStep: (action: string, step: string) => string;
|
|
59
|
+
/** The branch a finished rebase moves. */
|
|
60
|
+
rebaseFinishBranch: (action: string, headName: string, onto: ObjectId) => string;
|
|
61
|
+
/** HEAD attached to that branch again. */
|
|
62
|
+
rebaseFinishHead: (action: string, headName: string) => string;
|
|
63
|
+
/** HEAD back on the branch an aborted rebase started from. */
|
|
64
|
+
rebaseAbort: (action: string, headName: string) => string;
|
|
65
|
+
/** A rebase that only switches to the branch named (it is up to date). */
|
|
66
|
+
rebaseCheckout: (action: string, branch: string) => string;
|
|
67
|
+
/** `git clone <url>`: HEAD, the branch and `refs/remotes/<remote>/HEAD`. */
|
|
68
|
+
clone: (url: string) => string;
|
|
69
|
+
/**
|
|
70
|
+
* `git fetch`: `<action>: fast-forward`, `forced-update`, `storing head` (a new ref the
|
|
71
|
+
* remote has under refs/heads/), `storing tag`, `storing ref`, `updating tag`.
|
|
72
|
+
*/
|
|
73
|
+
fetch: (action: string, what: string) => string;
|
|
74
|
+
/** `git branch <name> [<start>]` and `checkout -b`: the start point as given, `HEAD` by default. */
|
|
75
|
+
branchCreated: (start: string) => string;
|
|
76
|
+
/** `git branch -f` / `checkout -B` of a branch that exists. */
|
|
77
|
+
branchReset: (start: string) => string;
|
|
78
|
+
/** `git branch -m`. */
|
|
79
|
+
branchRenamed: (from: string, to: string) => string;
|
|
80
|
+
/** `git branch -c`. */
|
|
81
|
+
branchCopied: (from: string, to: string) => string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Move HEAD to `id` as git's `update_ref("HEAD", ...)` does: through a symbolic HEAD its
|
|
85
|
+
* branch moves (logged in the branch's reflog and HEAD's), a detached HEAD moves itself.
|
|
86
|
+
*/
|
|
87
|
+
export declare function updateHead(refs: Refs, id: ObjectId, log?: RefLogOptions): Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Move HEAD to `id` as git's `refs_update_ref("HEAD", id, old)` does: one transaction on
|
|
90
|
+
* HEAD expecting `old` (unchecked when undefined), through a symbolic HEAD to its branch
|
|
91
|
+
* unless `noDeref` (a detached HEAD written as itself), as the reference-transaction hook
|
|
92
|
+
* sees it (`<old> <new> HEAD`). A store whose batches cannot take HEAD sets it plainly; a
|
|
93
|
+
* refusal (HEAD moved meanwhile, its lock held) throws.
|
|
94
|
+
*/
|
|
95
|
+
export declare function updateHeadExpecting(refs: Refs, id: ObjectId, old: ObjectId | undefined, log: RefLogOptions | undefined, options?: {
|
|
96
|
+
noDeref?: boolean;
|
|
97
|
+
}): Promise<void>;
|
|
98
|
+
//# sourceMappingURL=reflog-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflog-messages.d.ts","sourceRoot":"","sources":["../../src/commands/reflog-messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,IAAI,EACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAKjE;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAK9F;AAED;;;GAGG;AACH,wBAAgB,UAAU,CACxB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,MAAM,EACf,GAAG,CAAC,EA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C,CAAC;AAEF;;;GAGG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAI7F;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,QAAQ,EACZ,GAAG,EAAE,QAAQ,GAAG,SAAS,EACzB,GAAG,EAAE,aAAa,GAAG,SAAS,EAC9B,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAClC,OAAO,CAAC,IAAI,CAAC,CAmCf"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GitCommand } from "../git-command.js";
|
|
2
2
|
import { type RemoteConfig } from "../remote-config/index.js";
|
|
3
|
+
import { TransportCommand } from "../transport-command.js";
|
|
3
4
|
export type { RemoteConfig };
|
|
4
5
|
/**
|
|
5
6
|
* Add a remote to the repository.
|
|
@@ -70,6 +71,14 @@ export declare class RemoteAddCommand extends GitCommand<RemoteConfig> {
|
|
|
70
71
|
*
|
|
71
72
|
* Based on JGit's RemoteRemoveCommand.
|
|
72
73
|
*
|
|
74
|
+
* As git's builtin/remote.c `rm`: the branches whose upstream is the remote lose
|
|
75
|
+
* `branch.<b>.remote` and `branch.<b>.merge`, those pushing to it `branch.<b>.pushRemote`;
|
|
76
|
+
* the remote-tracking refs its fetch refspecs map to (under `refs/remotes/`, and not mapped
|
|
77
|
+
* by another remote too) are deleted with their reflogs, `refs/remotes/<name>/HEAD`
|
|
78
|
+
* included; `remote.pushDefault` naming it is unset; the `[remote "<name>"]` section goes.
|
|
79
|
+
* Local branches a refspec maps to are kept, and git's note naming them is in
|
|
80
|
+
* {@link getMessages}. A remote without a config section is refused, as git refuses it.
|
|
81
|
+
*
|
|
73
82
|
* @example
|
|
74
83
|
* ```typescript
|
|
75
84
|
* await git.remoteRemove()
|
|
@@ -77,8 +86,9 @@ export declare class RemoteAddCommand extends GitCommand<RemoteConfig> {
|
|
|
77
86
|
* .call();
|
|
78
87
|
* ```
|
|
79
88
|
*/
|
|
80
|
-
export declare class RemoteRemoveCommand extends GitCommand<RemoteConfig
|
|
89
|
+
export declare class RemoteRemoveCommand extends GitCommand<RemoteConfig> {
|
|
81
90
|
private remoteName?;
|
|
91
|
+
private messages;
|
|
82
92
|
/**
|
|
83
93
|
* Set the remote name to remove.
|
|
84
94
|
*
|
|
@@ -89,16 +99,64 @@ export declare class RemoteRemoveCommand extends GitCommand<RemoteConfig | undef
|
|
|
89
99
|
* Get the remote name.
|
|
90
100
|
*/
|
|
91
101
|
getRemoteName(): string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* What git prints after the removal (on stderr): the note on local branches a refspec
|
|
104
|
+
* maps to, which are not removed. Empty until {@link call} has run.
|
|
105
|
+
*/
|
|
106
|
+
getMessages(): string[];
|
|
92
107
|
/**
|
|
93
108
|
* Execute the remote remove operation.
|
|
94
109
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
|
|
110
|
+
* @returns Removed remote config
|
|
111
|
+
* @throws RemoteNotFoundError when the remote has no config section (git: "No such
|
|
112
|
+
* remote: '<name>'"); nothing is changed then
|
|
113
|
+
*/
|
|
114
|
+
call(): Promise<RemoteConfig>;
|
|
115
|
+
}
|
|
116
|
+
/** What {@link RemoteRenameCommand} did. */
|
|
117
|
+
export interface RemoteRenameResult {
|
|
118
|
+
/** The remote under its new name */
|
|
119
|
+
remote: RemoteConfig;
|
|
120
|
+
/**
|
|
121
|
+
* git's warnings: each fetch refspec that does not write under `refs/remotes/<old>/`
|
|
122
|
+
* is kept as it is ("Not updating non-default fetch refspec ...")
|
|
123
|
+
*/
|
|
124
|
+
warnings: string[];
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Rename a remote.
|
|
128
|
+
*
|
|
129
|
+
* Equivalent to `git remote rename <old> <new>`.
|
|
130
|
+
*
|
|
131
|
+
* As git's builtin/remote.c `mv`: the `[remote "<old>"]` section is renamed in place; each
|
|
132
|
+
* fetch refspec writing under `refs/remotes/<old>/` is rewritten to `refs/remotes/<new>/`,
|
|
133
|
+
* the others kept with git's warning; `branch.<b>.remote` and `branch.<b>.pushRemote`
|
|
134
|
+
* naming the remote are updated. When a refspec was rewritten, the refs under
|
|
135
|
+
* `refs/remotes/<old>/` move to `refs/remotes/<new>/` in one batch, each with its reflog
|
|
136
|
+
* and a `remote: renamed <old ref> to <new ref>` line, symbolic refs (`HEAD`) re-pointed
|
|
137
|
+
* at the moved refs, and `remote.pushDefault` follows the new name.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```typescript
|
|
141
|
+
* const { remote, warnings } = await git.remoteRename().setOldName("origin").setNewName("upstream").call();
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
export declare class RemoteRenameCommand extends GitCommand<RemoteRenameResult> {
|
|
145
|
+
private oldName?;
|
|
146
|
+
private newName?;
|
|
147
|
+
/** Set the remote to rename. */
|
|
148
|
+
setOldName(name: string): this;
|
|
149
|
+
/** Set the remote's new name. */
|
|
150
|
+
setNewName(name: string): this;
|
|
151
|
+
/**
|
|
152
|
+
* @throws RemoteNotFoundError if the remote has no config section (git: "No such remote: '<old>'")
|
|
153
|
+
* @throws RemoteAlreadyExistsError if the new name is taken (git: "remote <new> already exists.")
|
|
154
|
+
* @throws InvalidArgumentError for an invalid new name (git: "'<new>' is not a valid remote name")
|
|
99
155
|
*/
|
|
100
|
-
call(): Promise<
|
|
156
|
+
call(): Promise<RemoteRenameResult>;
|
|
101
157
|
}
|
|
158
|
+
/** git's valid_remote_name: `refs/remotes/<name>/test` is a valid ref name. */
|
|
159
|
+
export declare function isValidRemoteName(name: string): boolean;
|
|
102
160
|
/**
|
|
103
161
|
* List remotes in the repository.
|
|
104
162
|
*
|
|
@@ -126,6 +184,35 @@ export declare class RemoteListCommand extends GitCommand<RemoteConfig[]> {
|
|
|
126
184
|
*/
|
|
127
185
|
call(): Promise<RemoteConfig[]>;
|
|
128
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* The URLs of a remote as git uses them: `git remote get-url [--push] [--all] <name>`.
|
|
189
|
+
*
|
|
190
|
+
* The URLs are rewritten by `url.<base>.insteadOf` (and, for push URLs of a remote without
|
|
191
|
+
* `pushurl`, by `url.<base>.pushInsteadOf`), as git reads them.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* ```typescript
|
|
195
|
+
* const [url] = await git.remoteGetUrl().setRemoteName("origin").call();
|
|
196
|
+
* const pushUrls = await git.remoteGetUrl().setRemoteName("origin").setPush(true).setAll(true).call();
|
|
197
|
+
* ```
|
|
198
|
+
*/
|
|
199
|
+
export declare class RemoteGetUrlCommand extends GitCommand<string[]> {
|
|
200
|
+
private remoteName?;
|
|
201
|
+
private push;
|
|
202
|
+
private all;
|
|
203
|
+
/** Set the remote whose URL is read. */
|
|
204
|
+
setRemoteName(name: string): this;
|
|
205
|
+
/** Read the push URLs (`--push`). */
|
|
206
|
+
setPush(push: boolean): this;
|
|
207
|
+
/** Every URL (`--all`), not only the first. */
|
|
208
|
+
setAll(all: boolean): this;
|
|
209
|
+
/**
|
|
210
|
+
* @returns the first URL, or with {@link setAll} every one
|
|
211
|
+
* @throws RemoteNotFoundError (exit 2) when the remote has no configuration (git: "No such
|
|
212
|
+
* remote '<name>'")
|
|
213
|
+
*/
|
|
214
|
+
call(): Promise<string[]>;
|
|
215
|
+
}
|
|
129
216
|
/**
|
|
130
217
|
* Set URL for a remote.
|
|
131
218
|
*
|
|
@@ -202,4 +289,57 @@ export declare class RemoteSetUrlCommand extends GitCommand<RemoteConfig> {
|
|
|
202
289
|
/** Whether any `refs/remotes/<name>/*` ref exists. */
|
|
203
290
|
private hasTrackingRefs;
|
|
204
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Point `refs/remotes/<name>/HEAD` at one of the remote's tracking branches, or delete it.
|
|
294
|
+
*
|
|
295
|
+
* Equivalent to `git remote set-head <name> <branch>`, `git remote set-head <name> -a`
|
|
296
|
+
* and `git remote set-head <name> -d`. The symbolic ref names the remote's default branch,
|
|
297
|
+
* so the remote name alone resolves to that branch (`git log origin`); `git clone` creates
|
|
298
|
+
* it. With {@link setAuto} the remote is asked which branch its HEAD is (its HEAD symref,
|
|
299
|
+
* or else the one branch at HEAD's commit). As git 2.48+, setting it on a remote whose
|
|
300
|
+
* `remote.<name>.followRemoteHEAD` is `always` turns that into `warn`, so the next fetch
|
|
301
|
+
* does not undo the choice.
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ```typescript
|
|
305
|
+
* await git.remoteSetHead().setRemoteName("origin").setBranch("develop").call();
|
|
306
|
+
* await git.remoteSetHead().setRemoteName("origin").setAuto(true).call();
|
|
307
|
+
* await git.remoteSetHead().setRemoteName("origin").setDelete(true).call();
|
|
308
|
+
* ```
|
|
309
|
+
*/
|
|
310
|
+
export declare class RemoteSetHeadCommand extends TransportCommand<string | undefined> {
|
|
311
|
+
private remoteName?;
|
|
312
|
+
private branch?;
|
|
313
|
+
private deleteHead;
|
|
314
|
+
private auto;
|
|
315
|
+
private messages;
|
|
316
|
+
/** Set the remote whose HEAD is set. */
|
|
317
|
+
setRemoteName(name: string): this;
|
|
318
|
+
/** Set the branch (`develop`, or `refs/remotes/origin/develop`) HEAD names. */
|
|
319
|
+
setBranch(branch: string): this;
|
|
320
|
+
/** Delete `refs/remotes/<name>/HEAD` instead (`-d`). */
|
|
321
|
+
setDelete(deleteHead: boolean): this;
|
|
322
|
+
/**
|
|
323
|
+
* What `git remote set-head -a` prints (git 2.48+): `'origin/HEAD' is now created and
|
|
324
|
+
* points to 'main'`, `… is unchanged and points to …`, `… has changed from 'a' and now
|
|
325
|
+
* points to 'b'`, and so on. Empty without {@link setAuto}, or before {@link call}.
|
|
326
|
+
*/
|
|
327
|
+
getMessages(): string[];
|
|
328
|
+
/** Ask the remote which branch its HEAD is, and point at that one (`-a`). */
|
|
329
|
+
setAuto(auto: boolean): this;
|
|
330
|
+
/**
|
|
331
|
+
* @returns The tracking ref HEAD now names, or undefined after a delete
|
|
332
|
+
* @throws RefNotFoundError if the tracking branch does not exist (git: "Not a valid ref: <ref>")
|
|
333
|
+
* @throws RefNotFoundError with `-a` when the remote HEAD names no branch (git: "Cannot
|
|
334
|
+
* determine remote HEAD"), or several ("Multiple remote HEAD branches. Please choose
|
|
335
|
+
* one explicitly with:" and a `git remote set-head` line for each)
|
|
336
|
+
*/
|
|
337
|
+
call(): Promise<string | undefined>;
|
|
338
|
+
/**
|
|
339
|
+
* The remote's HEAD branches, as git's get_remote_ref_states (GET_HEAD_NAMES) finds them:
|
|
340
|
+
* every ref listed, then the branch HEAD's symref names, or else every branch at HEAD's
|
|
341
|
+
* commit (git's guess_remote_head with all matches).
|
|
342
|
+
*/
|
|
343
|
+
private remoteHeads;
|
|
344
|
+
}
|
|
205
345
|
//# sourceMappingURL=remote-command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-command.d.ts","sourceRoot":"","sources":["../../src/commands/remote-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-command.d.ts","sourceRoot":"","sources":["../../src/commands/remote-command.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAK3D,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,gBAAiB,SAAQ,UAAU,CAAC,YAAY,CAAC;IAC5D,OAAO,CAAC,IAAI,CAAC,CAAS;IACtB,OAAO,CAAC,GAAG,CAAC,CAAS;IACrB,OAAO,CAAC,YAAY,CAAC,CAAS;IAE9B;;;;OAIG;IACH,OAAO,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