@statewalker/vcs-commands 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/add-command.d.ts +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.map +1 -1
- package/dist/commands/am/am-command.d.ts +47 -0
- 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/blame-command.d.ts +303 -8
- package/dist/commands/blame-command.d.ts.map +1 -1
- package/dist/commands/blame-ignore.d.ts +48 -0
- package/dist/commands/blame-ignore.d.ts.map +1 -0
- package/dist/commands/check-mailmap-command.d.ts +49 -0
- package/dist/commands/check-mailmap-command.d.ts.map +1 -0
- package/dist/commands/checkout-command.d.ts +7 -0
- package/dist/commands/checkout-command.d.ts.map +1 -1
- package/dist/commands/checkout-paths.d.ts +4 -0
- package/dist/commands/checkout-paths.d.ts.map +1 -1
- package/dist/commands/cherry-command.d.ts +61 -0
- package/dist/commands/cherry-command.d.ts.map +1 -0
- package/dist/commands/cherry-pick-command.d.ts +23 -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 +116 -2
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +50 -2
- package/dist/commands/commit-command.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 +118 -6
- package/dist/commands/diff-command.d.ts.map +1 -1
- package/dist/commands/fetch-command.d.ts +60 -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/git-describe.d.ts +77 -4
- package/dist/commands/git-describe.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +15 -1
- package/dist/commands/git-hooks.d.ts.map +1 -1
- package/dist/commands/index.d.ts +12 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +5 -3
- package/dist/commands/init-command.d.ts +89 -0
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/line-log.d.ts +161 -0
- package/dist/commands/line-log.d.ts.map +1 -0
- package/dist/commands/log-command.d.ts +235 -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 +66 -1
- package/dist/commands/log-output.d.ts.map +1 -1
- package/dist/commands/mailmap.d.ts +24 -1
- package/dist/commands/mailmap.d.ts.map +1 -1
- package/dist/commands/merge-command.d.ts +51 -1
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-drivers.d.ts +2 -0
- package/dist/commands/merge-drivers.d.ts.map +1 -1
- package/dist/commands/merge-strategy-options.d.ts +69 -0
- package/dist/commands/merge-strategy-options.d.ts.map +1 -0
- package/dist/commands/merge-support.d.ts +10 -0
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/message-cleanup.d.ts +2 -0
- package/dist/commands/message-cleanup.d.ts.map +1 -1
- package/dist/commands/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/octopus-merge.d.ts +26 -1
- package/dist/commands/octopus-merge.d.ts.map +1 -1
- package/dist/commands/ort-merge.d.ts +16 -0
- package/dist/commands/ort-merge.d.ts.map +1 -1
- package/dist/commands/ort-recursive.d.ts.map +1 -1
- package/dist/commands/patch-id.d.ts +58 -0
- package/dist/commands/patch-id.d.ts.map +1 -1
- package/dist/commands/pull-command.d.ts +182 -38
- package/dist/commands/pull-command.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts +65 -0
- 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 +21 -2
- package/dist/commands/rebase-command.d.ts.map +1 -1
- 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-show-command.d.ts +204 -0
- package/dist/commands/remote-show-command.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-list-command.d.ts +75 -3
- package/dist/commands/rev-list-command.d.ts.map +1 -1
- package/dist/commands/revert-command.d.ts +22 -1
- package/dist/commands/revert-command.d.ts.map +1 -1
- package/dist/commands/revision-range.d.ts +2 -0
- package/dist/commands/revision-range.d.ts.map +1 -1
- package/dist/commands/sequencer-pick.d.ts +102 -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/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/status-command.d.ts +31 -2
- package/dist/commands/status-command.d.ts.map +1 -1
- package/dist/commands/submodule-commands.d.ts +90 -2
- 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 +8 -0
- 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/tree-restore.d.ts.map +1 -1
- package/dist/commands/worktree-overwrite-checks.d.ts +2 -0
- package/dist/commands/worktree-overwrite-checks.d.ts.map +1 -1
- package/dist/{commands-ISM52N0n.js → commands-CNvli5bl.js} +39426 -61169
- package/dist/errors/command-errors.d.ts +25 -0
- package/dist/errors/command-errors.d.ts.map +1 -1
- package/dist/errors/index.js +29 -1
- package/dist/fsck-CPeDh9fh.js +5138 -0
- package/dist/git-command.d.ts +31 -1
- package/dist/git-command.d.ts.map +1 -1
- package/dist/git.d.ts +97 -1
- package/dist/git.d.ts.map +1 -1
- package/dist/guarded-transport-command.d.ts +82 -0
- package/dist/guarded-transport-command.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/remote-transport-CCmBadm-.js +1606 -0
- package/dist/rename/detect-renames.d.ts +20 -0
- package/dist/rename/detect-renames.d.ts.map +1 -1
- package/dist/rename/diffcore-break.d.ts +51 -0
- package/dist/rename/diffcore-break.d.ts.map +1 -0
- package/dist/rename/index.d.ts +1 -0
- package/dist/rename/index.d.ts.map +1 -1
- package/dist/results/blame-format.d.ts +62 -1
- package/dist/results/blame-format.d.ts.map +1 -1
- package/dist/results/clone-result.d.ts +9 -0
- package/dist/results/clone-result.d.ts.map +1 -1
- package/dist/results/diff-dirstat.d.ts +36 -0
- package/dist/results/diff-dirstat.d.ts.map +1 -0
- package/dist/results/diff-entry.d.ts +10 -0
- package/dist/results/diff-entry.d.ts.map +1 -1
- package/dist/results/diff-formatter.d.ts.map +1 -1
- package/dist/results/diff-output.d.ts +18 -0
- package/dist/results/diff-output.d.ts.map +1 -1
- package/dist/results/fetch-result.d.ts +12 -1
- package/dist/results/fetch-result.d.ts.map +1 -1
- package/dist/results/index.d.ts +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 +8 -1
- package/dist/results/merge-result.d.ts.map +1 -1
- package/dist/results/pull-result.d.ts +11 -0
- package/dist/results/pull-result.d.ts.map +1 -1
- package/dist/results/push-result.d.ts +5 -0
- package/dist/results/push-result.d.ts.map +1 -1
- package/dist/results/status-result.d.ts +1 -1
- package/dist/results/status-result.d.ts.map +1 -1
- package/dist/results-BDuEgdLU.js +46847 -0
- package/dist/transport-command.d.ts +14 -0
- package/dist/transport-command.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/commands/add-command.ts +115 -0
- package/src/commands/add-patch/add-patch.ts +8 -0
- package/src/commands/add-patch/patch-backend.ts +20 -2
- package/src/commands/am/am-command.ts +138 -4
- package/src/commands/apply/apply-command.ts +52 -9
- package/src/commands/apply/apply-parse.ts +10 -0
- package/src/commands/apply/index.ts +8 -1
- package/src/commands/blame-command.ts +1450 -51
- package/src/commands/blame-ignore.ts +307 -0
- package/src/commands/check-mailmap-command.ts +129 -0
- package/src/commands/checkout-command.ts +97 -12
- package/src/commands/checkout-paths.ts +28 -0
- package/src/commands/cherry-command.ts +187 -0
- package/src/commands/cherry-pick-command.ts +42 -1
- package/src/commands/clean-command.ts +92 -12
- package/src/commands/clean-interactive.ts +522 -0
- package/src/commands/clone-command.ts +596 -44
- package/src/commands/commit-command.ts +180 -47
- package/src/commands/describe-command.ts +341 -254
- package/src/commands/diff-command.ts +616 -56
- package/src/commands/fetch-command.ts +353 -6
- package/src/commands/fetch-multiple-command.ts +665 -0
- package/src/commands/format-patch-command.ts +189 -77
- package/src/commands/git-describe.ts +456 -217
- package/src/commands/git-hooks.ts +42 -3
- package/src/commands/index.ts +17 -0
- package/src/commands/init-command.ts +603 -49
- package/src/commands/line-log.ts +931 -0
- package/src/commands/log-command.ts +1414 -177
- package/src/commands/log-graph.ts +6 -3
- package/src/commands/log-output.ts +173 -10
- package/src/commands/mailmap.ts +41 -5
- package/src/commands/merge-command.ts +274 -16
- package/src/commands/merge-drivers.ts +3 -0
- package/src/commands/merge-strategy-options.ts +224 -0
- package/src/commands/merge-support.ts +101 -21
- package/src/commands/message-cleanup.ts +1 -1
- package/src/commands/name-rev-command.ts +184 -0
- package/src/commands/name-rev.ts +700 -109
- package/src/commands/octopus-merge.ts +35 -11
- package/src/commands/ort-merge.ts +41 -7
- package/src/commands/ort-recursive.ts +40 -2
- package/src/commands/patch-id.ts +109 -0
- package/src/commands/pull-command.ts +718 -224
- package/src/commands/push-command.ts +353 -3
- 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 +141 -65
- package/src/commands/remerge-diff.ts +241 -0
- package/src/commands/remote-command.ts +98 -10
- package/src/commands/remote-show-command.ts +836 -0
- package/src/commands/reset-command.ts +78 -3
- package/src/commands/restore-command.ts +15 -0
- package/src/commands/rev-list-command.ts +187 -11
- package/src/commands/revert-command.ts +41 -1
- package/src/commands/revision-range.ts +3 -1
- package/src/commands/sequencer-pick.ts +323 -29
- package/src/commands/sequencer-support.ts +164 -2
- package/src/commands/shortlog-command.ts +354 -0
- package/src/commands/shortlog.ts +361 -0
- package/src/commands/show-command.ts +2 -1
- package/src/commands/status-command.ts +115 -25
- package/src/commands/status-format.ts +1 -1
- package/src/commands/submodule-commands.ts +321 -3
- 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 +39 -5
- package/src/commands/subtree-shift.ts +215 -0
- package/src/commands/switch-command.ts +9 -0
- package/src/commands/tree-restore.ts +6 -1
- package/src/commands/worktree-overwrite-checks.ts +5 -0
- package/src/errors/command-errors.ts +35 -0
- package/src/git-command.ts +87 -1
- package/src/git.ts +146 -0
- package/src/guarded-transport-command.ts +171 -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/clone-result.ts +6 -0
- package/src/results/diff-dirstat.ts +117 -0
- package/src/results/diff-entry.ts +12 -0
- package/src/results/diff-formatter.ts +1 -0
- package/src/results/diff-output.ts +127 -2
- package/src/results/fetch-result.ts +12 -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 +9 -0
- package/src/results/pull-result.ts +7 -0
- package/src/results/push-result.ts +5 -0
- package/src/results/status-result.ts +2 -2
- package/src/transport-command.ts +34 -3
- package/dist/fsck-DLRpbwTj.js +0 -13405
- package/dist/results-TB2IJ64h.js +0 -4700
package/dist/git-command.d.ts
CHANGED
|
@@ -4,8 +4,9 @@ import { type ObjectFormat, OrderedMap } from "@statewalker/vcs-utils";
|
|
|
4
4
|
import { type OperationOptions, type SparseCheckoutPatterns, type Staging, type WorkingCopy, type Worktree } from "@statewalker/vcs-working-tree";
|
|
5
5
|
import { type IdAbbreviator } from "./commands/core-config.js";
|
|
6
6
|
import type { ForkPointSource } from "./commands/fork-point.js";
|
|
7
|
-
import { HookSession } from "./commands/git-hooks.js";
|
|
7
|
+
import { type HookHost, HookSession } from "./commands/git-hooks.js";
|
|
8
8
|
import { type IdentRole } from "./commands/git-ident.js";
|
|
9
|
+
import { type Mailmap } from "./commands/mailmap.js";
|
|
9
10
|
import type { MergeBaseGraph } from "./commands/merge-bases.js";
|
|
10
11
|
import type { NotesContext } from "./commands/notes-support.js";
|
|
11
12
|
import { type ArgumentFiles } from "./commands/revision-filenames.js";
|
|
@@ -115,6 +116,13 @@ export declare abstract class GitCommand<T> {
|
|
|
115
116
|
* a child process with them set (a sequencer's `git commit` with GIT_REFLOG_ACTION).
|
|
116
117
|
*/
|
|
117
118
|
shareHooksOf(source: GitCommand<unknown>, env?: Record<string, string>): this;
|
|
119
|
+
/**
|
|
120
|
+
* @internal Runs this command's hooks in their own session over `host` (where they are
|
|
121
|
+
* found, the directory they run in, `GIT_DIR`): a git child process started elsewhere than
|
|
122
|
+
* the worktree top, as a submodule's fetch runs in its git directory; `env`: variables its
|
|
123
|
+
* hooks get too (the child's own, as `GIT_WORK_TREE` from `--work-tree`).
|
|
124
|
+
*/
|
|
125
|
+
useHookHost(host: HookHost, env?: Record<string, string>): this;
|
|
118
126
|
/**
|
|
119
127
|
* What the hooks this command ran wrote, in order, with git's hints about hooks it ignored
|
|
120
128
|
* (`advice.ignoredHook`): git relays all of it on its stderr (a hook's stdout included,
|
|
@@ -190,6 +198,14 @@ export declare abstract class GitCommand<T> {
|
|
|
190
198
|
protected readsReplacedObjects(): boolean;
|
|
191
199
|
/** The stored objects, as {@link storedCommits} reads commits. */
|
|
192
200
|
private historyOf;
|
|
201
|
+
/** The stores this command reads and writes objects through (see {@link setObjectsView}) */
|
|
202
|
+
private objectsView?;
|
|
203
|
+
/**
|
|
204
|
+
* Read and write blobs, trees and commits through `history` instead of the working copy's
|
|
205
|
+
* stores: a view over them, such as `--remerge-diff`'s in-memory overlay (git's
|
|
206
|
+
* `tmp_objdir`), so what this command stores never reaches the repository.
|
|
207
|
+
*/
|
|
208
|
+
setObjectsView(history: NonNullable<WorkingCopy["history"]>): this;
|
|
193
209
|
/** Whether an object was read through the replacements (git then read them, and printed) */
|
|
194
210
|
private replacementsRead;
|
|
195
211
|
/** The views of the stored objects through the replacements, made once per command */
|
|
@@ -468,6 +484,18 @@ export declare abstract class GitCommand<T> {
|
|
|
468
484
|
* @returns Branch name (e.g., "refs/heads/main") or undefined if detached
|
|
469
485
|
*/
|
|
470
486
|
protected getCurrentBranch(): Promise<string | undefined>;
|
|
487
|
+
/**
|
|
488
|
+
* The repository's mailmap as mailmap.c's read_mailmap reads it: the worktree's
|
|
489
|
+
* `.mailmap` (not in a bare repository), `mailmap.blob` (default `HEAD:.mailmap` in a bare
|
|
490
|
+
* repository), `mailmap.file`. git's `error:` lines (a `mailmap.blob` that is no blob) go
|
|
491
|
+
* to `onError`.
|
|
492
|
+
*/
|
|
493
|
+
protected readMailmap(onError?: (line: string) => void): Promise<Mailmap>;
|
|
494
|
+
/** The object a revision names, with its type (`bytes` undefined when it cannot be read). */
|
|
495
|
+
protected readObjectNamed(name: string): Promise<{
|
|
496
|
+
type: string;
|
|
497
|
+
bytes?: Uint8Array;
|
|
498
|
+
} | undefined>;
|
|
471
499
|
/**
|
|
472
500
|
* A resolver for git's revision syntax over this command's stores (see
|
|
473
501
|
* {@link RevisionResolver}); its `warnings` hold what git would print.
|
|
@@ -512,6 +540,8 @@ export declare abstract class GitCommand<T> {
|
|
|
512
540
|
* commands that share reads: one commit's tree is the next one's parent tree.
|
|
513
541
|
*/
|
|
514
542
|
protected treeEntries(id: ObjectId): Promise<readonly TreeEntry[]>;
|
|
543
|
+
/** The commits of `.git/shallow` (none in a complete repository). */
|
|
544
|
+
protected shallowCommits(): Promise<ObjectId[]>;
|
|
515
545
|
/** `id` abbreviated as git prints it, through {@link idAbbreviator}. */
|
|
516
546
|
protected abbreviateObjectId(id: ObjectId): Promise<string>;
|
|
517
547
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-command.d.ts","sourceRoot":"","sources":["../src/git-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,WAAW,EACX,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,IAAI,EAEJ,WAAW,EACX,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,KAAK,EACN,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAKL,KAAK,aAAa,EAKlB,KAAK,wBAAwB,EAI9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,YAAY,EAAE,UAAU,EAAgB,MAAM,wBAAwB,CAAC;AACrF,OAAO,EAML,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAGL,KAAK,aAAa,EAGnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAwB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":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AU,CAAC,OAAO,CAAC,GAAG,IAAI,CAQ9C;IAED,0FAA0F;IAC1F,OAAO,CAAC,WAAW,CAAC,CAAoC;IAExD;;;OAGG;IACH,UAAgB,WAAW,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,CAAC,SAAS,SAAS,EAAE,CAAC,CAqBvE;IAED,qEAAqE;IACrE,UAAgB,cAAc,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAEpD;IAED,wEAAwE;IACxE,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAE1D;IAED;;;;;;;;OAQG;IACH,UAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,CAIzF;IAED;;;;;;;;;;;;;OAaG;IACH,UAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,KAAK,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAuD,GAC/E,OAAO,CAAC,QAAQ,CAAC,CASnB;IAED;;;;;;OAMG;IACH,UAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAIlE;IAED;;;;;;;;;;OAUG;IACH,UAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAiBjE;IAED;;;;;OAKG;IACH,UAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,GAAG,WAAW,GAAG,SAAS,CAAC,CAE9E;CACF"}
|
package/dist/git.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { History } from "@statewalker/vcs-core";
|
|
2
2
|
import type { GitTransportRegistry } from "@statewalker/vcs-transport";
|
|
3
3
|
import type { Checkout, WorkingCopy, Worktree, WorktreeAdmin } from "@statewalker/vcs-working-tree";
|
|
4
|
-
import { AddCommand, AmCommand, ApplyCommand, BackfillCommand, BisectCommand, BisectLogCommand, BisectNextCommand, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameCommand, CheckoutCommand, CherryPickCommand, CleanCommand, CloneCommand, CommitCommand, ConfigCommand, CopyBranchCommand, CreateBranchCommand, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DiffCommand, EditBranchDescriptionCommand, FetchCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FsckCommand, GarbageCollectCommand, GrepCommand, HookListCommand, HookRunCommand, InitCommand, InterpretTrailersCommand, ListBranchCommand, ListTagCommand, LogCommand, LsRemoteCommand, MergeBaseCommand, MergeCommand, MvCommand, NotesCommands, PackRefsCommand, PullCommand, PushCommand, ReadTreeCommand, RebaseCommand, ReflogCommand, RemoteAddCommand, RemoteGetUrlCommand, RemoteListCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RenameBranchCommand, ResetCommand, RestoreCommand, RevertCommand, RevListCommand, RevParseCommand, RmCommand, SetUpstreamBranchCommand, ShowCommand, ShowCurrentBranchCommand, SparseCheckoutCommand, StashApplyCommand, StashBranchCommand, StashCreateCommand, StashDropCommand, StashListCommand, StashPopCommand, StashShowCommand, StashStoreCommand, StatusCommand, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleInitCommand, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SwitchCommand, TagCommand, UnsetUpstreamBranchCommand, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WorktreeAddCommand, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand } from "./commands/index.js";
|
|
4
|
+
import { AddCommand, AmCommand, ApplyCommand, BackfillCommand, BisectCommand, BisectLogCommand, BisectNextCommand, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameCommand, CheckMailmapCommand, CheckoutCommand, CherryCommand, CherryPickCommand, CleanCommand, CloneCommand, CommitCommand, ConfigCommand, CopyBranchCommand, CreateBranchCommand, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DiffCommand, EditBranchDescriptionCommand, FetchCommand, FetchMultipleCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FsckCommand, GarbageCollectCommand, GrepCommand, HookListCommand, HookRunCommand, InitCommand, InterpretTrailersCommand, ListBranchCommand, ListTagCommand, LogCommand, LsRemoteCommand, MergeBaseCommand, MergeCommand, MvCommand, NameRevCommand, NotesCommands, PackRefsCommand, PullCommand, PushCommand, RangeDiffCommand, ReadTreeCommand, RebaseCommand, ReflogCommand, RemoteAddCommand, RemoteGetUrlCommand, RemoteListCommand, RemotePruneCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetBranchesCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RemoteShowCommand, RemoteUpdateCommand, RenameBranchCommand, ResetCommand, RestoreCommand, RevertCommand, RevListCommand, RevParseCommand, RmCommand, SetUpstreamBranchCommand, ShortlogCommand, ShowCommand, ShowCurrentBranchCommand, SparseCheckoutCommand, StashApplyCommand, StashBranchCommand, StashCreateCommand, StashDropCommand, StashListCommand, StashPopCommand, StashShowCommand, StashStoreCommand, StatusCommand, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleInitCommand, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SwitchCommand, TagCommand, UnsetUpstreamBranchCommand, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WorktreeAddCommand, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand } from "./commands/index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Options of {@link Git.fromWorkingCopy}.
|
|
7
7
|
*
|
|
@@ -505,6 +505,17 @@ export declare class Git implements Disposable {
|
|
|
505
505
|
* ```
|
|
506
506
|
*/
|
|
507
507
|
describe(): DescribeCommand;
|
|
508
|
+
/**
|
|
509
|
+
* Create a NameRevCommand: symbolic names of commits by the refs that reach them
|
|
510
|
+
* (`git name-rev`).
|
|
511
|
+
*
|
|
512
|
+
* @example
|
|
513
|
+
* ```typescript
|
|
514
|
+
* const { stdout } = await git.nameRev().setNameOnly(true).addRevisions("HEAD~2").call();
|
|
515
|
+
* // "main~2\n"
|
|
516
|
+
* ```
|
|
517
|
+
*/
|
|
518
|
+
nameRev(): NameRevCommand;
|
|
508
519
|
/**
|
|
509
520
|
* Create a GarbageCollectCommand for repository maintenance.
|
|
510
521
|
*
|
|
@@ -544,6 +555,46 @@ export declare class Git implements Disposable {
|
|
|
544
555
|
* ```
|
|
545
556
|
*/
|
|
546
557
|
verifyPack(): VerifyPackCommand;
|
|
558
|
+
/**
|
|
559
|
+
* Create a ShortlogCommand (`git shortlog`): commits grouped by author, committer,
|
|
560
|
+
* trailer values or formats, from a walk or from `git log` output.
|
|
561
|
+
*
|
|
562
|
+
* @example
|
|
563
|
+
* ```typescript
|
|
564
|
+
* await git.shortlog().addRevision("HEAD").setSummary(true).setNumbered(true).callText();
|
|
565
|
+
* ```
|
|
566
|
+
*/
|
|
567
|
+
shortlog(): ShortlogCommand;
|
|
568
|
+
/**
|
|
569
|
+
* Create a CherryCommand (`git cherry`): the commits of a branch not in its upstream, each
|
|
570
|
+
* marked `-` when upstream has a commit with the same change, `+` otherwise.
|
|
571
|
+
*
|
|
572
|
+
* @example
|
|
573
|
+
* ```typescript
|
|
574
|
+
* await git.cherry().setUpstream("main").setHead("topic").setVerbose(true).callText();
|
|
575
|
+
* ```
|
|
576
|
+
*/
|
|
577
|
+
cherry(): CherryCommand;
|
|
578
|
+
/**
|
|
579
|
+
* Create a RangeDiffCommand (`git range-diff`): two versions of a patch series compared
|
|
580
|
+
* commit by commit.
|
|
581
|
+
*
|
|
582
|
+
* @example
|
|
583
|
+
* ```typescript
|
|
584
|
+
* await git.rangeDiff().addArgument("main..topic").addArgument("main..topic-v2").callText();
|
|
585
|
+
* ```
|
|
586
|
+
*/
|
|
587
|
+
rangeDiff(): RangeDiffCommand;
|
|
588
|
+
/**
|
|
589
|
+
* Create a CheckMailmapCommand (`git check-mailmap`): contacts mapped through the
|
|
590
|
+
* repository's mailmap.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* ```typescript
|
|
594
|
+
* await git.checkMailmap().addContact("nick1 <bugs@company.xx>").call();
|
|
595
|
+
* ```
|
|
596
|
+
*/
|
|
597
|
+
checkMailmap(): CheckMailmapCommand;
|
|
547
598
|
/**
|
|
548
599
|
* Create a FmtMergeMsgCommand that writes the message of a merge (`git fmt-merge-msg`),
|
|
549
600
|
* from FETCH_HEAD-style lines or the heads `git merge` would be given, with the `merge.*`
|
|
@@ -787,6 +838,15 @@ export declare class Git implements Disposable {
|
|
|
787
838
|
* ```
|
|
788
839
|
*/
|
|
789
840
|
fetch(): FetchCommand;
|
|
841
|
+
/**
|
|
842
|
+
* Create a FetchMultipleCommand: `git fetch --all`, `git fetch --multiple <remote|group>...`.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* ```typescript
|
|
846
|
+
* const { stdout, stderr, exitCode } = await git.fetchMultiple().setAll(true).call();
|
|
847
|
+
* ```
|
|
848
|
+
*/
|
|
849
|
+
fetchMultiple(): FetchMultipleCommand;
|
|
790
850
|
/**
|
|
791
851
|
* Create a PushCommand for pushing to remotes.
|
|
792
852
|
*
|
|
@@ -893,6 +953,42 @@ export declare class Git implements Disposable {
|
|
|
893
953
|
* ```
|
|
894
954
|
*/
|
|
895
955
|
remoteSetHead(): RemoteSetHeadCommand;
|
|
956
|
+
/**
|
|
957
|
+
* Create a RemoteShowCommand: `git remote show [-n] <name>...`.
|
|
958
|
+
*
|
|
959
|
+
* @example
|
|
960
|
+
* ```typescript
|
|
961
|
+
* const text = await git.remoteShow().setRemoteNames("origin").callText();
|
|
962
|
+
* ```
|
|
963
|
+
*/
|
|
964
|
+
remoteShow(): RemoteShowCommand;
|
|
965
|
+
/**
|
|
966
|
+
* Create a RemotePruneCommand: `git remote prune [--dry-run] <name>...`.
|
|
967
|
+
*
|
|
968
|
+
* @example
|
|
969
|
+
* ```typescript
|
|
970
|
+
* await git.remotePrune().setRemoteNames("origin").call();
|
|
971
|
+
* ```
|
|
972
|
+
*/
|
|
973
|
+
remotePrune(): RemotePruneCommand;
|
|
974
|
+
/**
|
|
975
|
+
* Create a RemoteUpdateCommand: `git remote update [-p] [<group>|<remote>...]`.
|
|
976
|
+
*
|
|
977
|
+
* @example
|
|
978
|
+
* ```typescript
|
|
979
|
+
* const { exitCode } = await git.remoteUpdate().setPrune(true).call();
|
|
980
|
+
* ```
|
|
981
|
+
*/
|
|
982
|
+
remoteUpdate(): RemoteUpdateCommand;
|
|
983
|
+
/**
|
|
984
|
+
* Create a RemoteSetBranchesCommand: `git remote set-branches [--add] <name> <branch>...`.
|
|
985
|
+
*
|
|
986
|
+
* @example
|
|
987
|
+
* ```typescript
|
|
988
|
+
* await git.remoteSetBranches().setRemoteName("origin").setBranches("main").call();
|
|
989
|
+
* ```
|
|
990
|
+
*/
|
|
991
|
+
remoteSetBranches(): RemoteSetBranchesCommand;
|
|
896
992
|
/**
|
|
897
993
|
* Create a RemoteRenameCommand for renaming a remote (`git remote rename`).
|
|
898
994
|
*
|
package/dist/git.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAAA,OAAO,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AAI,gBAAgB,CAG5B;IAED;;;;;;;;OAQG;IACH,QAAQ,IAAI,eAAe,CAG1B;IAED;;;;;;;OAOG;IACH,SAAS,IAAI,gBAAgB,CAG5B;IAED;;;;;;;OAOG;IACH,WAAW,IAAI,kBAAkB,CAGhC;IAED;;;;;;;OAOG;IACH,UAAU,IAAI,iBAAiB,CAG9B;IAID;;;;;;;;;;;;OAYG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED;;;;;;;;;;;;;;OAcG;IACH,IAAI,OAAO,IAAI,OAAO,GAAG,SAAS,CAEjC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,aAAa,IAAI,QAAQ,GAAG,SAAS,CAExC;IAED;;;;;;;;;;;;;;;OAeG;IACH,IAAI,QAAQ,IAAI,QAAQ,GAAG,SAAS,CAEnC;IAMD;;;;;;;;;;OAUG;IACH,WAAW,IAAI,kBAAkB,CAGhC;IAED,gDAAgD;IAChD,YAAY,IAAI,mBAAmB,CAGlC;IAED,+EAA+E;IAC/E,aAAa,IAAI,oBAAoB,CAGpC;IAED,oDAAoD;IACpD,YAAY,IAAI,mBAAmB,CAGlC;IAED,wDAAwD;IACxD,cAAc,IAAI,qBAAqB,CAGtC;IAED,wDAAwD;IACxD,cAAc,IAAI,qBAAqB,CAGtC;IAED,oDAAoD;IACpD,YAAY,IAAI,mBAAmB,CAGlC;IAED,qFAAqF;IACrF,cAAc,IAAI,qBAAqB,CAGtC;IAED;;;;;OAKG;IACH,KAAK,IAAI,IAAI,CAEZ;IAED;;OAEG;IACH,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,CAEvB;IAID,OAAO,CAAC,WAAW;CAKpB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { Credentials, GitTransportRegistry } from "@statewalker/vcs-transport";
|
|
2
|
+
import type { RemoteSessionOptions } from "./commands/remote-transport.js";
|
|
3
|
+
import { type CredentialsForUrl, type HeadersForUrl, type SubmoduleAuthFor } from "./commands/submodule-auth.js";
|
|
4
|
+
import { TransportCommand } from "./transport-command.js";
|
|
5
|
+
/**
|
|
6
|
+
* A command that reaches several remotes in one call (`git fetch --all`, `git remote update`,
|
|
7
|
+
* `git remote show <a> <b>`, `git remote prune`): the remotes' URLs come from the
|
|
8
|
+
* configuration and may name any host, so credentials and headers go only where the caller
|
|
9
|
+
* gave them for, as git's credential helpers match per URL.
|
|
10
|
+
*
|
|
11
|
+
* - {@link setCredentials} and {@link setHeaders} are for the origins (scheme, host, port)
|
|
12
|
+
* named with {@link addCredentialOrigin}; when none is named, for the origin of the default
|
|
13
|
+
* remote (the current branch's, the one configured remote, `origin`), and only while every
|
|
14
|
+
* remote the call reaches has that origin: remotes spanning several origins get none.
|
|
15
|
+
* - {@link setCredentialsForUrl} and {@link setHeadersForUrl} answer per URL (after
|
|
16
|
+
* `insteadOf`), for that URL's origin alone.
|
|
17
|
+
* - A URL without an origin (a path, `file:`) gets none.
|
|
18
|
+
*
|
|
19
|
+
* The connections go through guarded transports (`guardSubmoduleTransports`): the connectors
|
|
20
|
+
* attach the credentials and headers themselves, per URL, and follow HTTP redirects by hand
|
|
21
|
+
* so a redirect to another origin carries none. The commands run inside (each `git fetch`)
|
|
22
|
+
* are given the guarded transports and no credentials of their own.
|
|
23
|
+
*/
|
|
24
|
+
export declare abstract class GuardedTransportCommand<T> extends TransportCommand<T> {
|
|
25
|
+
private credentialOrigins;
|
|
26
|
+
private credentialsFor?;
|
|
27
|
+
private headersFor?;
|
|
28
|
+
private authPolicy?;
|
|
29
|
+
private inheritedPolicy;
|
|
30
|
+
private guarded?;
|
|
31
|
+
/**
|
|
32
|
+
* Credentials for the trusted origins only: those named with {@link addCredentialOrigin},
|
|
33
|
+
* else the default remote's origin while every remote reached has it (see the class notes).
|
|
34
|
+
* Use {@link setCredentialsForUrl} to decide per URL.
|
|
35
|
+
*/
|
|
36
|
+
setCredentials(credentials: Credentials): this;
|
|
37
|
+
/** Username and password for the trusted origins only (as {@link setCredentials}). */
|
|
38
|
+
setCredentialsProvider(username: string, password: string): this;
|
|
39
|
+
/** HTTP headers for the trusted origins only (as {@link setCredentials}). */
|
|
40
|
+
setHeaders(headers: Record<string, string>): this;
|
|
41
|
+
/**
|
|
42
|
+
* An origin the static credentials and headers are for: a URL whose `<scheme>://<host>[:<port>]`
|
|
43
|
+
* is taken (`https://git.example.com`, or any URL of that host). Once one is named, the
|
|
44
|
+
* default remote is no longer trusted by default.
|
|
45
|
+
*
|
|
46
|
+
* @throws GitApiError for a URL without an origin (a path, `file:`)
|
|
47
|
+
*/
|
|
48
|
+
addCredentialOrigin(url: string): this;
|
|
49
|
+
/**
|
|
50
|
+
* Asked with the URL of each remote reached (after `insteadOf`): its credentials, or
|
|
51
|
+
* undefined for the static ones' rule ({@link setCredentials}).
|
|
52
|
+
*/
|
|
53
|
+
setCredentialsForUrl(provider: CredentialsForUrl): this;
|
|
54
|
+
/** Asked with the URL of each remote reached: its headers (as {@link setCredentialsForUrl}). */
|
|
55
|
+
setHeadersForUrl(provider: HeadersForUrl): this;
|
|
56
|
+
/** @internal The policy of the command running this one (a nested fetch). */
|
|
57
|
+
setAuthPolicy(policy: SubmoduleAuthFor): this;
|
|
58
|
+
/**
|
|
59
|
+
* Decides who gets the static credentials and headers, from the URLs this call reaches
|
|
60
|
+
* (after `insteadOf`) and the default remote's URL; call before the first connection
|
|
61
|
+
* (until then nothing gets any).
|
|
62
|
+
*/
|
|
63
|
+
protected resolveAuth(urls: readonly string[], defaultRemoteUrl: string | undefined): void;
|
|
64
|
+
/** The policy in force: what {@link resolveAuth} decided (nothing before it). */
|
|
65
|
+
protected policy(): SubmoduleAuthFor;
|
|
66
|
+
/** The given transports, unguarded (for a nested command given this one's policy). */
|
|
67
|
+
private rawTransports;
|
|
68
|
+
/** The transports every connection goes through: guarded by this command's policy. */
|
|
69
|
+
getTransports(): GitTransportRegistry;
|
|
70
|
+
/** The session options, without credentials and headers: the guarded transports add them. */
|
|
71
|
+
protected remoteSessionOptions(): RemoteSessionOptions;
|
|
72
|
+
/** A lazy fetch gets the guarded transports, and no credentials of its own. */
|
|
73
|
+
protected promisorFetcherAuth(): {
|
|
74
|
+
transports: GitTransportRegistry;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* A command this one runs: a guarded one gets the transports and this command's policy, any
|
|
78
|
+
* other the guarded transports; neither gets the credentials or headers.
|
|
79
|
+
*/
|
|
80
|
+
protected configureChild<C extends TransportCommand<unknown>>(child: C): C;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=guarded-transport-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guarded-transport-command.d.ts","sourceRoot":"","sources":["../src/guarded-transport-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACL,KAAK,iBAAiB,EAGtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EAEtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;GAkBG;AACH,8BAAsB,uBAAuB,CAAC,CAAC,CAAE,SAAQ,gBAAgB,CAAC,CAAC,CAAC;IAC1E,OAAO,CAAC,iBAAiB,CAAgB;IACzC,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,UAAU,CAAC,CAAgB;IACnC,OAAO,CAAC,UAAU,CAAC,CAAmB;IACtC,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,OAAO,CAAC,CAAuB;IAEvC;;;;OAIG;IACM,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAEtD;IAED,sFAAsF;IAC7E,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAExE;IAED,6EAA6E;IACpE,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEzD;IAED;;;;;;OAMG;IACH,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQrC;IAED;;;OAGG;IACH,oBAAoB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAItD;IAED,gGAAgG;IAChG,gBAAgB,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI,CAI9C;IAED,6EAA6E;IAC7E,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAK5C;IAED;;;;OAIG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,gBAAgB,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAkBzF;IAED,iFAAiF;IACjF,SAAS,CAAC,MAAM,IAAI,gBAAgB,CAEnC;IAED,sFAAsF;IACtF,OAAO,CAAC,aAAa;IAIrB,sFAAsF;IAC7E,aAAa,IAAI,oBAAoB,CAG7C;IAED,6FAA6F;IAC7F,UAAmB,oBAAoB,IAAI,oBAAoB,CAG9D;IAED,+EAA+E;IAC/E,UAAmB,mBAAmB;QAC3B,UAAU;MACpB;IAED;;;OAGG;IACH,UAAmB,cAAc,CAAC,CAAC,SAAS,gBAAgB,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAYlF;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./commands/index.js";
|
|
|
2
2
|
export * from "./errors/index.js";
|
|
3
3
|
export { Git, type GitOptions } from "./git.js";
|
|
4
4
|
export { GitCommand } from "./git-command.js";
|
|
5
|
+
export { GuardedTransportCommand } from "./guarded-transport-command.js";
|
|
5
6
|
export * from "./results/index.js";
|
|
6
7
|
export { TransportCommand } from "./transport-command.js";
|
|
7
8
|
export * from "./types.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,qBAAqB,CAAC;AAMpC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,qBAAqB,CAAC;AAMpC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,cAAc,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DetachedHeadError, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MultipleParentsNotAllowedError, MvFailedError, NoFilepatternError, NoHeadError, NoMergeBaseError, NoMessageError, NoRebaseInProgressError, NonFastForwardError, NotACommitError, NotADirectoryError, NotFastForwardError, NotImplementedError, NotMergedError, PathNotFoundInTreeError, PathNotInIndexError, PushRejectedException, ReadTreeFailedError, RebaseTodoMissingError, RefAlreadyExistsError, RefFilterError, RefNotFoundError, RemoteAlreadyExistsError, RemoteNotFoundError, ResetRefusedError, RevisionError, RmFailedError, StashApplyFailedError, StashNotFoundError, StoreNotAvailableError, SwitchRefusedError, TransportError, UnmergedPathsError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage } from "./errors/index.js";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { $ as
|
|
5
|
-
export { ATOM_NAMES, AddCommand, AddFailedError, AmCommand, ApplyCommand, ApplyEngine, AuthenticationError, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameCommand, BranchUsedByWorktreeError, COLOR_MOVED_MODE_ERROR, COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, CannotDeleteCurrentBranchError, ChangeType, CheckoutCommand, CheckoutStage, CheckoutStatus, CherryPickCommand, CherryPickStatus, CleanCommand, CleanupMode, CloneCheckoutError, CloneCommand, CloneDestinationError, CommitCommand, CommitFilters, CommitNotFoundError, ConfigCommand, ContentMergeStrategy, CopyBranchCommand, CreateBranchCommand, DEFAULT_CONFLICT_MARKER_SIZE, DEFAULT_DATE_MODE, DEFAULT_DECORATION_COLORS, DEFAULT_DIFF_COLORS, DEFAULT_FOR_EACH_REF_FORMAT, DEFAULT_GREP_COLORS, DEFAULT_IDENT, DEFAULT_MERGE_LOG_LENGTH, DIFF_COLOR_SLOTS, DateModeError, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DetachedHeadError, DiffCommand, DiffFormatter, DiffPickaxe, EditBranchDescriptionCommand, EmptyCommitError, EmptyTreeEntryNameError, FIND_BISECTION_ALL, FIND_BISECTION_FIRST_PARENT_ONLY, FSCK_ERROR_BITMAP_243, FSCK_ERROR_COMMIT_GRAPH, FSCK_ERROR_MULTI_PACK_INDEX_243, FSCK_ERROR_OBJECT, FSCK_ERROR_PACK, FSCK_ERROR_PACK_REV_INDEX_243, FSCK_ERROR_REACHABLE, FSCK_ERROR_REFS, FSCK_MSG_IDS, FastForwardMode, FetchCommand, FetchIntoCheckedOutBranchError, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FormatPatchError, FsckCommand, FsckConfigError, FsckMessageTypes, GIT_DIFF_BIG_FILE_THRESHOLD, GRAPH_COLUMN_COLORS_ANSI, GarbageCollectCommand, Git, GitApiError, GitCommand, Gitmodules, GrepCommand, GrepEngine, GrepError, GrepPatternError, HookFailedError, HookListCommand, HookRunCommand, HookSession, IdentityUnknownError, IncompatibleOptionsError, IndexLockFailedError, IndexRefresh, IndexVersionConfigError, InitCommand, InterpretTrailersCommand, InvalidArgumentError, InvalidConfigError, InvalidDateError, InvalidDefaultBranchError, InvalidIdentError, InvalidInitialBranchError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, LAZY_FETCH_DISABLED_WARNING, LOCAL_REPO_ENV, ListBranchCommand, ListBranchMode, ListTagCommand, LoadedSide, LogCommand, LogGraph, LogPrinter, LsRemoteCommand, Mailmap, MergeBaseCommand, MergeCommand, MergeConflictError, MergeFailureReason, MergeOperation, MergeStatus, MergeStrategy, MissingArgumentError, MissingDefaultBranchValueError, MovedLineBuffer, MultipleParentsNotAllowedError, MvCommand, MvFailedError, NULL_OBJECT_ID, NoChangesSelectedError, NoFilepatternError, NoHeadError, NoMergeBaseError, NoMessageError, NoRebaseInProgressError, NoStagedChangesError, NonFastForwardError, NotACommitError, NotADirectoryError, NotFastForwardError, NotImplementedError, NotMergedError, NotesAddCommand, NotesAppendCommand, NotesCommands, NotesCopyCommand, NotesEditCommand, NotesError, NotesGetRefCommand, NotesListCommand, NotesMergeCommand, NotesPruneCommand, NotesRemoveCommand, NotesShowCommand, NotesSubcommand, NotesTree, PATCH_MODES, PRN_MODULO, PackRefsCommand, PathNotFoundInTreeError, PathNotInIndexError, PrettyFormatError, PullCommand, PushCommand, PushRejectedException, PushStatus, ReadTreeCommand, ReadTreeFailedError, RebaseAction, RebaseCommand, RebaseOperation, RebaseStatus, RebaseTodoMissingError, RefAlreadyExistsError, RefFilterError, RefFormat, RefKind, RefListingCommand, RefNotFoundError, RefUpdateStatus, ReflogCommand, ReinitializeHashError, RemoteAddCommand, RemoteAlreadyExistsError, RemoteGetUrlCommand, RemoteListCommand, RemoteNotFoundError, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RenameBranchCommand, ResetCommand, ResetMode, ResetRefusedError, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevertStatus, RevisionError, RevisionResolver, RmCommand, RmFailedError, SHA1_ID_SHAPE, SIGNING_FAILED_LINES, STASH_REF, SUBMODULE_UNSET_ENV, SequencerOperation, SetUpstreamBranchCommand, ShowCommand, ShowCurrentBranchCommand, SignatureVerificationError, SigningFailedError, SparseCheckoutCommand, StashApplyCommand, StashApplyFailedError, StashApplyStatus, StashBranchCommand, StashCreateCommand, StashDropCommand, StashInfoCommand, StashListCommand, StashNotFoundError, StashPathspecResetError, StashPopCommand, StashShowCommand, StashStoreCommand, StashWorktreeRemovalError, StatusCommand, StatusImpl, StatusPrinter, StoreNotAvailableError, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleCommandBase, SubmoduleCommandError, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleGitDirError, SubmoduleInitCommand, SubmoduleModel, SubmoduleRepository, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SubmoduleWalkError, SwitchCommand, SwitchRefusedError, TREESAME, TagCommand, TagOption, TrackMode, TransportCommand, TransportError, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownRefFormatError, UnmergedPathsError, UnsetUpstreamBranchCommand, UpstreamRequiredError, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WORD_DIFF_MODES, WSEH_CONTEXT, WSEH_NEW, WSEH_OLD, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeError, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, WorktreesUnsupportedError, amendWithTrailers, appendSignoff, appendTrailers, applyMailmapToHeader, atomSource, attrPathOf, authorIdentOf, autoCommentCharLines, blobIdOf, blobSide, bufferIsBinary, bytesOf, bytesToLatin1, canonMode, checkAutoCommentChar, checkFilename, checkFlaggedEntries, checkPickaxeOptions, checkSignature, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, coloredHunkHeader, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, committerIdent, committerIdentOf, commonGitFileOf, compareBytes, compileCommitGrep, compileWordRegex, computeDiffstat, configuredHookEntries, configuredHooks, conflictMarkerSizeOf, contentDriver, contentSide, createAddEntry, createCopyEntry, createDeleteEntry, createDescriber, createMergeDriver, createModifyEntry, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, createRenameEntry, createSshSigner, createSshVerifier, createSubmoduleAuthPolicy, cutLine, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, defaultRemoteOf, diffColorSlotOf, diffDriverOf, diffEntryToPair, displayWidth, driverOf, ensureUtf8, estimateBisectSteps, exitCodeOfMessage, expandStringArg, favorOf, fetchFsckOf, fillAheadBehind, fillIsBase, filterAndFormatRefs, filterRefs, findBisection, findIdent, fmtMergeMsgConfigOf, formatBlame, formatBlamePorcelain, formatCommitPretty, formatDiffEntry, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatRefDecorations, formatShortstat, formatStat, formatStatusPorcelain, formatStatusText, formatSummary, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, getFailedUpdates, getSuccessfulUpdates, gitCommitAfterHooks, gitCommitMessageHooks, gitFileOf, gitUrlBasename, graphColumnColors, grepNoIndex, grepPattern, grepPatternFile, guardSubmoduleTransports, handleRevisionArg, hasPickaxe, hasPromisorRemote, hasUpdates, hexIdAt, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, humanDate, identConfigOf, ignoredLogMessageBytes, indexFormatDefault, indexVersionConfigError, installMergeDrivers, installPromisorFetcher, installTextconvRunner, interpretTrailers, isBisectSuccess, isConflictMarkerLine, isKnownHook, isMboxFromLine, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, isRelativeSubmoduleUrl, isRootRef, isValidBranchName, isValidRemoteName, joinFilesPath, latin1ToBytes, latin1ToPath, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, lstatKind, lstripRef, mailFromHeader, mailSubjectLine, maildirFilenameCompare, mailinfo, mailsplit, mailsplitFiles, managedSkipped, matchArgValue, matchBoolArg, mergeDriversOf, mergesMode, mergetagsOf, noIndexPair, nonCommitSwitchError, notFromUser, nullIdLike, openConfigFile, openSubmoduleRepository, orderByPatterns, orderRank, parentIsDirectory, parseAtom, parseBufferSignedByHeader, parseColorMoved, parseColorMovedWs, parseColorSpec, parseCommitBuffer, parseCommitLinks, parseDateMode, parseExpiry, parseFsckMsgId, parseGitDate, parseGitmodulesConfig, parseGpgOutput, parseIgnoredMode, parseMaybeBool, parseOrderFile, parseRefSorting, parseRevisionAndPathArgs, parseRevisionArgs, parseSignature, parseSignedBuffer, parseSshOutput, parseSubmoduleDiffFormat, parseSubmoduleUpdateStrategy, parseTagBuffer, parseTrailerIfExists, parseTrailerIfMissing, parseTrailerWhere, parseUntrackedFilesMode, parseWhitespaceAction, parseWsErrorHighlight, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, physicalFilesPath, pprintRename, processTrailers, promisorOf, promisorRemotes, promptIndex, quarantineEnv, quoteCStyleBody, quotePath, quoteRefValue, quoteTwo, rawIdAt, readDiffColorSettings, readDiffSubmoduleConfig, readGitmodulesEntries, readRepositoryMailmap, readShowUntrackedFiles, readStoredObjectBytes, readSubmoduleDirt, receiveFsckOf, recordWrittenStat, reencodedCommitParts, refKindOf, refTransactionHookOf, reflogMessages, reflogSubject, refuseCommitSigning, registerPartialClone, relativeDate, relativeFilesPath, relativeUrl, remoteFromUrl, remoteHookSession, removeSignatureHeaders, resolveAuthorIdent, resolveCommitterIdent, resolveFilesLinks, resolveIdentDate, resolveRelativeUrl, resolveSigning, restoreWorktreeHard, revisionMergeBases, rstripRef, runAddInteractive, runAddPatch, runPatchSelection, runPathCheckout, runPostCheckoutHook, safeCreateLeadingDirectories, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, setInConfigFile, shellQuote, shortenRefName, shortenUnambiguousRef, showDate, showSubmoduleDiffSummary, signCommit, signPayload, signRequestOf, signatureFormatAt, signatureLetter, signatureStart, signerOf, signingConfigOf, signoffLine, skipAway, skipAwayIndex, sortRefs, splitMail, sqDequoteToArgv, sqQuote, sqQuoteArgv, statSummary, statusCommitInfo, strbufRtrim, strbufTrim, strictUrlOrigin, stripspace, submoduleHeader, submodulePathConfigOf, submoduleToken, submoduleUpdateTypeName, tagHeader, takeIndexWarnings, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trailerConfigFromEntries, trailerConfigOf, trailerLinesOf, treeEntryId, trimTrailingSpaces, trustRank, unknownRevisionMessage, upPathOf, urlIsLocalNotSsh, utf8, validateSubmoduleGitDir, validateSubmodulePath, validateTrailerArgs, verifyCommitBytes, verifyFilename, verifyMergeSignature, verifyNonFilename, verifyTagBytes, versionCompare, walkTree, whitespaceRuleError, withoutCrud, worktreeHostPath, wrapText, writeColoredHunks, writeCombinedDiff, writePairCheck, writePairPatch, writeWordDiffHunks, wsErrorHighlightOf };
|
|
1
|
+
import { A as treeEntryId, C as hexIdAt, D as parseTagBuffer, E as parseGitmodulesConfig, F as parseFsckMsgId, M as FSCK_MSG_IDS, N as FsckMessageTypes, O as rawIdAt, P as UnknownFsckMsgIdError, S as fsckTree, T as parseCommitLinks, _ as checkSubmoduleName, a as FSCK_ERROR_MULTI_PACK_INDEX_243, b as fsckCommit, c as FSCK_ERROR_PACK_REV_INDEX_243, d as FsckCommand, f as FsckConfigError, g as canonMode, h as SHA1_ID_SHAPE, i as FSCK_ERROR_COMMIT_GRAPH, j as walkTree, k as scanTree, l as FSCK_ERROR_REACHABLE, m as receiveFsckOf, n as VerifyPackCommand, o as FSCK_ERROR_OBJECT, p as fetchFsckOf, r as FSCK_ERROR_BITMAP_243, s as FSCK_ERROR_PACK, u as FSCK_ERROR_REFS, v as checkSubmoduleUrl, w as parseCommitBuffer, x as fsckTag, y as fsckBlob } from "./fsck-CPeDh9fh.js";
|
|
2
|
+
import { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DescribeError, DetachedHeadError, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MultipleParentsNotAllowedError, MvFailedError, NoFilepatternError, NoHeadError, NoMergeBaseError, NoMessageError, NoRebaseInProgressError, NonFastForwardError, NotACommitError, NotADirectoryError, NotFastForwardError, NotImplementedError, NotMergedError, PathNotFoundInTreeError, PathNotInIndexError, PushRejectedException, ReadTreeFailedError, RebaseTodoMissingError, RefAlreadyExistsError, RefFilterError, RefNotFoundError, RemoteAlreadyExistsError, RemoteNotFoundError, ResetRefusedError, RevisionError, RmFailedError, StashApplyFailedError, StashNotFoundError, StoreNotAvailableError, SwitchRefusedError, TransportError, UnmergedPathsError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage } from "./errors/index.js";
|
|
3
|
+
import { $ as revisionMergeBases, $a as formatSummary, $c as AutoCommentCharRemovedError, $t as ResetMode, A as IndexRefresh, Aa as DEFAULT_CONFLICT_MARKER_SIZE, Ac as gitCommitMessageHooks, An as SignatureVerificationError, Ar as LogPrinter, As as readRepositoryMailmap, B as parseUntrackedFilesMode, Ba as contentDriver, Bc as runPostCheckoutHook, Bn as removeSignatureHeaders, Bo as signPayload, Br as interpretTrailers, Bs as IndexVersionConfigError, Bt as StashWorktreeRemovalError, C as patchRevisionOf, Ca as createCopyEntry, Cn as parseSubmoduleDiffFormat, Co as parseWsErrorHighlight, Cs as installPromisorFetcher, Ct as sanitizedSubject, D as PATCH_MODES, Da as DEFAULT_DIRSTAT, Dc as configuredHookEntries, Di as latin1ToText, Dn as submoduleHeader, Do as quoteCStyleBody, Dr as combineNotesIgnore, Ds as Mailmap, E as runAddPatch, Ea as createRenameEntry, Ec as commonGitFileOf, Ei as latin1ToPath, En as showSubmoduleDiffSummary, Eo as writeCombinedDiff, Er as combineNotesConcatenate, Es as registerPartialClone, F as hasPickaxe, Fa as LoadedSide, Fc as hookSettingsCheck, Fi as MergeStrategy, Fn as parseGpgOutput, Fo as SIGNING_FAILED_LINES, Fr as amendWithTrailers, Fs as UnknownRefFormatError, Ga as driverOf, Gn as verifyMergeSignature, Go as TrackMode, Gr as signoffLine, Gt as restoreWorktreeHard, H as readSubmoduleDirt, Ha as countLines, Hc as sequencerPrepareMessage, Hn as signatureLetter, Ho as signerOf, Hr as parseTrailerIfMissing, Hs as indexVersionConfigError, Ht as ResetCommand, I as renamesValue, Ia as attrPathOf, Ic as hookSettingsFromEntries, Ii as isMergeSuccessful, In as parseSignature, Io as SigningFailedError, Ir as appendSignoff, Is as defaultBranchHint, It as NoChangesSelectedError, J as statusCommitInfo, Ja as formatNoIndexDiff, Jn as GrepPatternError, Jr as trailerLinesOf, K as StatusPrinter, Ka as formatNameOnly, Ki as stripspace, Kn as verifyTagBytes, Kr as trailerConfigFromEntries, L as StatusCommand, La as blobIdOf, Lc as isKnownHook, Li as CleanupMode, Ln as parseSignedBuffer, Lo as refuseCommitSigning, Lr as appendTrailers, Ls as defaultInitialBranch, Lt as NoStagedChangesError, M as DiffCommand, Ma as isConflictMarkerLine, Mc as hookHostInGitDir, Mi as ContentMergeStrategy, Mn as checkSignature, Mr as mailSubjectLine, Ms as InvalidDefaultBranchError, N as checkPickaxeOptions, Na as writePairCheck, Nc as hookHostOf, Ni as FastForwardMode, Nn as mergetagsOf, Nr as mergesMode, Ns as InvalidInitialBranchError, O as patchModeFor, Oa as formatDirstat, Oc as configuredHooks, Oi as pathToLatin1, Oo as quotePath, Or as combineNotesOverwrite, Os as readMailmapBlob, P as formatDiffEntry, Pa as GIT_DIFF_BIG_FILE_THRESHOLD, Pc as hookRunnerOf, Pi as MergeStatus, Pn as parseBufferSignedByHeader, Po as GitCommand, Pr as reencodedCommitParts, Ps as MissingDefaultBranchValueError, Q as RevParseCommand, Qa as formatStat, Qn as remergeObjectsView, Qt as ListBranchMode, R as cutLine, Ra as blobSide, Rc as nullIdLike, Rn as parseSshOutput, Ro as resolveSigning, Rr as formatTrailersOf, Rs as defaultRefFormat, Rt as StashCreateCommand, S as runAddInteractive, Sa as createAddEntry, Si as ApplyEngine, Sn as openSubmoduleRepository, So as parseColorMovedWs, Ss as hasPromisorRemote, St as relativeDate, T as runPatchSelection, Ta as createModifyEntry, Tc as LOCAL_REPO_ENV, Ti as latin1ToBytes, Tn as readGitmodulesEntries, To as wsErrorHighlightOf, Tr as combineNotesCatSortUniq, Ts as promisorRemotes, U as SubmoduleSummaryCommand, Ua as diffDriverOf, Un as trustRank, Uo as signingConfigOf, Ur as parseTrailerWhere, Us as takeIndexWarnings, Ut as checkFlaggedEntries, V as readShowUntrackedFiles, Va as contentSide, Vc as sequencerPostCommit, Vn as signatureFormatAt, Vo as signRequestOf, Vr as parseTrailerIfExists, Vs as indexFormatDefault, Vt as WorkingCopyStashProvider, Wa as displayWidth, Wn as verifyCommitBytes, Wo as RevisionResolver, Wr as processTrailers, Wt as recordWrittenStat, X as formatStatusPorcelain, Xa as formatPatch, Xn as compileCommitGrep, Y as StatusImpl, Ya as formatNumstat, Yn as applyMailmapToHeader, Yr as validateTrailerArgs, Z as submoduleToken, Za as formatShortstat, Zn as RemergeTreeCommand, _ as formatBlamePorcelain, _a as orderRank, _l as withoutCrud, _o as WSEH_NEW, _s as reflogSubject, _t as loadRefDecorations, a as PushStatus, ai as DEFAULT_DATE_MODE, al as DEFAULT_IDENT, an as RevFilter, ao as writePairPatch, as as checkFilename, ba as diffEntryToPair, bi as ApplyCommand, bl as localTimezoneOffset, bn as SubmoduleRepository, bo as diffColorSlotOf, bs as LAZY_FETCH_DISABLED_WARNING, bt as parseColorSpec, c as isPullSuccessful, ci as parseDateMode, cl as InvalidIdentError, co as WORD_DIFF_MODES, cs as parseRevisionAndPathArgs, d as hasUpdates, di as LogGraph, dl as findIdent, do as COLOR_MOVED_MODE_ERROR, ds as handleRevisionArg, el as autoCommentCharLines, eo as noIndexPair, et as installTextconvRunner, f as CherryPickStatus, fa as StashApplyStatus, fi as graphColumnColors, fl as hostEnvironmentOf, fo as COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, fs as parseRevisionArgs, ft as PrettyFormatError, g as formatBlameIncremental, ga as orderByPatterns, gi as installMergeDrivers, gl as resolveIdentDate, go as WSEH_CONTEXT, gs as reflogMessages, gt as humanDate, h as formatBlame, ha as DiffPickaxe, hi as createMergeDriver, hl as resolveCommitterIdent, ho as MovedLineBuffer, ht as formatRefDecorations, i as isRebaseSuccessful, in as LogCommand, io as writeHeaderOnlyPatch, it as whitespaceRuleError, j as createPatchBackend, ja as conflictMarkerSizeOf, jc as gitFileOf, jn as bytesOf, jr as mailFromHeader, k as promptIndex, ka as parseDirstatParams, kc as gitCommitAfterHooks, ki as textToLatin1, ko as quoteTwo, ks as readMailmapFile, l as RefUpdateStatus, li as showDate, ll as authorIdentOf, lo as compileWordRegex, ls as verifyFilename, m as formatAnnotate, ma as decorateFullRefs, ml as resolveAuthorIdent, mo as DIFF_COLOR_SLOTS, ms as committerIdent, mt as formatCommitPretty, n as RebaseAction, nn as STASH_REF, no as statSummary, nt as DEFAULT_DECORATION_COLORS, o as getFailedUpdates, oi as DateModeError, ol as IdentityUnknownError, on as WorktreeListCommand, oo as cutToLineRanges, os as looksLikePathspec, p as BlameColorError, pa as createRefDecorationFilter, pl as identConfigOf, po as DEFAULT_DIFF_COLORS, ps as unknownRevisionMessage, pt as expandStringArg, q as formatStatusText, qa as formatNameStatus, qn as CommitFilters, qr as trailerConfigOf, r as RebaseStatus, rn as StashListCommand, ro as utf8, rt as readDiffColorSettings, s as isPushSuccessful, si as hostZoneName, sl as InvalidDateError, sn as shortenUnambiguousRef, so as lineRangesSpan, ss as lstatExists, t as RevertStatus, tl as checkAutoCommentChar, tn as StashApplyCommand, to as pprintRename, tt as textconvRunnerOf, u as getSuccessfulUpdates, ui as GRAPH_COLUMN_COLORS_ANSI, ul as committerIdentOf, un as parseExpiry, uo as writeWordDiffHunks, ur as NotesError, us as verifyNonFilename, v as AddCommand, va as parseOrderFile, vi as mergeDriversOf, vo as WSEH_OLD, vt as matchArgValue, w as pathPatchMode, wa as createDeleteEntry, wc as HookSession, wi as bytesToLatin1, wn as readDiffSubmoduleConfig, wo as writeColoredHunks, wr as NotesTree, ws as promisorOf, wt as wrapText, xa as ChangeType, xi as parseWhitespaceAction, xl as parseGitDate, xn as SubmoduleWalkError, xo as parseColorMoved, xs as createPromisorFetcher, xt as parseMaybeBool, ya as DiffFormatter, yn as NULL_OBJECT_ID, yo as coloredHunkHeader, yt as matchBoolArg, z as parseIgnoredMode, za as computeDiffstat, zc as refTransactionHookOf, zn as readStoredObjectBytes, zo as signCommit, zr as ignoredLogMessageBytes, zs as isValidBranchName, zt as StashPathspecResetError } from "./results-BDuEgdLU.js";
|
|
4
|
+
import { $ as LsRemoteCommand, $i as pathCheckoutResult, $n as strictUrlOrigin, $r as isRootRef, $t as SubmoduleSyncCommand, A as trackingSources, Ai as isBisectSuccess, An as isRelativeSubmoduleUrl, Ar as shortlogIdent, At as computeAssignment, B as NotesAddCommand, Bi as FIND_BISECTION_FIRST_PARENT_ONLY, Bn as resolveFilesLinks, Br as RenameBranchCommand, Bt as SubmoduleUpdateCommand, C as ShowCommand, Ci as BisectSkipCommand, Cn as toTagMode, Cr as commitSubject, Ct as RangeDiffMemoryError, D as RestoreCommand, Di as BISECT_USAGE, Dn as SubmoduleGitDirError, Dr as parseShortlogGroup, Dt as parseRangeDiffMaxMemory, E as RevertCommand, Ei as BisectTermsCommand, En as Gitmodules, Er as outputEncoderFor, Et as humaniseBytes, F as pushSucceeded, Fi as strbufTrim, Fn as parseSubmoduleUpdateStrategy, Fr as ShowCurrentBranchCommand, Ft as GuardedTransportCommand, G as NotesListCommand, Gi as findBisection, Gn as submoduleUpdateTypeName, Gr as DescribeDeath, Gt as SubmoduleCommandBase, H as NotesCopyCommand, Hi as TREESAME, Hn as safeCreateLeadingDirectories, Hr as ForEachRefCommand, Ht as RebaseOperation, I as PullCommand, Ii as BisectDie, In as physicalFilesPath, Ir as CopyBranchCommand, It as DescribeCommand, J as NotesShowCommand, Ji as skipAwayIndex, Jn as validateSubmoduleGitDir, Jr as compareBytes, Jt as SubmoduleForeachCommand, K as NotesPruneCommand, Ki as managedSkipped, Kn as upPathOf, Kr as Describer, Kt as SubmoduleCommandError, L as PackRefsCommand, Li as BisectGraph, Ln as relativeFilesPath, Lr as CreateBranchCommand, Lt as ConfigCommand, M as PushCommand, Mi as sqQuote, Mn as lstatKind, Mr as SetUpstreamBranchCommand, Mt as MAX_GROUP_DEPTH, N as parsePushRecurseSubmodules, Ni as sqQuoteArgv, Nn as openConfigFile, Nr as UnsetUpstreamBranchCommand, Nt as RemoteUpdateCommand, O as RemotePruneCommand, Oi as BisectCode, On as SubmoduleModel, Or as parseShortlogWrap, Ot as readRangeDiffPatches, P as pushOutputText, Pi as strbufRtrim, Pn as parentIsDirectory, Pr as EditBranchDescriptionCommand, Pt as addRemoteOrGroup, Q as MergeBaseCommand, Qi as nonCommitSwitchError, Qn as guardSubmoduleTransports, Qr as filterRefs, Qt as SubmoduleSetUrlCommand, R as NotesCommands, Ri as BisectNode, Rn as relativeUrl, Rr as DeleteBranchCommand, Rt as CloneCommand, S as createSshSigner, Si as BisectRunCommand, Sn as fetchSucceeded, Sr as Shortlog, St as RangeDiffError, T as servedRepositoryOf, Ti as BisectStateCommand, Tn as parseFetchRecurseSubmodules, Tr as inputLines, Tt as getCorrespondences, U as NotesEditCommand, Ui as UNINTERESTING, Un as setInConfigFile, Ur as RefListingCommand, Ut as SUBMODULE_UNSET_ENV, V as NotesAppendCommand, Vi as PRN_MODULO, Vn as resolveRelativeUrl, Vr as DEFAULT_FOR_EACH_REF_FORMAT, Vt as RebaseCommand, W as NotesGetRefCommand, Wi as estimateBisectSteps, Wn as submodulePathConfigOf, Wr as DESCRIBE_MAX_TAGS, Wt as SubmoduleAbsorbGitDirsCommand, X as NameRevCommand, Xi as CheckoutStage, Xn as worktreeHostPath, Xr as fillIsBase, Xt as SubmoduleInitCommand, Y as NotesSubcommand, Yi as CheckoutCommand, Yn as validateSubmodulePath, Yr as fillAheadBehind, Yt as SubmoduleHeadMover, Z as MvCommand, Zi as CheckoutStatus, Zn as createSubmoduleAuthPolicy, Zr as filterAndFormatRefs, Zt as SubmoduleSetBranchCommand, _ as StashPopCommand, _i as BisectCommand, _n as RemoteSetUrlCommand, _r as fmtMergeMsgConfigOf, _t as rangeDiffNotesOptions, a as WorktreeUnlockCommand, aa as isMboxFromLine, ai as RefKind, an as InitOptionsError, ar as CherryPickCommand, at as DEFAULT_GREP_COLORS, b as StashDropCommand, bi as BisectReplayCommand, bn as TagOption, br as CheckMailmapCommand, bt as RANGE_DIFF_CREATION_FACTOR_DEFAULT, c as VerifyTagCommand, ca as splitMail, ci as shortenRefName, cn as Git, cr as MergeOperation, ct as bufferIsBinary, d as TagCommand, di as trimTrailingSpaces, dn as RemoteGetUrlCommand, dr as favorOf, dt as GarbageCollectCommand, ea as checkoutPaths, ei as parseRefSorting, en as notFromUser, er as TransportCommand, et as InterpretTrailersCommand, f as SwitchCommand, fi as quoteRefValue, fn as RemoteListCommand, fr as UnknownStrategyOptionError, ft as WorktreePruneCommand, g as StashShowCommand, gi as BlameCommand, gn as RemoteSetHeadCommand, gr as FmtMergeMsgCommand, gt as RangeDiffCommand, h as StashStoreCommand, hi as parseAtom, hn as RemoteSetBranchesCommand, hr as DEFAULT_MERGE_LOG_LENGTH, ht as RangeDiffBase, i as WorktreeLockCommand, ia as ensureUtf8, ii as RefFormat, in as InitCommand, ir as runCleanInteractive, it as grepNoIndex, j as ReflogCommand, ji as sqDequoteToArgv, jn as joinFilesPath, jr as splitIdent, jt as FetchMultipleCommand, k as RemoteShowCommand, ki as BisectEngine, kn as defaultRemoteOf, kr as readShortlogInput, kt as writeRangeDiff, l as DeleteTagCommand, la as mailinfo, li as signatureStart, ln as SparseCheckoutCommand, lr as UNMERGED_FILES_MESSAGE, lt as grepPattern, m as gitUrlBasename, mi as atomSource, mn as RemoteRenameCommand, mr as parseStrategyOptions, mt as FormatPatchError, n as WorktreeMoveCommand, na as BackfillCommand, ni as sortRefs, nr as parseColumnLayout, nt as HookRunCommand, o as WorktreeAddCommand, oa as maildirFilenameCompare, oi as lstripRef, on as ReinitializeHashError, or as SequencerOperation, ot as GrepEngine, p as SubmoduleAddCommand, pi as ATOM_NAMES, pn as RemoteRemoveCommand, pr as applyStrategyOption, pt as FormatPatchCommand, q as NotesRemoveCommand, qi as skipAway, qn as urlIsLocalNotSsh, qr as createDescriber, qt as SubmoduleDeinitCommand, r as WorktreeRemoveCommand, ra as AmCommand, ri as versionCompare, rn as RmCommand, rr as printColumns, rt as GrepCommand, s as VerifyCommitCommand, sa as mailsplitFiles, si as rstripRef, sn as UnknownHashAlgorithmError, sr as MergeCommand, st as GrepError, t as WorktreeRepairCommand, ta as runPathCheckout, ti as refKindOf, tn as shellQuote, tr as CleanCommand, tt as HookListCommand, u as ListTagCommand, ua as mailsplit, ui as tagHeader, un as RemoteAddCommand, ur as UNRELATED_HISTORIES_MESSAGE, ut as grepPatternFile, v as StashBranchCommand, vi as BisectLogCommand, vn as isValidRemoteName, vr as CommitCommand, vt as RevListCommand, w as ShortlogCommand, wi as BisectStartCommand, wn as toTrackingRefUpdate, wr as formatSubject, wt as findExactMatches, x as createSshVerifier, xi as BisectResetCommand, xn as fetchOutputText, xr as SHORTLOG_DEFAULT_WRAP, xt as RANGE_DIFF_MAX_MEMORY_DEFAULT, y as StashInfoCommand, yi as BisectNextCommand, yn as FetchCommand, yr as CherryCommand, yt as CREATION_FACTOR_FOR_THE_SAME_SERIES, z as NotesMergeCommand, zi as FIND_BISECTION_ALL, zn as remoteFromUrl, zr as ListBranchCommand, zt as SubmoduleStatusCommand } from "./commands-CNvli5bl.js";
|
|
5
|
+
import { _ as ReadTreeCommand, l as httpBackendEnv, p as remoteHookSession, u as quarantineEnv } from "./remote-transport-CCmBadm-.js";
|
|
6
|
+
export { ATOM_NAMES, AddCommand, AddFailedError, AmCommand, ApplyCommand, ApplyEngine, AuthenticationError, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameColorError, BlameCommand, BranchUsedByWorktreeError, COLOR_MOVED_MODE_ERROR, COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, CREATION_FACTOR_FOR_THE_SAME_SERIES, CannotDeleteCurrentBranchError, ChangeType, CheckMailmapCommand, CheckoutCommand, CheckoutStage, CheckoutStatus, CherryCommand, CherryPickCommand, CherryPickStatus, CleanCommand, CleanupMode, CloneCheckoutError, CloneCommand, CloneDestinationError, CommitCommand, CommitFilters, CommitNotFoundError, ConfigCommand, ContentMergeStrategy, CopyBranchCommand, CreateBranchCommand, DEFAULT_CONFLICT_MARKER_SIZE, DEFAULT_DATE_MODE, DEFAULT_DECORATION_COLORS, DEFAULT_DIFF_COLORS, DEFAULT_DIRSTAT, DEFAULT_FOR_EACH_REF_FORMAT, DEFAULT_GREP_COLORS, DEFAULT_IDENT, DEFAULT_MERGE_LOG_LENGTH, DESCRIBE_MAX_TAGS, DIFF_COLOR_SLOTS, DateModeError, DeleteBranchCommand, DeleteTagCommand, DescribeCommand, DescribeDeath, DescribeError, Describer, DetachedHeadError, DiffCommand, DiffFormatter, DiffPickaxe, EditBranchDescriptionCommand, EmptyCommitError, EmptyTreeEntryNameError, FIND_BISECTION_ALL, FIND_BISECTION_FIRST_PARENT_ONLY, FSCK_ERROR_BITMAP_243, FSCK_ERROR_COMMIT_GRAPH, FSCK_ERROR_MULTI_PACK_INDEX_243, FSCK_ERROR_OBJECT, FSCK_ERROR_PACK, FSCK_ERROR_PACK_REV_INDEX_243, FSCK_ERROR_REACHABLE, FSCK_ERROR_REFS, FSCK_MSG_IDS, FastForwardMode, FetchCommand, FetchIntoCheckedOutBranchError, FetchMultipleCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FormatPatchError, FsckCommand, FsckConfigError, FsckMessageTypes, GIT_DIFF_BIG_FILE_THRESHOLD, GRAPH_COLUMN_COLORS_ANSI, GarbageCollectCommand, Git, GitApiError, GitCommand, Gitmodules, GrepCommand, GrepEngine, GrepError, GrepPatternError, GuardedTransportCommand, HookFailedError, HookListCommand, HookRunCommand, HookSession, IdentityUnknownError, IncompatibleOptionsError, IndexLockFailedError, IndexRefresh, IndexVersionConfigError, InitCommand, InitOptionsError, InterpretTrailersCommand, InvalidArgumentError, InvalidConfigError, InvalidDateError, InvalidDefaultBranchError, InvalidIdentError, InvalidInitialBranchError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, LAZY_FETCH_DISABLED_WARNING, LOCAL_REPO_ENV, ListBranchCommand, ListBranchMode, ListTagCommand, LoadedSide, LogCommand, LogGraph, LogPrinter, LsRemoteCommand, MAX_GROUP_DEPTH, Mailmap, MergeBaseCommand, MergeCommand, MergeConflictError, MergeFailureReason, MergeOperation, MergeStatus, MergeStrategy, MissingArgumentError, MissingDefaultBranchValueError, MovedLineBuffer, MultipleParentsNotAllowedError, MvCommand, MvFailedError, NULL_OBJECT_ID, NameRevCommand, NoChangesSelectedError, NoFilepatternError, NoHeadError, NoMergeBaseError, NoMessageError, NoRebaseInProgressError, NoStagedChangesError, NonFastForwardError, NotACommitError, NotADirectoryError, NotFastForwardError, NotImplementedError, NotMergedError, NotesAddCommand, NotesAppendCommand, NotesCommands, NotesCopyCommand, NotesEditCommand, NotesError, NotesGetRefCommand, NotesListCommand, NotesMergeCommand, NotesPruneCommand, NotesRemoveCommand, NotesShowCommand, NotesSubcommand, NotesTree, PATCH_MODES, PRN_MODULO, PackRefsCommand, PathNotFoundInTreeError, PathNotInIndexError, PrettyFormatError, PullCommand, PushCommand, PushRejectedException, PushStatus, RANGE_DIFF_CREATION_FACTOR_DEFAULT, RANGE_DIFF_MAX_MEMORY_DEFAULT, RangeDiffBase, RangeDiffCommand, RangeDiffError, RangeDiffMemoryError, ReadTreeCommand, ReadTreeFailedError, RebaseAction, RebaseCommand, RebaseOperation, RebaseStatus, RebaseTodoMissingError, RefAlreadyExistsError, RefFilterError, RefFormat, RefKind, RefListingCommand, RefNotFoundError, RefUpdateStatus, ReflogCommand, ReinitializeHashError, RemergeTreeCommand, RemoteAddCommand, RemoteAlreadyExistsError, RemoteGetUrlCommand, RemoteListCommand, RemoteNotFoundError, RemotePruneCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetBranchesCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RemoteShowCommand, RemoteUpdateCommand, RenameBranchCommand, ResetCommand, ResetMode, ResetRefusedError, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevertStatus, RevisionError, RevisionResolver, RmCommand, RmFailedError, SHA1_ID_SHAPE, SHORTLOG_DEFAULT_WRAP, SIGNING_FAILED_LINES, STASH_REF, SUBMODULE_UNSET_ENV, SequencerOperation, SetUpstreamBranchCommand, Shortlog, ShortlogCommand, ShowCommand, ShowCurrentBranchCommand, SignatureVerificationError, SigningFailedError, SparseCheckoutCommand, StashApplyCommand, StashApplyFailedError, StashApplyStatus, StashBranchCommand, StashCreateCommand, StashDropCommand, StashInfoCommand, StashListCommand, StashNotFoundError, StashPathspecResetError, StashPopCommand, StashShowCommand, StashStoreCommand, StashWorktreeRemovalError, StatusCommand, StatusImpl, StatusPrinter, StoreNotAvailableError, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleCommandBase, SubmoduleCommandError, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleGitDirError, SubmoduleHeadMover, SubmoduleInitCommand, SubmoduleModel, SubmoduleRepository, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SubmoduleWalkError, SwitchCommand, SwitchRefusedError, TREESAME, TagCommand, TagOption, TrackMode, TransportCommand, TransportError, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownRefFormatError, UnknownStrategyOptionError, UnmergedPathsError, UnsetUpstreamBranchCommand, UpstreamRequiredError, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WORD_DIFF_MODES, WSEH_CONTEXT, WSEH_NEW, WSEH_OLD, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeError, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, WorktreesUnsupportedError, addRemoteOrGroup, amendWithTrailers, appendSignoff, appendTrailers, applyMailmapToHeader, applyStrategyOption, atomSource, attrPathOf, authorIdentOf, autoCommentCharLines, blobIdOf, blobSide, bufferIsBinary, bytesOf, bytesToLatin1, canonMode, checkAutoCommentChar, checkFilename, checkFlaggedEntries, checkPickaxeOptions, checkSignature, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, coloredHunkHeader, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, commitSubject, committerIdent, committerIdentOf, commonGitFileOf, compareBytes, compileCommitGrep, compileWordRegex, computeAssignment, computeDiffstat, configuredHookEntries, configuredHooks, conflictMarkerSizeOf, contentDriver, contentSide, countLines, createAddEntry, createCopyEntry, createDeleteEntry, createDescriber, createMergeDriver, createModifyEntry, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, createRenameEntry, createSshSigner, createSshVerifier, createSubmoduleAuthPolicy, cutLine, cutToLineRanges, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, defaultRemoteOf, diffColorSlotOf, diffDriverOf, diffEntryToPair, displayWidth, driverOf, ensureUtf8, estimateBisectSteps, exitCodeOfMessage, expandStringArg, favorOf, fetchFsckOf, fetchOutputText, fetchSucceeded, fillAheadBehind, fillIsBase, filterAndFormatRefs, filterRefs, findBisection, findExactMatches, findIdent, fmtMergeMsgConfigOf, formatAnnotate, formatBlame, formatBlameIncremental, formatBlamePorcelain, formatCommitPretty, formatDiffEntry, formatDirstat, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatRefDecorations, formatShortstat, formatStat, formatStatusPorcelain, formatStatusText, formatSubject, formatSummary, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, getCorrespondences, getFailedUpdates, getSuccessfulUpdates, gitCommitAfterHooks, gitCommitMessageHooks, gitFileOf, gitUrlBasename, graphColumnColors, grepNoIndex, grepPattern, grepPatternFile, guardSubmoduleTransports, handleRevisionArg, hasPickaxe, hasPromisorRemote, hasUpdates, hexIdAt, hookHostInGitDir, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, humanDate, humaniseBytes, identConfigOf, ignoredLogMessageBytes, indexFormatDefault, indexVersionConfigError, inputLines, installMergeDrivers, installPromisorFetcher, installTextconvRunner, interpretTrailers, isBisectSuccess, isConflictMarkerLine, isKnownHook, isMboxFromLine, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, isRelativeSubmoduleUrl, isRootRef, isValidBranchName, isValidRemoteName, joinFilesPath, latin1ToBytes, latin1ToPath, latin1ToText, lineRangesSpan, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, lstatKind, lstripRef, mailFromHeader, mailSubjectLine, maildirFilenameCompare, mailinfo, mailsplit, mailsplitFiles, managedSkipped, matchArgValue, matchBoolArg, mergeDriversOf, mergesMode, mergetagsOf, noIndexPair, nonCommitSwitchError, notFromUser, nullIdLike, openConfigFile, openSubmoduleRepository, orderByPatterns, orderRank, outputEncoderFor, parentIsDirectory, parseAtom, parseBufferSignedByHeader, parseColorMoved, parseColorMovedWs, parseColorSpec, parseColumnLayout, parseCommitBuffer, parseCommitLinks, parseDateMode, parseDirstatParams, parseExpiry, parseFetchRecurseSubmodules, parseFsckMsgId, parseGitDate, parseGitmodulesConfig, parseGpgOutput, parseIgnoredMode, parseMaybeBool, parseOrderFile, parsePushRecurseSubmodules, parseRangeDiffMaxMemory, parseRefSorting, parseRevisionAndPathArgs, parseRevisionArgs, parseShortlogGroup, parseShortlogWrap, parseSignature, parseSignedBuffer, parseSshOutput, parseStrategyOptions, parseSubmoduleDiffFormat, parseSubmoduleUpdateStrategy, parseTagBuffer, parseTrailerIfExists, parseTrailerIfMissing, parseTrailerWhere, parseUntrackedFilesMode, parseWhitespaceAction, parseWsErrorHighlight, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, physicalFilesPath, pprintRename, printColumns, processTrailers, promisorOf, promisorRemotes, promptIndex, pushOutputText, pushSucceeded, quarantineEnv, quoteCStyleBody, quotePath, quoteRefValue, quoteTwo, rangeDiffNotesOptions, rawIdAt, readDiffColorSettings, readDiffSubmoduleConfig, readGitmodulesEntries, readMailmapBlob, readMailmapFile, readRangeDiffPatches, readRepositoryMailmap, readShortlogInput, readShowUntrackedFiles, readStoredObjectBytes, readSubmoduleDirt, receiveFsckOf, recordWrittenStat, reencodedCommitParts, refKindOf, refTransactionHookOf, reflogMessages, reflogSubject, refuseCommitSigning, registerPartialClone, relativeDate, relativeFilesPath, relativeUrl, remergeObjectsView, remoteFromUrl, remoteHookSession, removeSignatureHeaders, renamesValue, resolveAuthorIdent, resolveCommitterIdent, resolveFilesLinks, resolveIdentDate, resolveRelativeUrl, resolveSigning, restoreWorktreeHard, revisionMergeBases, rstripRef, runAddInteractive, runAddPatch, runCleanInteractive, runPatchSelection, runPathCheckout, runPostCheckoutHook, safeCreateLeadingDirectories, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, setInConfigFile, shellQuote, shortenRefName, shortenUnambiguousRef, shortlogIdent, showDate, showSubmoduleDiffSummary, signCommit, signPayload, signRequestOf, signatureFormatAt, signatureLetter, signatureStart, signerOf, signingConfigOf, signoffLine, skipAway, skipAwayIndex, sortRefs, splitIdent, splitMail, sqDequoteToArgv, sqQuote, sqQuoteArgv, statSummary, statusCommitInfo, strbufRtrim, strbufTrim, strictUrlOrigin, stripspace, submoduleHeader, submodulePathConfigOf, submoduleToken, submoduleUpdateTypeName, tagHeader, takeIndexWarnings, textToLatin1, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trackingSources, trailerConfigFromEntries, trailerConfigOf, trailerLinesOf, treeEntryId, trimTrailingSpaces, trustRank, unknownRevisionMessage, upPathOf, urlIsLocalNotSsh, utf8, validateSubmoduleGitDir, validateSubmodulePath, validateTrailerArgs, verifyCommitBytes, verifyFilename, verifyMergeSignature, verifyNonFilename, verifyTagBytes, versionCompare, walkTree, whitespaceRuleError, withoutCrud, worktreeHostPath, wrapText, writeColoredHunks, writeCombinedDiff, writeHeaderOnlyPatch, writePairCheck, writePairPatch, writeRangeDiff, writeWordDiffHunks, wsErrorHighlightOf };
|