@statewalker/vcs-commands 0.13.0 → 0.14.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/archive/archive-command.d.ts +6 -2
- package/dist/commands/archive/archive-command.d.ts.map +1 -1
- package/dist/commands/archive/remote-archive-command.d.ts +23 -1
- package/dist/commands/archive/remote-archive-command.d.ts.map +1 -1
- package/dist/commands/archive/upload-archive-writer.d.ts +11 -5
- package/dist/commands/archive/upload-archive-writer.d.ts.map +1 -1
- package/dist/commands/bundle/bundle-format.d.ts +6 -1
- package/dist/commands/bundle/bundle-format.d.ts.map +1 -1
- package/dist/commands/bundle/bundle-uri-host.d.ts +12 -1
- package/dist/commands/bundle/bundle-uri-host.d.ts.map +1 -1
- package/dist/commands/bundle/bundle-uri.d.ts +7 -1
- package/dist/commands/bundle/bundle-uri.d.ts.map +1 -1
- package/dist/commands/bundle/bundle-verify.d.ts +4 -1
- package/dist/commands/bundle/bundle-verify.d.ts.map +1 -1
- package/dist/commands/cat-file/cat-file-command.d.ts.map +1 -1
- package/dist/commands/check-ignore-command.d.ts.map +1 -1
- package/dist/commands/clone-command.d.ts +15 -0
- package/dist/commands/clone-command.d.ts.map +1 -1
- package/dist/commands/commit-command.d.ts +10 -1
- package/dist/commands/commit-command.d.ts.map +1 -1
- package/dist/commands/default-branch.d.ts +17 -3
- package/dist/commands/default-branch.d.ts.map +1 -1
- package/dist/commands/fetch-command.d.ts +2 -1
- package/dist/commands/fetch-command.d.ts.map +1 -1
- package/dist/commands/fsck/fsck-object-checks.d.ts.map +1 -1
- package/dist/commands/git-hooks.d.ts +3 -3
- package/dist/commands/git-hooks.d.ts.map +1 -1
- package/dist/commands/index.js +6 -6
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/local-transport.d.ts +11 -1
- package/dist/commands/local-transport.d.ts.map +1 -1
- package/dist/commands/ls-tree-command.d.ts +10 -0
- package/dist/commands/ls-tree-command.d.ts.map +1 -1
- package/dist/commands/merge-command.d.ts +11 -1
- package/dist/commands/merge-command.d.ts.map +1 -1
- package/dist/commands/merge-support.d.ts +19 -2
- package/dist/commands/merge-support.d.ts.map +1 -1
- package/dist/commands/plumbing-input.d.ts.map +1 -1
- package/dist/commands/promisor-remote-reply.d.ts +31 -4
- package/dist/commands/promisor-remote-reply.d.ts.map +1 -1
- package/dist/commands/promisor-remote.d.ts +8 -1
- package/dist/commands/promisor-remote.d.ts.map +1 -1
- package/dist/commands/push-command.d.ts.map +1 -1
- package/dist/commands/ref-filter/index.d.ts +1 -0
- package/dist/commands/ref-filter/index.d.ts.map +1 -1
- package/dist/commands/ref-filter/peel-limit.d.ts +8 -0
- package/dist/commands/ref-filter/peel-limit.d.ts.map +1 -0
- package/dist/commands/ref-filter/ref-filter.d.ts.map +1 -1
- package/dist/commands/ref-filter/ref-format.d.ts.map +1 -1
- package/dist/commands/serve-repository.d.ts +4 -3
- package/dist/commands/serve-repository.d.ts.map +1 -1
- package/dist/commands/signing.d.ts +29 -2
- package/dist/commands/signing.d.ts.map +1 -1
- package/dist/commands/split-cmdline.d.ts +6 -0
- package/dist/commands/split-cmdline.d.ts.map +1 -0
- package/dist/{commands-CPceUCP2.js → commands-C9M78Chn.js} +1186 -1036
- package/dist/errors/commit-errors.d.ts +17 -1
- package/dist/errors/commit-errors.d.ts.map +1 -1
- package/dist/errors/index.js +18 -3
- package/dist/{fsck-tbrPZX2q.js → fsck-C4US3l0B.js} +2 -2
- package/dist/index.js +7 -7
- package/dist/{maintenance-run-command-UiSIaeP8.js → maintenance-run-command-CoJFKr2p.js} +84 -32
- package/dist/{remote-transport-C0OSJtor.js → remote-transport-C43eykfK.js} +51 -16
- package/dist/results/index.js +1 -1
- package/dist/{results-CkS1p1CH.js → results-B0CWLCAp.js} +371 -53
- package/dist/transport-command.d.ts +3 -0
- package/dist/transport-command.d.ts.map +1 -1
- package/package.json +21 -13
- package/src/commands/archive/archive-command.ts +7 -3
- package/src/commands/archive/remote-archive-command.ts +37 -3
- package/src/commands/archive/upload-archive-writer.ts +34 -22
- package/src/commands/bundle/bundle-format.ts +10 -2
- package/src/commands/bundle/bundle-uri-host.ts +71 -11
- package/src/commands/bundle/bundle-uri.ts +11 -4
- package/src/commands/bundle/bundle-verify.ts +4 -1
- package/src/commands/cat-file/cat-file-command.ts +1 -33
- package/src/commands/check-ignore-command.ts +60 -15
- package/src/commands/clone-command.ts +89 -11
- package/src/commands/commit-command.ts +42 -7
- package/src/commands/default-branch.ts +19 -5
- package/src/commands/fetch-command.ts +13 -2
- package/src/commands/fsck/fsck-object-checks.ts +3 -1
- package/src/commands/git-hooks.ts +11 -5
- package/src/commands/init-command.ts +24 -4
- package/src/commands/local-transport.ts +53 -9
- package/src/commands/ls-tree-command.ts +20 -12
- package/src/commands/merge-command.ts +32 -8
- package/src/commands/merge-support.ts +42 -4
- package/src/commands/plumbing-input.ts +3 -1
- package/src/commands/promisor-remote-reply.ts +338 -56
- package/src/commands/promisor-remote.ts +25 -3
- package/src/commands/push-command.ts +5 -1
- package/src/commands/read-tree-command.ts +2 -2
- package/src/commands/ref-filter/index.ts +1 -0
- package/src/commands/ref-filter/peel-limit.ts +7 -0
- package/src/commands/ref-filter/ref-filter.ts +9 -3
- package/src/commands/ref-filter/ref-format.ts +2 -1
- package/src/commands/serve-repository.ts +8 -3
- package/src/commands/signing.ts +93 -10
- package/src/commands/split-cmdline.ts +32 -0
- package/src/errors/commit-errors.ts +24 -2
- package/src/transport-command.ts +31 -1
|
@@ -7,13 +7,29 @@ import { GitApiError } from "./git-api-error.js";
|
|
|
7
7
|
export declare class NoMessageError extends GitApiError {
|
|
8
8
|
constructor(message?: string);
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* builtin/commit.c's `empty_amend_advice`: what `git commit --amend` prints on stderr when
|
|
12
|
+
* the amended commit would have its first parent's tree (the same text in 2.43 and 2.5x).
|
|
13
|
+
*/
|
|
14
|
+
export declare const EMPTY_AMEND_ADVICE: string;
|
|
10
15
|
/**
|
|
11
16
|
* Thrown when trying to create an empty commit without allow-empty.
|
|
12
17
|
*
|
|
18
|
+
* git's prepare_to_commit refuses it with exit status 1, printing the status of what would
|
|
19
|
+
* be committed on stdout ({@link stdout}, `git commit --dry-run`'s text) and, when amending,
|
|
20
|
+
* {@link EMPTY_AMEND_ADVICE} on stderr ({@link stderr}, also the message then).
|
|
21
|
+
*
|
|
13
22
|
* Based on JGit's EmptyCommitException.
|
|
14
23
|
*/
|
|
15
24
|
export declare class EmptyCommitError extends GitApiError {
|
|
16
|
-
|
|
25
|
+
/** git's stdout: the status run_status prints before the refusal (when computed) */
|
|
26
|
+
readonly stdout?: string;
|
|
27
|
+
/** git's stderr: the amend advice, or nothing */
|
|
28
|
+
readonly stderr: string;
|
|
29
|
+
constructor(message?: string, output?: {
|
|
30
|
+
stdout?: string;
|
|
31
|
+
stderr?: string;
|
|
32
|
+
});
|
|
17
33
|
}
|
|
18
34
|
/**
|
|
19
35
|
* Thrown when there are unmerged paths that prevent commit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commit-errors.d.ts","sourceRoot":"","sources":["../../src/errors/commit-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,YAAY,OAAO,CAAC,EAAE,MAAM,EAG3B;CACF;AAED
|
|
1
|
+
{"version":3,"file":"commit-errors.d.ts","sourceRoot":"","sources":["../../src/errors/commit-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,YAAY,OAAO,CAAC,EAAE,MAAM,EAG3B;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAGyB,CAAC;AAEzD;;;;;;;;GAQG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,oFAAoF;IACpF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,iDAAiD;IACjD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,YAAY,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,EAO1E;CACF;AAED;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAEzB,YAAY,KAAK,GAAE,MAAM,EAAO,EAAE,OAAO,CAAC,EAAE,MAAM,EAIjD;CACF;AAED;;;;GAIG;AACH,qBAAa,oBAAqB,SAAQ,WAAW;IAEjD,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAD3B,YACW,QAAQ,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,YAAY,EAIvB;CACF"}
|
package/dist/errors/index.js
CHANGED
|
@@ -453,14 +453,29 @@ var NoMessageError = class extends GitApiError {
|
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
/**
|
|
456
|
+
* builtin/commit.c's `empty_amend_advice`: what `git commit --amend` prints on stderr when
|
|
457
|
+
* the amended commit would have its first parent's tree (the same text in 2.43 and 2.5x).
|
|
458
|
+
*/
|
|
459
|
+
const EMPTY_AMEND_ADVICE = "You asked to amend the most recent commit, but doing so would make\nit empty. You can repeat your command with --allow-empty, or you can\nremove the commit entirely with \"git reset HEAD^\".\n";
|
|
460
|
+
/**
|
|
456
461
|
* Thrown when trying to create an empty commit without allow-empty.
|
|
457
462
|
*
|
|
463
|
+
* git's prepare_to_commit refuses it with exit status 1, printing the status of what would
|
|
464
|
+
* be committed on stdout ({@link stdout}, `git commit --dry-run`'s text) and, when amending,
|
|
465
|
+
* {@link EMPTY_AMEND_ADVICE} on stderr ({@link stderr}, also the message then).
|
|
466
|
+
*
|
|
458
467
|
* Based on JGit's EmptyCommitException.
|
|
459
468
|
*/
|
|
460
469
|
var EmptyCommitError = class extends GitApiError {
|
|
461
|
-
|
|
462
|
-
|
|
470
|
+
/** git's stdout: the status run_status prints before the refusal (when computed) */
|
|
471
|
+
stdout;
|
|
472
|
+
/** git's stderr: the amend advice, or nothing */
|
|
473
|
+
stderr;
|
|
474
|
+
constructor(message, output) {
|
|
475
|
+
super(message ?? (output?.stderr ? output.stderr.replace(/\n$/, "") : "Nothing to commit"), { exitCode: 1 });
|
|
463
476
|
this.name = "EmptyCommitError";
|
|
477
|
+
this.stdout = output?.stdout;
|
|
478
|
+
this.stderr = output?.stderr ?? "";
|
|
464
479
|
}
|
|
465
480
|
};
|
|
466
481
|
/**
|
|
@@ -978,4 +993,4 @@ var BranchUsedByWorktreeError = class extends GitApiError {
|
|
|
978
993
|
}
|
|
979
994
|
};
|
|
980
995
|
//#endregion
|
|
981
|
-
export { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CheckoutIndexFailedError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DescribeError, DetachedHeadError, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MktagFailedError, 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, UpdateIndexFailedError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage };
|
|
996
|
+
export { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CheckoutIndexFailedError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DescribeError, DetachedHeadError, EMPTY_AMEND_ADVICE, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MktagFailedError, 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, UpdateIndexFailedError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransportError } from "./errors/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cu as configBool, ju as RemoteConfigStore, lu as configValue, sc as hasPromisorRemote, yu as hostEnvironmentOf, za as GitCommand } from "./results-B0CWLCAp.js";
|
|
3
3
|
import { ObjectIdMismatchError, PACK_ENTRY_HEAD_MAX, PACK_MAX_CHAIN, PACK_MAX_OBJECT_SIZE, PACK_SCAN_MAX, PromisorObjectReadError, badPackIntIdAt, commitGraphCompatible, graftFileBaseDir, graftFileReader, inflateExactly, isDotGitComponent, isGitWorktreeFile, isNtfsGitWorktreeFile, isSymbolicRef, isValidRefName, loadMultiPackIndex, objectFormatOf, objectsWithoutLazyFetch, openPack, packEntryOrder, packIdxLookups, parseGraftFile, parseGraphCommit, parsePackEntryHead, readCommitGraph, readPackIndex, runSteps, scanPackObjects, verifyCommitGraph, verifyReverseIndexFile } from "@statewalker/vcs-core";
|
|
4
4
|
import { decodeGitPath } from "@statewalker/vcs-utils/encoding";
|
|
5
5
|
import { IndexCorruptError, parseCacheTree, parseResolveUndo, readIndexFileEntries } from "@statewalker/vcs-working-tree";
|
|
@@ -503,7 +503,7 @@ function fsckTree(buf, types, report, onDecodeError, found, table, shape = SHA1_
|
|
|
503
503
|
}
|
|
504
504
|
if (!plain) {
|
|
505
505
|
const entryId = () => bytesToHex$2(buf.subarray(idAt, idAt + raw));
|
|
506
|
-
const text =
|
|
506
|
+
const text = decodeGitPath(buf.subarray(start, end));
|
|
507
507
|
hasDot ||= text === ".";
|
|
508
508
|
hasDotdot ||= text === "..";
|
|
509
509
|
hasDotgit ||= isDotGitComponent(text);
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as parseGitmodulesConfig, C as fsckBlob, D as hexIdAt, E as fsckTree, F as walkTree, M as rawIdAt, N as scanTree, O as parseCommitBuffer, P as treeEntryId, S as checkSubmoduleUrl, T as fsckTag, _ as UnknownFsckMsgIdError, a as FSCK_ERROR_MULTI_PACK_INDEX_243, b as canonMode, c as FSCK_ERROR_PACK_REV_INDEX_243, d as FsckCommand, f as FsckConfigError, g as FsckMessageTypes, h as FSCK_MSG_IDS, i as FSCK_ERROR_COMMIT_GRAPH, j as parseTagBuffer, k as parseCommitLinks, 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 parseFsckMsgId, w as fsckCommit, x as checkSubmoduleName, y as SHA1_ID_SHAPE } from "./fsck-
|
|
2
|
-
import { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CheckoutIndexFailedError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DescribeError, DetachedHeadError, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MktagFailedError, 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, UpdateIndexFailedError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage } from "./errors/index.js";
|
|
3
|
-
import { $ as submoduleToken, $
|
|
4
|
-
import { $ as RefsMigrateCommand, $n as
|
|
5
|
-
import { $ as relativeFilesPath, $t as
|
|
6
|
-
import { A as V3_BUNDLE_SIGNATURE, C as WorktreePruneCommand, D as openBundle, E as bundleBytes, M as listBundleRefs, N as parseBundleHeader, O as verifyBundleIn, S as GarbageCollectCommand, T as withBundleUploadPack, _ as remoteHookSession, j as encodeBundleHeader, k as V2_BUNDLE_SIGNATURE, m as quarantineEnv, p as httpBackendEnv, w as BundlePrerequisitesError, x as ReadTreeCommand } from "./remote-transport-
|
|
7
|
-
export { ATOM_NAMES, AddCommand, AddFailedError, AmCommand, ApplyCommand, ApplyEngine, ArchiveCommand, AuthenticationError, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameColorError, BlameCommand, BranchUsedByWorktreeError, BundleCommandBase, BundleCreateCommand, BundleList, BundleListHeadsCommand, BundlePrerequisitesError, BundleUnbundleCommand, BundleVerifyCommand, COLOR_MOVED_MODE_ERROR, COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, CREATION_FACTOR_FOR_THE_SAME_SERIES, CannotDeleteCurrentBranchError, CatFileCommand, ChangeType, CheckAttrCommand, CheckIgnoreCommand, CheckMailmapCommand, CheckRefFormatCommand, CheckoutCommand, CheckoutIndexCommand, CheckoutIndexFailedError, CheckoutStage, CheckoutStatus, CherryCommand, CherryPickCommand, CherryPickStatus, CleanCommand, CleanupMode, CloneCheckoutError, CloneCommand, CloneDestinationError, CommitCommand, CommitFilters, CommitNotFoundError, ConfigCommand, ContentMergeStrategy, CopyBranchCommand, CorruptTreeError, CountObjectsCommand, CreateBranchCommand, DEFAULT_BATCH_FORMAT, 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, DiffFilesCommand, DiffFormatter, DiffIndexCommand, DiffPairsCommand, DiffPickaxe, DiffPlumbingCommand, DiffTreeCommand, EditBranchDescriptionCommand, EmptyCommitError, EmptyTreeEntryNameError, ExternalDiffDiedError, ExternalDiffTempFiles, 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, FSMONITOR_DAEMON_IPC_NAME, FastExportCommand, FastForwardMode, FastImportCommand, FetchCommand, FetchIntoCheckedOutBranchError, FetchMultipleCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FormatPatchError, FormatRevCommand, FsckCommand, FsckConfigError, FsckMessageTypes, GIT_DIFF_BIG_FILE_THRESHOLD, GIT_VARIABLES, GRAPH_COLUMN_COLORS_ANSI, GarbageCollectCommand, Git, GitApiError, GitCommand, Gitmodules, GrepCommand, GrepEngine, GrepError, GrepPatternError, GuardedTransportCommand, HistoryCommandBase, HistoryRewordCommand, HistorySplitCommand, HookFailedError, HookListCommand, HookRunCommand, HookSession, INTERNAL_GZIP_COMMAND, 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, LFS_DEFAULT_COMPATIBILITY, LFS_URL_UNKNOWN, LOCAL_REPO_ENV, LastModifiedCommand, LfsConfig, LfsEndpointCommand, ListBranchCommand, ListBranchMode, ListTagCommand, LoadedSide, LogCommand, LogGraph, LogPrinter, LsFilesCommand, LsRemoteCommand, LsTreeCommand, MAINTENANCE_TASKS, MAX_GROUP_DEPTH, Mailmap, MaintenanceRunCommand, MergeBaseCommand, MergeCommand, MergeConflictError, MergeDriverCommandMissingError, MergeDriverFailedError, MergeFailureReason, MergeOperation, MergeStatus, MergeStrategy, MergeTreeCommand, MissingArgumentError, MissingDefaultBranchValueError, MktagCommand, MktagFailedError, 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, PatchIdCommand, PathNotFoundInTreeError, PathNotInIndexError, PlumbingCommand, PlumbingError, PrettyFormatError, PruneCommand, 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, RefsExistsCommand, RefsMigrateCommand, RefsVerifyCommand, ReinitializeHashError, ReinitializeObjectStorageError, RemergeTreeCommand, RemoteAddCommand, RemoteAlreadyExistsError, RemoteArchiveCommand, RemoteGetUrlCommand, RemoteListCommand, RemoteNotFoundError, RemoteObjectInfoCommand, RemoteObjectInfoUnsupportedError, RemotePruneCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetBranchesCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RemoteShowCommand, RemoteUpdateCommand, RenameBranchCommand, RepackCommand, ReplaceCommand, ReplayCommand, RepoInfoCommand, RepoStructureCommand, RequestPullCommand, RerereCommand, RerereError, ResetCommand, ResetMode, ResetRefusedError, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevertStatus, RevisionError, RevisionResolver, RmCommand, RmFailedError, SHA1_ID_SHAPE, SHORTLOG_DEFAULT_WRAP, SIGNING_FAILED_LINES, SIGNING_KEYS, STASH_REF, SUBMODULE_UNSET_ENV, SequencerOperation, SetUpstreamBranchCommand, Shortlog, ShortlogCommand, ShowBranchCommand, ShowCommand, ShowCurrentBranchCommand, ShowIndexCommand, ShowRefCommand, SignatureVerificationError, SigningFailedError, SparseCheckoutCommand, StashApplyCommand, StashApplyFailedError, StashApplyStatus, StashBranchCommand, StashCreateCommand, StashDropCommand, StashExportCommand, StashImportCommand, StashInfoCommand, StashListCommand, StashNotFoundError, StashPathspecResetError, StashPopCommand, StashShowCommand, StashStoreCommand, StashWorktreeRemovalError, StatusCommand, StatusImpl, StatusPrinter, StoreNotAvailableError, StripspaceCommand, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleCommandBase, SubmoduleCommandError, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleGitDirError, SubmoduleHeadMover, SubmoduleInitCommand, SubmoduleModel, SubmoduleRepository, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SubmoduleWalkError, SwitchCommand, SwitchRefusedError, TREESAME, TagCommand, TagOption, TarArchiveWriter, TrackMode, TransportCommand, TransportError, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownObjectStorageFormatError, UnknownRefFormatError, UnknownStrategyOptionError, UnmergedPathsError, UnpackObjectsCommand, UnsetUpstreamBranchCommand, UnsupportedObjectStorageError, UpdateIndexCommand, UpdateIndexFailedError, UpstreamRequiredError, UrlParseCommand, V2_BUNDLE_SIGNATURE, V3_BUNDLE_SIGNATURE, VarCommand, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WORD_DIFF_MODES, WSEH_CONTEXT, WSEH_NEW, WSEH_OLD, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeError, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, WorktreesUnsupportedError, ZipArchiveWriter, acceptedPromisorRemotes, addRemoteOrGroup, amendWithTrailers, appendSignoff, appendTrailers, applyArchiveArgs, applyMailmapToHeader, applyStrategyOption, atomSource, attrPathOf, attributeWarningLine, authorIdentOf, autoCommentCharLines, blobIdOf, blobSide, bufferIsBinary, bundleBytes, bytesOf, bytesToLatin1, cUnquote, canonMode, checkAutoCommentChar, checkDefaultObjectStorage, checkFilename, checkFlaggedEntries, checkPackIndex, checkPickaxeOptions, checkRefFormat, checkSignature, checkSignatureWith, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, coloredHunkHeader, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, commentLines, commitSubject, committerIdent, committerIdentOf, commonGitFileOf, compareBytes, compileCommitGrep, compileWordRegex, computeAssignment, computeDiffstat, configuredHookEntries, configuredHooks, conflictMarkerSizeOf, contentDriver, contentSide, countLines, createAddEntry, createBundleUriHost, createCopyEntry, createDeleteEntry, createDescriber, createMergeDriver, createModifyEntry, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, createRenameEntry, createSshSigner, createSshVerifier, createSubmoduleAuthPolicy, cutLine, cutToLineRanges, daemonAccessHookOf, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, defaultRemoteOf, diffColorSlotOf, diffDriverOf, diffEntryToPair, diffOptsContext, displayWidth, dosTime, driverOf, encodeBundleHeader, encodePacketized, ensureUtf8, estimateBisectSteps, exitCodeOfMessage, expandBatchFormat, expandStringArg, externalDiffMetainfo, externalDiffProgramOf, favorOf, fetchBundleList, fetchBundleUri, fetchFsckOf, fetchOutputText, fetchSucceeded, fillAheadBehind, fillIsBase, filterAndFormatRefs, filterRefs, findBisection, findExactMatches, findIdent, fmtMergeMsgConfigOf, formatAnnotate, formatBlame, formatBlameIncremental, formatBlamePorcelain, formatCommitPretty, formatDiffEntry, formatDirstat, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatRawPair, formatRefDecorations, formatShortstat, formatStat, formatStatusPorcelain, formatStatusText, formatSubject, formatSummary, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, fsmonitorKeptEntries, getCorrespondences, getFailedUpdates, getSuccessfulUpdates, getTarCommitId, gitCommitAfterHooks, gitCommitMessageHooks, gitFileOf, gitRelativePath, gitUrlBasename, graphColumnColors, grepNoIndex, grepPattern, grepPatternFile, guardSubmoduleTransports, handleRevisionArg, hasPickaxe, hasPromisorRemote, hasUpdates, hexIdAt, hookHostInGitDir, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, httpClientSettingsOf, humanDate, humaniseBytes, humaniseBytesCompact, humaniseCount, identConfigOf, ignoredLogMessageBytes, inLinkedWorktree, indexFormatDefault, indexVersionConfigError, inputLines, installMergeDrivers, installPromisorFetcher, installTextconvRunner, interpretTrailers, isBisectSuccess, isBundle, isConflictMarkerLine, isKnownHook, isMboxFromLine, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, isRelativeSubmoduleUrl, isRootRef, isValidBranchName, isValidRemoteName, joinFilesPath, latin1ToBytes, latin1ToPath, latin1ToText, lineRangesSpan, listBundleRefs, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, lstatKind, lstripRef, mailFromHeader, mailSubjectLine, maildirFilenameCompare, mailinfo, mailsplit, mailsplitFiles, managedSkipped, marksFilesOf, matchArgValue, matchBoolArg, mergeDriversOf, mergesMode, mergetagsOf, noIndexPair, nonCommitSwitchError, normalizeConflicts, notFromUser, nullIdLike, objectsDirectoryDisplay, openBundle, openConfigFile, openSubmoduleRepository, orderByPatterns, orderRank, outputEncoderFor, packObjectsHookOf, parentIsDirectory, parseAtom, parseBatchFormat, parseBufferSignedByHeader, parseBundleHeader, parseBundleListConfig, parseBundleListLine, 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, patchIdsOfPatchText, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, physicalFilesPath, pprintRename, prefetchRefspecs, prefixedElement, printBundleList, printColumns, processTrailers, promisorOf, promisorRemoteReplyOf, promisorRemotes, promptIndex, pushOutputText, pushSucceeded, quarantineEnv, queryFsmonitorDaemon, 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, rerereClear, rerereDiff, rerereEngineOf, rerereForget, rerereGcLocation, rerereHostOf, rerereRemaining, rerereStatus, resolveAuthorIdent, resolveCommitterIdent, resolveFilesLinks, resolveIdentDate, resolveRelativeUrl, resolveSigning, restoreKeptEntries, restoreWorktreeHard, revisionMergeBases, rstripRef, runAddInteractive, runAddPatch, runArchiveWriter, runCleanInteractive, runPatchSelection, runPathCheckout, runPostCheckoutHook, runRerere, safeCreateLeadingDirectories, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, setInConfigFile, shellQuote, shortenRefName, shortenUnambiguousRef, shortlogIdent, showDate, showSubmoduleDiffSummary, signCommit, signPayload, signRequestOf, signTagCompat, signatureFormatAt, signatureLetter, signatureStart, signerOf, signingConfigFromEntries, signingConfigOf, signingKeyIdOf, signoffLine, skipAway, skipAwayIndex, sortRefs, splitIdent, splitMail, sqDequoteToArgv, sqQuote, sqQuoteArgv, statSummary, statusCommitInfo, strbufRtrim, strbufTrim, strictUrlOrigin, stripFileFromPath, stripspace, submoduleHeader, submoduleNotSupportedWarning, submodulePathConfigOf, submoduleToken, submoduleUpdateTypeName, tagHeader, takeIndexWarnings, textToLatin1, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trackingSources, trailerConfigFromEntries, trailerConfigOf, trailerLinesOf, treeEntryId, trimTrailingSpaces, trustRank, unknownObjectStorageFormat, unknownRevisionMessage, unsupportedAtom, upPathOf, updateBundleList, uploadArchiveWriterOf, urlIsLocalNotSsh, utf8, validateSubmoduleGitDir, validateSubmodulePath, validateTrailerArgs, verifyBundleIn, verifyCommitBytes, verifyFilename, verifyMergeSignature, verifyNonFilename, verifyTagBytes, versionCmp, versionCompare, walkTree, whitespaceRuleError, withBundleUploadPack, withoutCrud, worktreeHostPath, wrapText, writeColoredHunks, writeCombinedDiff, writeHeaderOnlyPatch, writePairCheck, writePairPatch, writeRangeDiff, writeWordDiffHunks, wsErrorHighlightOf };
|
|
1
|
+
import { A as parseGitmodulesConfig, C as fsckBlob, D as hexIdAt, E as fsckTree, F as walkTree, M as rawIdAt, N as scanTree, O as parseCommitBuffer, P as treeEntryId, S as checkSubmoduleUrl, T as fsckTag, _ as UnknownFsckMsgIdError, a as FSCK_ERROR_MULTI_PACK_INDEX_243, b as canonMode, c as FSCK_ERROR_PACK_REV_INDEX_243, d as FsckCommand, f as FsckConfigError, g as FsckMessageTypes, h as FSCK_MSG_IDS, i as FSCK_ERROR_COMMIT_GRAPH, j as parseTagBuffer, k as parseCommitLinks, 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 parseFsckMsgId, w as fsckCommit, x as checkSubmoduleName, y as SHA1_ID_SHAPE } from "./fsck-C4US3l0B.js";
|
|
2
|
+
import { AddFailedError, AuthenticationError, BranchUsedByWorktreeError, CannotDeleteCurrentBranchError, CheckoutIndexFailedError, CloneCheckoutError, CloneDestinationError, CommitNotFoundError, DescribeError, DetachedHeadError, EMPTY_AMEND_ADVICE, EmptyCommitError, EmptyTreeEntryNameError, FetchIntoCheckedOutBranchError, GitApiError, HookFailedError, IncompatibleOptionsError, IndexLockFailedError, InvalidArgumentError, InvalidConfigError, InvalidMainlineParentError, InvalidMergeHeadsError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, InvalidStashIndexError, InvalidTagNameError, MergeConflictError, MergeFailureReason, MissingArgumentError, MktagFailedError, 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, UpdateIndexFailedError, UpstreamRequiredError, WorktreeError, WorktreesUnsupportedError, exitCodeOfMessage } from "./errors/index.js";
|
|
3
|
+
import { $ as submoduleToken, $i as stripspace, $n as applyMailmapToHeader, $o as isConflictMarkerLine, $r as trailerLinesOf, $s as committerIdent, A as IndexRefresh, Aa as createAddEntry, Ac as ReinitializeObjectStorageError, Al as gitCommitMessageHooks, An as submoduleHeader, Ao as rerereGcLocation, Ar as combineNotesCatSortUniq, As as quoteCStyleBody, B as parseIgnoredMode, Ba as SIGNING_FAILED_LINES, Bc as IndexVersionConfigError, Bi as FastForwardMode, Bl as runPostCheckoutHook, Bn as parseSignature, Bo as mergeDriversOf, Br as amendWithTrailers, Bs as DEFAULT_DIFF_COLORS, C as patchRevisionOf, Ca as DiffPickaxe, Cc as readMailmapBlob, Ci as LogGraph, Cn as SubmoduleRepository, Co as unknownRevisionMessage, Cs as formatSummary, Ct as matchArgValue, Cu as resolveIdentDate, D as PATCH_MODES, Da as DiffFormatter, Dc as InvalidDefaultBranchError, Di as ApplyCommand, Dl as configuredHookEntries, Dn as readDiffSubmoduleConfig, Do as rerereDiff, Ds as utf8, Dt as relativeDate, Du as localTimezoneOffset, E as runAddPatch, Ea as parseOrderFile, El as commonGitFileOf, En as parseSubmoduleDiffFormat, Eo as rerereClear, Es as statSummary, Et as parseMaybeBool, F as hasPickaxe, Fa as DEFAULT_DIRSTAT, Fc as defaultBranchHint, Fi as latin1ToText, Fl as hookSettingsCheck, Fn as checkSignature, Fo as MergeDriverCommandMissingError, Fr as LogPrinter, Fs as WORD_DIFF_MODES, G as SubmoduleSummaryCommand, Ga as signCommit, Gl as encodePacketized, Gn as signatureFormatAt, Gr as interpretTrailers, Gs as WSEH_OLD, Gt as StashWorktreeRemovalError, H as readShowUntrackedFiles, Ha as SigningFailedError, Hc as indexVersionConfigError, Hi as MergeStrategy, Hl as sequencerPrepareMessage, Hn as parseSshOutput, Hr as appendTrailers, Hs as MovedLineBuffer, Ht as NoStagedChangesError, I as renamesValue, Ia as formatDirstat, Ic as defaultInitialBranch, Ii as pathToLatin1, Il as hookSettingsFromEntries, In as checkSignatureWith, Io as MergeDriverFailedError, Ir as mailFromHeader, Is as compileWordRegex, J as StatusPrinter, Ja as signTagCompat, Jn as verifyCommitBytes, Jr as parseTrailerWhere, Js as parseColorMoved, Jt as checkFlaggedEntries, Ka as signPayload, Kl as queryFsmonitorDaemon, Kn as signatureLetter, Kr as parseTrailerIfExists, Ks as coloredHunkHeader, Kt as WorkingCopyStashProvider, La as parseDirstatParams, Lc as defaultRefFormat, Li as textToLatin1, Ll as isKnownHook, Ln as mergetagsOf, Lo as createMergeDriver, Lr as mailSubjectLine, Ls as writeWordDiffHunks, M as DiffCommand, Ma as createDeleteEntry, Mc as UnknownRefFormatError, Mi as cUnquote, Ml as hookHostInGitDir, Mo as rerereRemaining, Mr as combineNotesIgnore, Ms as quoteTwo, N as checkPickaxeOptions, Na as createModifyEntry, Nc as UnsupportedObjectStorageError, Ni as latin1ToBytes, Nl as hookHostOf, Nn as SignatureVerificationError, No as rerereStatus, Nr as combineNotesOverwrite, Ns as cutToLineRanges, O as patchModeFor, Oa as diffEntryToPair, Oc as InvalidInitialBranchError, Oi as parseWhitespaceAction, Ol as configuredHooks, On as readGitmodulesEntries, Oo as rerereEngineOf, Os as writeHeaderOnlyPatch, Ot as sanitizedSubject, Ou as parseGitDate, P as formatDiffEntry, Pa as createRenameEntry, Pc as checkDefaultObjectStorage, Pi as latin1ToPath, Pl as hookRunnerOf, Pn as bytesOf, Po as runRerere, Ps as lineRangesSpan, Q as formatStatusPorcelain, Qa as signingKeyIdOf, Qn as GrepPatternError, Qo as conflictMarkerSizeOf, Qr as trailerConfigOf, Qs as wsErrorHighlightOf, Qt as restoreWorktreeHard, R as StatusCommand, Ra as writeCombinedDiff, Rc as isValidBranchName, Rl as nullIdLike, Rn as parseBufferSignedByHeader, Ro as installMergeDrivers, Rr as mergesMode, Rs as COLOR_MOVED_MODE_ERROR, S as runAddInteractive, Sa as decorateFullRefs, Sc as Mailmap, Si as GRAPH_COLUMN_COLORS_ANSI, Sn as NULL_OBJECT_ID, So as parseRevisionArgs, Ss as formatStat, St as loadRefDecorations, Su as resolveCommitterIdent, T as runPatchSelection, Ta as orderRank, Tc as readRepositoryMailmap, Tl as LOCAL_REPO_ENV, Tn as openSubmoduleRepository, To as normalizeConflicts, Ts as pprintRename, Tt as parseColorSpec, U as readSubmoduleDirt, Ua as refuseCommitSigning, Uc as takeIndexWarnings, Ui as isMergeSuccessful, Un as readStoredObjectBytes, Ur as formatTrailersOf, Us as WSEH_CONTEXT, Ut as StashCreateCommand, V as parseUntrackedFilesMode, Va as SIGNING_KEYS, Vc as indexFormatDefault, Vi as MergeStatus, Vl as sequencerPostCommit, Vn as parseSignedBuffer, Vr as appendSignoff, Vs as DIFF_COLOR_SLOTS, Vt as NoChangesSelectedError, W as submoduleNotSupportedWarning, Wa as resolveSigning, Wi as CleanupMode, Wl as FSMONITOR_DAEMON_IPC_NAME, Wn as removeSignatureHeaders, Wr as ignoredLogMessageBytes, Ws as WSEH_NEW, Wt as StashPathspecResetError, X as statusCommitInfo, Xa as signingConfigFromEntries, Xn as verifyTagBytes, Xr as signoffLine, Xs as parseWsErrorHighlight, Xt as recordWrittenStat, Y as formatStatusText, Ya as signerOf, Yn as verifyMergeSignature, Yr as processTrailers, Ys as parseColorMovedWs, Yt as fsmonitorKeptEntries, Z as StatusImpl, Za as signingConfigOf, Zn as CommitFilters, Zo as DEFAULT_CONFLICT_MARKER_SIZE, Zr as trailerConfigFromEntries, Zs as writeColoredHunks, Zt as restoreKeptEntries, _ as formatBlamePorcelain, _c as CorruptTreeError, _i as DEFAULT_DATE_MODE, _o as lstatExists, _s as formatNoIndexDiff, _t as PrettyFormatError, _u as committerIdentOf, a as PushStatus, ac as LAZY_FETCH_DISABLED_WARNING, an as STASH_REF, as as blobSide, at as ExternalDiffTempFiles, au as checkAutoCommentChar, ba as StashApplyStatus, bi as parseDateMode, bo as verifyNonFilename, bs as formatRawPair, bt as formatRefDecorations, bu as identConfigOf, c as isPullSuccessful, cc as installPromisorFetcher, cn as RevFilter, cs as contentSide, ct as readDiffColorSettings, d as hasUpdates, dc as registerPartialClone, ds as diffOptsContext, ei as validateTrailerArgs, eo as RevisionResolver, er as compileCommitGrep, es as writePairCheck, et as RevParseCommand, f as CherryPickStatus, fc as acceptedPromisorRemotes, fr as patchIdsOfPatchText, fs as displayWidth, fu as DEFAULT_IDENT, g as formatBlameIncremental, gc as httpClientSettingsOf, go as looksLikePathspec, gs as formatNameStatus, gu as authorIdentOf, h as formatBlame, hc as resetPromisorAcceptance, ho as checkFilename, hr as NotesError, hs as formatNameOnly, hu as InvalidIdentError, i as isRebaseSuccessful, in as StashApplyCommand, is as blobIdOf, it as ExternalDiffDiedError, iu as autoCommentCharLines, j as createPatchBackend, ja as createCopyEntry, jc as UnknownObjectStorageFormatError, ji as bytesToLatin1, jl as gitFileOf, jo as rerereHostOf, jr as combineNotesConcatenate, js as quotePath, k as promptIndex, ka as ChangeType, kc as MissingDefaultBranchValueError, ki as ApplyEngine, kl as gitCommitAfterHooks, kn as showSubmoduleDiffSummary, ko as rerereForget, kr as NotesTree, ks as writePairPatch, kt as wrapText, l as RefUpdateStatus, lc as promisorOf, ln as WorktreeListCommand, ls as countLines, lt as whitespaceRuleError, m as formatAnnotate, mc as promisorRemoteReplyOf, ms as externalDiffMetainfo, mu as InvalidDateError, n as RebaseAction, nc as reflogSubject, nn as ResetMode, nr as remergeObjectsView, ns as LoadedSide, nt as installTextconvRunner, o as getFailedUpdates, oc as createPromisorFetcher, on as StashListCommand, os as computeDiffstat, ot as externalDiffProgramOf, p as BlameColorError, pc as promisorAutoFilter, pn as parseExpiry, ps as driverOf, pu as IdentityUnknownError, qa as signRequestOf, qn as trustRank, qr as parseTrailerIfMissing, qs as diffColorSlotOf, qt as ResetCommand, r as RebaseStatus, rs as attrPathOf, rt as textconvRunnerOf, ru as AutoCommentCharRemovedError, s as isPushSuccessful, sc as hasPromisorRemote, sn as LogCommand, ss as contentDriver, st as DEFAULT_DECORATION_COLORS, t as RevertStatus, tc as reflogMessages, tn as ListBranchMode, to as TrackMode, tr as RemergeTreeCommand, ts as GIT_DIFF_BIG_FILE_THRESHOLD, tt as revisionMergeBases, u as getSuccessfulUpdates, uc as promisorRemotes, un as shortenUnambiguousRef, us as diffDriverOf, v as AddCommand, vi as DateModeError, vo as parseRevisionAndPathArgs, vs as formatNumstat, vt as expandStringArg, vu as findIdent, w as pathPatchMode, wa as orderByPatterns, wc as readMailmapFile, wi as graphColumnColors, wl as HookSession, wn as SubmoduleWalkError, wo as RerereError, ws as noIndexPair, wt as matchBoolArg, wu as withoutCrud, xa as createRefDecorationFilter, xi as showDate, xo as handleRevisionArg, xs as formatShortstat, xt as humanDate, xu as resolveAuthorIdent, yi as hostZoneName, yo as verifyFilename, ys as formatPatch, yt as formatCommitPretty, yu as hostEnvironmentOf, z as cutLine, za as GitCommand, zc as unknownObjectStorageFormat, zi as ContentMergeStrategy, zl as refTransactionHookOf, zn as parseGpgOutput, zr as reencodedCommitParts, zs as COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE } from "./results-B0CWLCAp.js";
|
|
4
|
+
import { $ as RefsMigrateCommand, $n as RemoteRenameCommand, $r as BackfillCommand, $t as RangeDiffError, A as createSshVerifier, An as SubmoduleCommandBase, Ar as unsupportedPathspecMagic, At as LsRemoteCommand, B as RequestPullCommand, Bn as shellQuote, Br as SetUpstreamBranchCommand, Bt as HookRunCommand, C as StashShowCommand, Ci as ensureUtf8, Cn as CloneCommand, Cr as CheckoutIndexCommand, Ct as NotesShowCommand, D as StashBranchCommand, Di as splitMail, Dn as RebaseOperation, Dr as CheckIgnoreCommand, Dt as MktagCommand, E as StashImportCommand, Ei as mailsplitFiles, En as RebaseCommand, Er as CheckMailmapCommand, Et as MvCommand, F as packObjectsHookOf, Fn as SubmoduleInitCommand, Fr as RemoteObjectInfoUnsupportedError, Ft as LastModifiedCommand, G as humaniseBytesCompact, Gn as ReinitializeHashError, Gr as CreateBranchCommand, Gt as FormatPatchCommand, H as RepoInfoCommand, Hn as RmCommand, Hr as EditBranchDescriptionCommand, Ht as HistoryRewordCommand, I as servedRepositoryOf, In as SubmoduleSetBranchCommand, Ir as DEFAULT_BATCH_FORMAT, It as LsFilesCommand, J as ReplaceCommand, Jn as SparseCheckoutCommand, Jr as RenameBranchCommand, Jt as RangeDiffCommand, K as humaniseCount, Kn as UnknownHashAlgorithmError, Kr as DeleteBranchCommand, Kt as FormatPatchError, L as RevertCommand, Ln as SubmoduleSetUrlCommand, Lr as expandBatchFormat, Lt as prefixedElement, M as ShowCommand, Mn as SubmoduleDeinitCommand, Mr as attributeWarningLine, Mt as LFS_DEFAULT_COMPATIBILITY, N as ShowBranchCommand, Nn as SubmoduleForeachCommand, Nr as CatFileCommand, Nt as LFS_URL_UNKNOWN, O as StashInfoCommand, Oi as mailinfo, On as SUBMODULE_UNSET_ENV, Or as LsTreeCommand, Ot as MergeTreeCommand, P as versionCmp, Pn as SubmoduleHeadMover, Pr as RemoteObjectInfoCommand, Pt as LfsConfig, Q as RefsExistsCommand, Qn as RemoteRemoveCommand, Qr as BlameCommand, Qt as RANGE_DIFF_MAX_MEMORY_DEFAULT, R as RestoreCommand, Rn as SubmoduleSyncCommand, Rr as parseBatchFormat, Rt as InterpretTrailersCommand, S as StashStoreCommand, Si as AmCommand, Sn as ConfigCommand, Sr as CherryCommand, St as NotesRemoveCommand, T as StashExportCommand, Ti as maildirFilenameCompare, Tn as SubmoduleUpdateCommand, Tr as checkRefFormat, Tt as NameRevCommand, U as RepoStructureCommand, Un as InitCommand, Ur as ShowCurrentBranchCommand, Ut as HistorySplitCommand, V as ShortlogCommand, Vr as UnsetUpstreamBranchCommand, Vt as HistoryCommandBase, W as gitRelativePath, Wn as InitOptionsError, Wr as CopyBranchCommand, Wt as FormatRevCommand, X as RemoteShowCommand, Xn as RemoteGetUrlCommand, Xr as ForEachRefCommand, Xt as CREATION_FACTOR_FOR_THE_SAME_SERIES, Y as RemotePruneCommand, Yn as RemoteAddCommand, Yr as DEFAULT_FOR_EACH_REF_FORMAT, Yt as rangeDiffNotesOptions, Z as trackingSources, Zn as RemoteListCommand, Zr as RefListingCommand, Zt as RANGE_DIFF_CREATION_FACTOR_DEFAULT, _ as SwitchCommand, _i as TarArchiveWriter, _n as DiffIndexCommand, _r as parseStrategyOptions, _t as NotesCopyCommand, a as WorktreeUnlockCommand, ai as ArchiveCommand, an as readRangeDiffPatches, ar as parseColumnLayout, at as pushSucceeded, b as StripspaceCommand, bi as Describer, bn as DescribeCommand, br as fmtMergeMsgConfigOf, bt as NotesListCommand, c as VerifyTagCommand, ci as dosTime, cn as FetchMultipleCommand, cr as CherryPickCommand, ct as PackRefsCommand, d as UrlParseCommand, di as DEFAULT_GREP_COLORS, dn as addRemoteOrGroup, dr as MergeOperation, dt as CountObjectsCommand, ei as getTarCommitId, en as RangeDiffMemoryError, er as RemoteSetBranchesCommand, et as RefsVerifyCommand, f as UpdateIndexCommand, fi as GrepEngine, fn as FastImportCommand, fr as UNMERGED_FILES_MESSAGE, ft as checkPackIndex, g as TagCommand, gi as grepPatternFile, gn as DiffFilesCommand, gr as applyStrategyOption, gt as NotesAppendCommand, h as ListTagCommand, hi as grepPattern, hn as DiffPairsCommand, hr as UnknownStrategyOptionError, ht as NotesAddCommand, i as WorktreeLockCommand, ii as uploadArchiveWriterOf, in as parseRangeDiffMaxMemory, ir as CleanCommand, it as pushOutputText, j as createSshSigner, jn as SubmoduleCommandError, jr as CheckAttrCommand, jt as LfsEndpointCommand, k as StashDropCommand, ki as mailsplit, kn as SubmoduleAbsorbGitDirsCommand, kr as parseElementMagic, kt as MergeBaseCommand, l as GIT_VARIABLES, li as GrepCommand, ln as MAX_GROUP_DEPTH, lr as SequencerOperation, lt as ShowIndexCommand, m as DeleteTagCommand, mi as bufferIsBinary, mn as marksFilesOf, mr as favorOf, mt as NotesMergeCommand, n as WorktreeMoveCommand, ni as applyArchiveArgs, nn as getCorrespondences, nr as RemoteSetUrlCommand, nt as PushCommand, o as WorktreeAddCommand, oi as INTERNAL_GZIP_COMMAND, on as writeRangeDiff, or as printColumns, ot as PullCommand, p as UnpackObjectsCommand, pi as GrepError, pn as FastExportCommand, pr as UNRELATED_HISTORIES_MESSAGE, pt as NotesCommands, q as ReplayCommand, qn as Git, qr as ListBranchCommand, qt as RangeDiffBase, r as WorktreeRemoveCommand, ri as runArchiveWriter, rn as humaniseBytes, rr as isValidRemoteName, rt as parsePushRecurseSubmodules, s as VerifyCommitCommand, si as ZipArchiveWriter, sn as computeAssignment, sr as runCleanInteractive, st as PatchIdCommand, t as WorktreeRepairCommand, ti as RemoteArchiveCommand, tn as findExactMatches, tr as RemoteSetHeadCommand, tt as ShowRefCommand, u as VarCommand, ui as grepNoIndex, un as RemoteUpdateCommand, ur as MergeCommand, ut as PruneCommand, v as SubmoduleAddCommand, vi as DESCRIBE_MAX_TAGS, vn as DiffPlumbingCommand, vr as DEFAULT_MERGE_LOG_LENGTH, vt as NotesEditCommand, w as StashPopCommand, wi as isMboxFromLine, wn as SubmoduleStatusCommand, wr as CheckRefFormatCommand, wt as NotesSubcommand, x as commentLines, xi as createDescriber, xn as daemonAccessHookOf, xr as CommitCommand, xt as NotesPruneCommand, y as gitUrlBasename, yi as DescribeDeath, yn as DiffTreeCommand, yr as FmtMergeMsgCommand, yt as NotesGetRefCommand, z as RerereCommand, zn as notFromUser, zr as unsupportedAtom, zt as HookListCommand } from "./commands-C9M78Chn.js";
|
|
5
|
+
import { $ as relativeFilesPath, $t as BisectResetCommand, A as fetchBundleUri, An as nonCommitSwitchError, At as isRootRef, B as stripFileFromPath, Bt as signatureStart, C as strictUrlOrigin, Cn as findBisection, Ct as shortlogIdent, D as TransportCommand, Dn as CheckoutCommand, Dt as fillIsBase, E as PlumbingError, En as skipAwayIndex, Et as fillAheadBehind, F as BundleCommandBase, Ft as RefFormat, G as defaultRemoteOf, Gt as atomSource, H as Gitmodules, Ht as trimTrailingSpaces, I as BundleList, It as RefKind, J as lstatKind, Jt as RevListCommand, K as isRelativeSubmoduleUrl, Kt as parseAtom, L as parseBundleListConfig, Lt as lstripRef, M as BundleListHeadsCommand, Mn as checkoutPaths, Mt as refKindOf, N as BundleUnbundleCommand, Nn as runPathCheckout, Nt as sortRefs, O as createBundleUriHost, On as CheckoutStage, Ot as filterAndFormatRefs, P as BundleVerifyCommand, Pt as versionCompare, Q as physicalFilesPath, Qt as BisectReplayCommand, R as parseBundleListLine, Rt as rstripRef, S as guardSubmoduleTransports, Sn as estimateBisectSteps, St as readShortlogInput, T as PlumbingCommand, Tn as skipAway, Tt as compareBytes, U as SubmoduleGitDirError, Ut as quoteRefValue, V as updateBundleList, Vt as tagHeader, W as SubmoduleModel, Wt as ATOM_NAMES, X as parentIsDirectory, Xt as BisectLogCommand, Y as openConfigFile, Yt as BisectCommand, Z as parseSubmoduleUpdateStrategy, Zt as BisectNextCommand, _n as FIND_BISECTION_ALL, _t as formatSubject, a as ReflogCommand, an as BISECT_USAGE, at as setInConfigFile, bn as TREESAME, bt as parseShortlogGroup, c as GuardedTransportCommand, cn as isBisectSuccess, ct as upPathOf, d as fetchOutputText, dn as sqQuoteArgv, dt as validateSubmodulePath, en as BisectRunCommand, et as relativeUrl, f as fetchSucceeded, fn as strbufRtrim, ft as worktreeHostPath, gn as BisectNode, gt as commitSubject, h as toTrackingRefUpdate, hn as BisectGraph, ht as Shortlog, i as RepackCommand, in as BisectTermsCommand, it as safeCreateLeadingDirectories, j as isBundle, jn as pathCheckoutResult, jt as parseRefSorting, k as fetchBundleList, kn as CheckoutStatus, kt as filterRefs, l as FetchCommand, ln as sqDequoteToArgv, lt as urlIsLocalNotSsh, m as toTagMode, mn as BisectDie, mt as SHORTLOG_DEFAULT_WRAP, n as MaintenanceRunCommand, nn as BisectStartCommand, nt as resolveFilesLinks, o as inLinkedWorktree, on as BisectCode, ot as submodulePathConfigOf, p as prefetchRefspecs, pn as strbufTrim, pt as BundleCreateCommand, q as joinFilesPath, qt as MAX_REF_FILTER_PEEL_DEPTH, rn as BisectStateCommand, rt as resolveRelativeUrl, s as objectsDirectoryDisplay, sn as BisectEngine, st as submoduleUpdateTypeName, t as MAINTENANCE_TASKS, tn as BisectSkipCommand, tt as remoteFromUrl, u as TagOption, un as sqQuote, ut as validateSubmoduleGitDir, vn as FIND_BISECTION_FIRST_PARENT_ONLY, vt as inputLines, wn as managedSkipped, wt as splitIdent, x as createSubmoduleAuthPolicy, xn as UNINTERESTING, xt as parseShortlogWrap, y as parseFetchRecurseSubmodules, yn as PRN_MODULO, yt as outputEncoderFor, z as printBundleList, zt as shortenRefName } from "./maintenance-run-command-CoJFKr2p.js";
|
|
6
|
+
import { A as V3_BUNDLE_SIGNATURE, C as WorktreePruneCommand, D as openBundle, E as bundleBytes, M as listBundleRefs, N as parseBundleHeader, O as verifyBundleIn, S as GarbageCollectCommand, T as withBundleUploadPack, _ as remoteHookSession, j as encodeBundleHeader, k as V2_BUNDLE_SIGNATURE, m as quarantineEnv, p as httpBackendEnv, w as BundlePrerequisitesError, x as ReadTreeCommand } from "./remote-transport-C43eykfK.js";
|
|
7
|
+
export { ATOM_NAMES, AddCommand, AddFailedError, AmCommand, ApplyCommand, ApplyEngine, ArchiveCommand, AuthenticationError, AutoCommentCharRemovedError, BISECT_USAGE, BackfillCommand, BisectCode, BisectCommand, BisectDie, BisectEngine, BisectGraph, BisectLogCommand, BisectNextCommand, BisectNode, BisectReplayCommand, BisectResetCommand, BisectRunCommand, BisectSkipCommand, BisectStartCommand, BisectStateCommand, BisectTermsCommand, BlameColorError, BlameCommand, BranchUsedByWorktreeError, BundleCommandBase, BundleCreateCommand, BundleList, BundleListHeadsCommand, BundlePrerequisitesError, BundleUnbundleCommand, BundleVerifyCommand, COLOR_MOVED_MODE_ERROR, COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE, CREATION_FACTOR_FOR_THE_SAME_SERIES, CannotDeleteCurrentBranchError, CatFileCommand, ChangeType, CheckAttrCommand, CheckIgnoreCommand, CheckMailmapCommand, CheckRefFormatCommand, CheckoutCommand, CheckoutIndexCommand, CheckoutIndexFailedError, CheckoutStage, CheckoutStatus, CherryCommand, CherryPickCommand, CherryPickStatus, CleanCommand, CleanupMode, CloneCheckoutError, CloneCommand, CloneDestinationError, CommitCommand, CommitFilters, CommitNotFoundError, ConfigCommand, ContentMergeStrategy, CopyBranchCommand, CorruptTreeError, CountObjectsCommand, CreateBranchCommand, DEFAULT_BATCH_FORMAT, 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, DiffFilesCommand, DiffFormatter, DiffIndexCommand, DiffPairsCommand, DiffPickaxe, DiffPlumbingCommand, DiffTreeCommand, EMPTY_AMEND_ADVICE, EditBranchDescriptionCommand, EmptyCommitError, EmptyTreeEntryNameError, ExternalDiffDiedError, ExternalDiffTempFiles, 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, FSMONITOR_DAEMON_IPC_NAME, FastExportCommand, FastForwardMode, FastImportCommand, FetchCommand, FetchIntoCheckedOutBranchError, FetchMultipleCommand, FmtMergeMsgCommand, ForEachRefCommand, FormatPatchCommand, FormatPatchError, FormatRevCommand, FsckCommand, FsckConfigError, FsckMessageTypes, GIT_DIFF_BIG_FILE_THRESHOLD, GIT_VARIABLES, GRAPH_COLUMN_COLORS_ANSI, GarbageCollectCommand, Git, GitApiError, GitCommand, Gitmodules, GrepCommand, GrepEngine, GrepError, GrepPatternError, GuardedTransportCommand, HistoryCommandBase, HistoryRewordCommand, HistorySplitCommand, HookFailedError, HookListCommand, HookRunCommand, HookSession, INTERNAL_GZIP_COMMAND, 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, LFS_DEFAULT_COMPATIBILITY, LFS_URL_UNKNOWN, LOCAL_REPO_ENV, LastModifiedCommand, LfsConfig, LfsEndpointCommand, ListBranchCommand, ListBranchMode, ListTagCommand, LoadedSide, LogCommand, LogGraph, LogPrinter, LsFilesCommand, LsRemoteCommand, LsTreeCommand, MAINTENANCE_TASKS, MAX_GROUP_DEPTH, MAX_REF_FILTER_PEEL_DEPTH, Mailmap, MaintenanceRunCommand, MergeBaseCommand, MergeCommand, MergeConflictError, MergeDriverCommandMissingError, MergeDriverFailedError, MergeFailureReason, MergeOperation, MergeStatus, MergeStrategy, MergeTreeCommand, MissingArgumentError, MissingDefaultBranchValueError, MktagCommand, MktagFailedError, 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, PatchIdCommand, PathNotFoundInTreeError, PathNotInIndexError, PlumbingCommand, PlumbingError, PrettyFormatError, PruneCommand, 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, RefsExistsCommand, RefsMigrateCommand, RefsVerifyCommand, ReinitializeHashError, ReinitializeObjectStorageError, RemergeTreeCommand, RemoteAddCommand, RemoteAlreadyExistsError, RemoteArchiveCommand, RemoteGetUrlCommand, RemoteListCommand, RemoteNotFoundError, RemoteObjectInfoCommand, RemoteObjectInfoUnsupportedError, RemotePruneCommand, RemoteRemoveCommand, RemoteRenameCommand, RemoteSetBranchesCommand, RemoteSetHeadCommand, RemoteSetUrlCommand, RemoteShowCommand, RemoteUpdateCommand, RenameBranchCommand, RepackCommand, ReplaceCommand, ReplayCommand, RepoInfoCommand, RepoStructureCommand, RequestPullCommand, RerereCommand, RerereError, ResetCommand, ResetMode, ResetRefusedError, RestoreCommand, RevFilter, RevListCommand, RevParseCommand, RevertCommand, RevertStatus, RevisionError, RevisionResolver, RmCommand, RmFailedError, SHA1_ID_SHAPE, SHORTLOG_DEFAULT_WRAP, SIGNING_FAILED_LINES, SIGNING_KEYS, STASH_REF, SUBMODULE_UNSET_ENV, SequencerOperation, SetUpstreamBranchCommand, Shortlog, ShortlogCommand, ShowBranchCommand, ShowCommand, ShowCurrentBranchCommand, ShowIndexCommand, ShowRefCommand, SignatureVerificationError, SigningFailedError, SparseCheckoutCommand, StashApplyCommand, StashApplyFailedError, StashApplyStatus, StashBranchCommand, StashCreateCommand, StashDropCommand, StashExportCommand, StashImportCommand, StashInfoCommand, StashListCommand, StashNotFoundError, StashPathspecResetError, StashPopCommand, StashShowCommand, StashStoreCommand, StashWorktreeRemovalError, StatusCommand, StatusImpl, StatusPrinter, StoreNotAvailableError, StripspaceCommand, SubmoduleAbsorbGitDirsCommand, SubmoduleAddCommand, SubmoduleCommandBase, SubmoduleCommandError, SubmoduleDeinitCommand, SubmoduleForeachCommand, SubmoduleGitDirError, SubmoduleHeadMover, SubmoduleInitCommand, SubmoduleModel, SubmoduleRepository, SubmoduleSetBranchCommand, SubmoduleSetUrlCommand, SubmoduleStatusCommand, SubmoduleSummaryCommand, SubmoduleSyncCommand, SubmoduleUpdateCommand, SubmoduleWalkError, SwitchCommand, SwitchRefusedError, TREESAME, TagCommand, TagOption, TarArchiveWriter, TrackMode, TransportCommand, TransportError, UNINTERESTING, UNMERGED_FILES_MESSAGE, UNRELATED_HISTORIES_MESSAGE, UnknownFsckMsgIdError, UnknownHashAlgorithmError, UnknownObjectStorageFormatError, UnknownRefFormatError, UnknownStrategyOptionError, UnmergedPathsError, UnpackObjectsCommand, UnsetUpstreamBranchCommand, UnsupportedObjectStorageError, UpdateIndexCommand, UpdateIndexFailedError, UpstreamRequiredError, UrlParseCommand, V2_BUNDLE_SIGNATURE, V3_BUNDLE_SIGNATURE, VarCommand, VerifyCommitCommand, VerifyPackCommand, VerifyTagCommand, WORD_DIFF_MODES, WSEH_CONTEXT, WSEH_NEW, WSEH_OLD, WorkingCopyStashProvider, WorktreeAddCommand, WorktreeError, WorktreeListCommand, WorktreeLockCommand, WorktreeMoveCommand, WorktreePruneCommand, WorktreeRemoveCommand, WorktreeRepairCommand, WorktreeUnlockCommand, WorktreesUnsupportedError, ZipArchiveWriter, acceptedPromisorRemotes, addRemoteOrGroup, amendWithTrailers, appendSignoff, appendTrailers, applyArchiveArgs, applyMailmapToHeader, applyStrategyOption, atomSource, attrPathOf, attributeWarningLine, authorIdentOf, autoCommentCharLines, blobIdOf, blobSide, bufferIsBinary, bundleBytes, bytesOf, bytesToLatin1, cUnquote, canonMode, checkAutoCommentChar, checkDefaultObjectStorage, checkFilename, checkFlaggedEntries, checkPackIndex, checkPickaxeOptions, checkRefFormat, checkSignature, checkSignatureWith, checkSubmoduleName, checkSubmoduleUrl, checkoutPaths, coloredHunkHeader, combineNotesCatSortUniq, combineNotesConcatenate, combineNotesIgnore, combineNotesOverwrite, commentLines, commitSubject, committerIdent, committerIdentOf, commonGitFileOf, compareBytes, compileCommitGrep, compileWordRegex, computeAssignment, computeDiffstat, configuredHookEntries, configuredHooks, conflictMarkerSizeOf, contentDriver, contentSide, countLines, createAddEntry, createBundleUriHost, createCopyEntry, createDeleteEntry, createDescriber, createMergeDriver, createModifyEntry, createPatchBackend, createPromisorFetcher, createRefDecorationFilter, createRenameEntry, createSshSigner, createSshVerifier, createSubmoduleAuthPolicy, cutLine, cutToLineRanges, daemonAccessHookOf, decorateFullRefs, defaultBranchHint, defaultInitialBranch, defaultRefFormat, defaultRemoteOf, diffColorSlotOf, diffDriverOf, diffEntryToPair, diffOptsContext, displayWidth, dosTime, driverOf, encodeBundleHeader, encodePacketized, ensureUtf8, estimateBisectSteps, exitCodeOfMessage, expandBatchFormat, expandStringArg, externalDiffMetainfo, externalDiffProgramOf, favorOf, fetchBundleList, fetchBundleUri, fetchFsckOf, fetchOutputText, fetchSucceeded, fillAheadBehind, fillIsBase, filterAndFormatRefs, filterRefs, findBisection, findExactMatches, findIdent, fmtMergeMsgConfigOf, formatAnnotate, formatBlame, formatBlameIncremental, formatBlamePorcelain, formatCommitPretty, formatDiffEntry, formatDirstat, formatNameOnly, formatNameStatus, formatNoIndexDiff, formatNumstat, formatPatch, formatRawPair, formatRefDecorations, formatShortstat, formatStat, formatStatusPorcelain, formatStatusText, formatSubject, formatSummary, formatTrailersOf, fsckBlob, fsckCommit, fsckTag, fsckTree, fsmonitorKeptEntries, getCorrespondences, getFailedUpdates, getSuccessfulUpdates, getTarCommitId, gitCommitAfterHooks, gitCommitMessageHooks, gitFileOf, gitRelativePath, gitUrlBasename, graphColumnColors, grepNoIndex, grepPattern, grepPatternFile, guardSubmoduleTransports, handleRevisionArg, hasPickaxe, hasPromisorRemote, hasUpdates, hexIdAt, hookHostInGitDir, hookHostOf, hookRunnerOf, hookSettingsCheck, hookSettingsFromEntries, hostEnvironmentOf, hostZoneName, httpBackendEnv, httpClientSettingsOf, humanDate, humaniseBytes, humaniseBytesCompact, humaniseCount, identConfigOf, ignoredLogMessageBytes, inLinkedWorktree, indexFormatDefault, indexVersionConfigError, inputLines, installMergeDrivers, installPromisorFetcher, installTextconvRunner, interpretTrailers, isBisectSuccess, isBundle, isConflictMarkerLine, isKnownHook, isMboxFromLine, isMergeSuccessful, isPullSuccessful, isPushSuccessful, isRebaseSuccessful, isRelativeSubmoduleUrl, isRootRef, isValidBranchName, isValidRemoteName, joinFilesPath, latin1ToBytes, latin1ToPath, latin1ToText, lineRangesSpan, listBundleRefs, loadRefDecorations, localTimezoneOffset, looksLikePathspec, lstatExists, lstatKind, lstripRef, mailFromHeader, mailSubjectLine, maildirFilenameCompare, mailinfo, mailsplit, mailsplitFiles, managedSkipped, marksFilesOf, matchArgValue, matchBoolArg, mergeDriversOf, mergesMode, mergetagsOf, noIndexPair, nonCommitSwitchError, normalizeConflicts, notFromUser, nullIdLike, objectsDirectoryDisplay, openBundle, openConfigFile, openSubmoduleRepository, orderByPatterns, orderRank, outputEncoderFor, packObjectsHookOf, parentIsDirectory, parseAtom, parseBatchFormat, parseBufferSignedByHeader, parseBundleHeader, parseBundleListConfig, parseBundleListLine, parseColorMoved, parseColorMovedWs, parseColorSpec, parseColumnLayout, parseCommitBuffer, parseCommitLinks, parseDateMode, parseDirstatParams, parseElementMagic, 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, patchIdsOfPatchText, patchModeFor, patchRevisionOf, pathCheckoutResult, pathPatchMode, pathToLatin1, physicalFilesPath, pprintRename, prefetchRefspecs, prefixedElement, printBundleList, printColumns, processTrailers, promisorAutoFilter, promisorOf, promisorRemoteReplyOf, promisorRemotes, promptIndex, pushOutputText, pushSucceeded, quarantineEnv, queryFsmonitorDaemon, 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, rerereClear, rerereDiff, rerereEngineOf, rerereForget, rerereGcLocation, rerereHostOf, rerereRemaining, rerereStatus, resetPromisorAcceptance, resolveAuthorIdent, resolveCommitterIdent, resolveFilesLinks, resolveIdentDate, resolveRelativeUrl, resolveSigning, restoreKeptEntries, restoreWorktreeHard, revisionMergeBases, rstripRef, runAddInteractive, runAddPatch, runArchiveWriter, runCleanInteractive, runPatchSelection, runPathCheckout, runPostCheckoutHook, runRerere, safeCreateLeadingDirectories, sanitizedSubject, scanTree, sequencerPostCommit, sequencerPrepareMessage, servedRepositoryOf, setInConfigFile, shellQuote, shortenRefName, shortenUnambiguousRef, shortlogIdent, showDate, showSubmoduleDiffSummary, signCommit, signPayload, signRequestOf, signTagCompat, signatureFormatAt, signatureLetter, signatureStart, signerOf, signingConfigFromEntries, signingConfigOf, signingKeyIdOf, signoffLine, skipAway, skipAwayIndex, sortRefs, splitIdent, splitMail, sqDequoteToArgv, sqQuote, sqQuoteArgv, statSummary, statusCommitInfo, strbufRtrim, strbufTrim, strictUrlOrigin, stripFileFromPath, stripspace, submoduleHeader, submoduleNotSupportedWarning, submodulePathConfigOf, submoduleToken, submoduleUpdateTypeName, tagHeader, takeIndexWarnings, textToLatin1, textconvRunnerOf, toTagMode, toTrackingRefUpdate, trackingSources, trailerConfigFromEntries, trailerConfigOf, trailerLinesOf, treeEntryId, trimTrailingSpaces, trustRank, unknownObjectStorageFormat, unknownRevisionMessage, unsupportedAtom, unsupportedPathspecMagic, upPathOf, updateBundleList, uploadArchiveWriterOf, urlIsLocalNotSsh, utf8, validateSubmoduleGitDir, validateSubmodulePath, validateTrailerArgs, verifyBundleIn, verifyCommitBytes, verifyFilename, verifyMergeSignature, verifyNonFilename, verifyTagBytes, versionCmp, versionCompare, walkTree, whitespaceRuleError, withBundleUploadPack, withoutCrud, worktreeHostPath, wrapText, writeColoredHunks, writeCombinedDiff, writeHeaderOnlyPatch, writePairCheck, writePairPatch, writeRangeDiff, writeWordDiffHunks, wsErrorHighlightOf };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as __exportAll, p as fetchFsckOf, x as checkSubmoduleName } from "./fsck-
|
|
1
|
+
import { I as __exportAll, p as fetchFsckOf, x as checkSubmoduleName } from "./fsck-C4US3l0B.js";
|
|
2
2
|
import { FetchIntoCheckedOutBranchError, GitApiError, IncompatibleOptionsError, InvalidArgumentError, InvalidConfigError, InvalidPathError, InvalidRefNameError, InvalidRemoteError, MissingArgumentError, NoHeadError, NotACommitError, RefAlreadyExistsError, RefFilterError, RefNotFoundError, RevisionError, SwitchRefusedError, TransportError as TransportError$1 } from "./errors/index.js";
|
|
3
|
-
import { $
|
|
4
|
-
import { C as WorktreePruneCommand, D as openBundle, E as bundleBytes, M as listBundleRefs, N as parseBundleHeader, O as verifyBundleIn, S as GarbageCollectCommand, a as protocolVersionOf, c as resolveRemote, d as withRemoteUploadPack, i as prepareRemote, j as encodeBundleHeader, n as httpSessionSettings, o as remoteContextOf, r as openResolvedRemote, t as bundleRemoteOf } from "./remote-transport-
|
|
3
|
+
import { $t as SubmoduleUnpack, Ao as rerereGcLocation, Bl as runPostCheckoutHook, C as patchRevisionOf, Cl as markIndexUpdate, Co as unknownRevisionMessage, Ct as matchArgValue, El as commonGitFileOf, Ft as removeBranchState, Hr as appendTrailers, Jl as coreBool, Jt as checkFlaggedEntries, M as DiffCommand, Ml as hookHostInGitDir, Ot as sanitizedSubject, Qt as restoreWorktreeHard, Sl as worktreePathRules, So as parseRevisionArgs, T as runPatchSelection, Tt as parseColorSpec, Tu as approxidateCareful$1, Ut as StashCreateCommand, Vo as ortConfigOptions, Wc as SparseUnpack, Xl as worktreeModeTrust, Xt as recordWrittenStat, Yo as stageZeroClashes, Yt as fsmonitorKeptEntries, Zt as restoreKeptEntries, _l as restoreCaseOptions, _n as shortBranchName, ai as matchPathspecSeen, al as overwriteMessage, an as STASH_REF, bi as parseDateMode, cl as removeDirectoryIfEmpty, co as installTracking, cu as configBool$2, dc as registerPartialClone, do as trackableStart, en as recursesIntoSubmodules, fa as rewriteIndex, fl as worktreeDiffers, gc as httpClientSettingsOf, gl as planTreeRestore, hc as resetPromisorAcceptance, hn as repositoryPlaceOf, ia as flatTree, ii as matchPathspec, il as flaggedEntryDiffers, in as StashApplyCommand, io as autoSetupRebase, jl as gitFileOf, jn as isSubmoduleIgnoreMode, ju as RemoteConfigStore, kt as wrapText, ku as deleteRefs, lc as promisorOf, li as pathspecErrors, lo as planTracking, lr as PathspecAttributes, lu as configValue, mc as promisorRemoteReplyOf, mn as refuseIfCheckedOut, nl as entryNotUptodate, oc as createPromisorFetcher, oi as parsePathspec, ol as pruneEmptyParents, or as MergeBaseGraph, pc as promisorAutoFilter, q as formatTrackingInfo, qc as pushSparseWarnings, qo as addLeadingDirs, rl as findInTheWay, rn as PathspecFile, sc as hasPromisorRemote, sn as LogCommand, so as guessRemoteBranch, sr as commitsBaseSource, su as bareAttributesResolver, ta as OperationState, tc as reflogMessages, ti as globalPathspecMagic, tt as revisionMergeBases, uc as promisorRemotes, un as shortenUnambiguousRef, uu as conflictStyleOf, va as updateIndexCacheTree, vl as writeTreeRestorePlan, vo as parseRevisionAndPathArgs, vt as expandStringArg, w as pathPatchMode, wt as matchBoolArg, xi as showDate, xl as withTreePathRefusal, xn as worktreeUsingBranch, xo as handleRevisionArg, yl as firstInvalidPath, yt as formatCommitPretty, yu as hostEnvironmentOf, za as GitCommand, zo as lowLevelMerge } from "./results-B0CWLCAp.js";
|
|
4
|
+
import { C as WorktreePruneCommand, D as openBundle, E as bundleBytes, M as listBundleRefs, N as parseBundleHeader, O as verifyBundleIn, S as GarbageCollectCommand, a as protocolVersionOf, c as resolveRemote, d as withRemoteUploadPack, i as prepareRemote, j as encodeBundleHeader, n as httpSessionSettings, o as remoteContextOf, r as openResolvedRemote, t as bundleRemoteOf } from "./remote-transport-C43eykfK.js";
|
|
5
5
|
import { FileMode, ObjectFilterError, PromisorFetchError, RefTransactionAbortedError, historyWithoutLazyFetch, isSymbolicRef, isValidBranchName, isValidRefName, objectFormatOf, parseCoreAbbrev, parseObjectFilter, writePack } from "@statewalker/vcs-core";
|
|
6
6
|
import { compareGitPaths, decodeGitPath, encodeGitPath, parseGitBool } from "@statewalker/vcs-utils/encoding";
|
|
7
7
|
import { AttributesMemo, attributesIndexOf, attributesSourceSetting, cacheTreeOfTree, collectChunks, entryStatOf, isIndexUnborn, wildmatch } from "@statewalker/vcs-working-tree";
|
|
@@ -9,7 +9,7 @@ import { approxidateCareful, compareGitPaths as compareGitPaths$1, decodeGitPath
|
|
|
9
9
|
import { atomicFilesOver } from "@statewalker/vcs-utils/files";
|
|
10
10
|
import { nullObjectIdLike as nullObjectIdLike$1 } from "@statewalker/vcs-utils/hash";
|
|
11
11
|
import { ConfigParseError, FileRawStorage, GitWorkingCopyConfig, ReflogExpiryAbortedError, ReflogExpiryConfigError, configFilesApiOf, dropReflogs, expireReflogs, geometricSplit, multiPackIndexExpire, multiPackIndexRepack, multiPackIndexWrite, packDeltaSearch, parseExpiryDate, prunePacked, readPackWriteSettings, readRepositoryFormat, repack, rerereGc, rerereGcNeeded, writeCommitGraph, writeReflogEntry } from "@statewalker/vcs-store-files";
|
|
12
|
-
import { FetchCheckError, GitTransportRegistry, NegotiateOnlyUnsupportedError, ObjectFormatMismatchError, SmartHttpClient, TransportError, anonymizeUrl, createDefaultTransports, createRepositoryFacade, createTransportRefStore, expandFromDestination, fetchFromConnection, fetchRefcolWidth, fetchUpdateDisplay, formatFetchDisplay, formatFetchHead, matchDestination, matchSource, negotiateOnly, negotiationAlgorithmOf, parseGitUrl, parseRefSpec, processSessionId, transportSummaryWidth, unpackLimitOf } from "@statewalker/vcs-transport";
|
|
12
|
+
import { FetchCheckError, GitTransportRegistry, NegotiateOnlyUnsupportedError, ObjectFormatMismatchError, ReceivedObjects, SmartHttpClient, TransportError, anonymizeUrl, checkReceivedPack, createDefaultTransports, createRepositoryFacade, createTransportRefStore, expandFromDestination, fetchFromConnection, fetchRefcolWidth, fetchUpdateDisplay, formatFetchDisplay, formatFetchHead, matchDestination, matchSource, negotiateOnly, negotiationAlgorithmOf, parseGitUrl, parseRefSpec, processSessionId, transportSummaryWidth, unpackLimitOf } from "@statewalker/vcs-transport";
|
|
13
13
|
import { collect } from "@statewalker/vcs-utils/streams";
|
|
14
14
|
//#region src/commands/checkout-paths.ts
|
|
15
15
|
/**
|
|
@@ -4794,6 +4794,15 @@ function compareBytes$2(a, b) {
|
|
|
4794
4794
|
}
|
|
4795
4795
|
async function* empty() {}
|
|
4796
4796
|
//#endregion
|
|
4797
|
+
//#region src/commands/ref-filter/peel-limit.ts
|
|
4798
|
+
/**
|
|
4799
|
+
* How many tags the ref filter peels through before it gives up. git's own peeling has no
|
|
4800
|
+
* bound, so a tag cycle made through replace refs (tag A replaced by tag B, which names A)
|
|
4801
|
+
* makes native `--points-at`, `--contains` and `%(*atom)` loop forever; ours stops here and
|
|
4802
|
+
* treats the chain as reaching nothing (statewalker/webrun-vcs#263).
|
|
4803
|
+
*/
|
|
4804
|
+
const MAX_REF_FILTER_PEEL_DEPTH = 1e3;
|
|
4805
|
+
//#endregion
|
|
4797
4806
|
//#region src/commands/ref-filter/ref-atoms.ts
|
|
4798
4807
|
/**
|
|
4799
4808
|
* The `%(atom)` table of git's ref-filter.c: each atom's name, what it reads (the ref alone,
|
|
@@ -6391,7 +6400,7 @@ function matchPattern(patterns, name, icase) {
|
|
|
6391
6400
|
/** The commit an object peels to (lookup_commit_reference_gently), undefined when none. */
|
|
6392
6401
|
async function commitOf(source, id) {
|
|
6393
6402
|
let current = id;
|
|
6394
|
-
for (let depth = 0; depth <
|
|
6403
|
+
for (let depth = 0; depth < MAX_REF_FILTER_PEEL_DEPTH; depth++) {
|
|
6395
6404
|
const object = await source.readObject(current);
|
|
6396
6405
|
if (!object) return void 0;
|
|
6397
6406
|
if (object.type === "commit") return current;
|
|
@@ -6401,12 +6410,17 @@ async function commitOf(source, id) {
|
|
|
6401
6410
|
current = target;
|
|
6402
6411
|
}
|
|
6403
6412
|
}
|
|
6404
|
-
/**
|
|
6413
|
+
/**
|
|
6414
|
+
* match_points_at: the ref's object, or one a tag on the way names, is wanted. A chain longer
|
|
6415
|
+
* than {@link MAX_REF_FILTER_PEEL_DEPTH} (a tag cycle through replace refs, where git loops
|
|
6416
|
+
* forever) does not match.
|
|
6417
|
+
*/
|
|
6405
6418
|
async function matchPointsAt(source, wanted, id, refname) {
|
|
6406
6419
|
if (wanted.has(id)) return true;
|
|
6407
6420
|
let object = await source.readObject(id);
|
|
6408
6421
|
let current = id;
|
|
6409
|
-
|
|
6422
|
+
for (let depth = 0; object && object.type === "tag"; depth++) {
|
|
6423
|
+
if (depth >= 1e3) return false;
|
|
6410
6424
|
const target = tagHeader(decodeGitPath$1(object.bytes)).object;
|
|
6411
6425
|
if (!target) {
|
|
6412
6426
|
object = void 0;
|
|
@@ -8449,23 +8463,11 @@ var BundleUnbundleCommand = class extends BundleReadCommand {
|
|
|
8449
8463
|
};
|
|
8450
8464
|
//#endregion
|
|
8451
8465
|
//#region src/commands/bundle/bundle-uri.ts
|
|
8452
|
-
/**
|
|
8453
|
-
* Bundle URIs on the client (bundle-uri.c): before a clone or a fetch talks to the remote,
|
|
8454
|
-
* bundles are downloaded from a URI (`git clone --bundle-uri`, `fetch.bundleURI`) or from the
|
|
8455
|
-
* list the server advertises (`transfer.bundleURI`, the v2 `bundle-uri` command) and
|
|
8456
|
-
* unbundled into the repository, their refs written under `refs/bundles/`. The fetch that
|
|
8457
|
-
* follows then has them as local tips, so it asks only for what they lack.
|
|
8458
|
-
*
|
|
8459
|
-
* The engine is the host's: {@link BundleUriHost} downloads a URI, unbundles bytes and reads
|
|
8460
|
-
* and writes `fetch.bundleCreationToken`. {@link fetchBundleUri} and {@link fetchBundleList}
|
|
8461
|
-
* follow git's walk, its recursion limit, `all`/`any` modes and the `creationToken`
|
|
8462
|
-
* heuristic, and give git's warnings in order.
|
|
8463
|
-
*/
|
|
8464
8466
|
/** bundle-uri.c's `max_bundle_uri_depth`. */
|
|
8465
8467
|
const MAX_BUNDLE_URI_DEPTH = 4;
|
|
8466
8468
|
/** Whether the bytes read as a bundle (`is_bundle`: the whole header parses). */
|
|
8467
|
-
function isBundle(bytes) {
|
|
8468
|
-
return parseBundleHeader(bytes).ok;
|
|
8469
|
+
function isBundle(bytes, objectFormat) {
|
|
8470
|
+
return parseBundleHeader(bytes, void 0, objectFormat).ok;
|
|
8469
8471
|
}
|
|
8470
8472
|
/**
|
|
8471
8473
|
* `fetch_bundle_uri_internal`: downloads `bundle`; a bundle is added to `global` (applied
|
|
@@ -8487,7 +8489,7 @@ async function fetchBundleUriInternal(host, bundle, depth, global) {
|
|
|
8487
8489
|
return false;
|
|
8488
8490
|
}
|
|
8489
8491
|
bundle.file = bytes;
|
|
8490
|
-
if (!isBundle(bytes)) {
|
|
8492
|
+
if (!isBundle(bytes, host.objectFormat)) {
|
|
8491
8493
|
const ok = await fetchBundleListInConfigFormat(host, global, bundle, bytes, depth);
|
|
8492
8494
|
if (!ok) {
|
|
8493
8495
|
bundle.file = null;
|
|
@@ -8554,7 +8556,7 @@ async function fetchBundlesByToken(host, list) {
|
|
|
8554
8556
|
bundle.unbundled = true;
|
|
8555
8557
|
direction = 1;
|
|
8556
8558
|
skipUnbundle = true;
|
|
8557
|
-
} else if (!bundle.file || !isBundle(bundle.file)) {
|
|
8559
|
+
} else if (!bundle.file || !isBundle(bundle.file, host.objectFormat)) {
|
|
8558
8560
|
host.message(`warning: file downloaded from '${bundle.uri}' is not a bundle`);
|
|
8559
8561
|
break;
|
|
8560
8562
|
}
|
|
@@ -8646,6 +8648,7 @@ function originOf(url) {
|
|
|
8646
8648
|
/** A host over a repository (see {@link BundleUriHostOptions}). */
|
|
8647
8649
|
function createBundleUriHost(options) {
|
|
8648
8650
|
const history = options.workingCopy.history;
|
|
8651
|
+
const objectFormat = options.objectFormat ?? objectFormatOf(history);
|
|
8649
8652
|
return {
|
|
8650
8653
|
async download(uri) {
|
|
8651
8654
|
if (/^https?:/.test(uri)) return downloadHttp(options, uri);
|
|
@@ -8653,7 +8656,7 @@ function createBundleUriHost(options) {
|
|
|
8653
8656
|
return options.readLocalFile(path).catch(() => void 0);
|
|
8654
8657
|
},
|
|
8655
8658
|
async unbundle(bytes) {
|
|
8656
|
-
const opened = openBundle(bytes, "<bundle>");
|
|
8659
|
+
const opened = openBundle(bytes, "<bundle>", objectFormat);
|
|
8657
8660
|
if (!opened.ok) return false;
|
|
8658
8661
|
const { header, pack } = opened.bundle;
|
|
8659
8662
|
const objects = historyWithoutLazyFetch(history);
|
|
@@ -8665,14 +8668,43 @@ function createBundleUriHost(options) {
|
|
|
8665
8668
|
for (const line of verified.stderr.split("\n")) if (line) options.message(line);
|
|
8666
8669
|
if (!verified.ok) return false;
|
|
8667
8670
|
const facade = createRepositoryFacade({ history: objects });
|
|
8671
|
+
const fsck = await options.fsckObjects?.();
|
|
8668
8672
|
let packId;
|
|
8669
8673
|
try {
|
|
8670
|
-
|
|
8674
|
+
if (fsck) {
|
|
8675
|
+
const received = new ReceivedObjects(objectFormat.rawLength);
|
|
8676
|
+
const { quarantine, ...imported } = await facade.importPack((async function* () {
|
|
8677
|
+
yield pack;
|
|
8678
|
+
})(), {
|
|
8679
|
+
keepPack: true,
|
|
8680
|
+
quarantine: true,
|
|
8681
|
+
onObject: (id, type, entry) => received.add(id, type, entry)
|
|
8682
|
+
});
|
|
8683
|
+
let committed = false;
|
|
8684
|
+
try {
|
|
8685
|
+
const checked = await checkReceivedPack(quarantine?.repository ?? facade, received, {
|
|
8686
|
+
fsck,
|
|
8687
|
+
links: false,
|
|
8688
|
+
shallow: /* @__PURE__ */ new Set(),
|
|
8689
|
+
kept: true,
|
|
8690
|
+
tail: null
|
|
8691
|
+
});
|
|
8692
|
+
for (const line of checked.messages) options.message(line);
|
|
8693
|
+
await quarantine?.commit();
|
|
8694
|
+
committed = true;
|
|
8695
|
+
} finally {
|
|
8696
|
+
if (!committed) await quarantine?.discard().catch(() => {});
|
|
8697
|
+
}
|
|
8698
|
+
packId = imported.packId;
|
|
8699
|
+
} else packId = (await facade.importPack((async function* () {
|
|
8671
8700
|
yield pack;
|
|
8672
8701
|
})(), { keepPack: true })).packId;
|
|
8673
8702
|
} catch (error) {
|
|
8674
|
-
|
|
8675
|
-
|
|
8703
|
+
if (error instanceof FetchCheckError) for (const line of error.lines) options.message(line);
|
|
8704
|
+
else {
|
|
8705
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
8706
|
+
options.message(message.startsWith("fatal: ") ? message : `fatal: ${message}`);
|
|
8707
|
+
}
|
|
8676
8708
|
options.message("error: index-pack died");
|
|
8677
8709
|
return false;
|
|
8678
8710
|
}
|
|
@@ -8699,6 +8731,7 @@ function createBundleUriHost(options) {
|
|
|
8699
8731
|
creationToken: () => options.configValue("fetch.bundleCreationToken"),
|
|
8700
8732
|
setCreationToken: (value) => options.setConfigValue("fetch.bundleCreationToken", value),
|
|
8701
8733
|
message: (line) => options.message(line),
|
|
8734
|
+
objectFormat,
|
|
8702
8735
|
...options.tempFileName ? { tempFileName: options.tempFileName } : {}
|
|
8703
8736
|
};
|
|
8704
8737
|
}
|
|
@@ -8791,13 +8824,15 @@ var TransportCommand = class extends GitCommand {
|
|
|
8791
8824
|
constructor(workingCopy) {
|
|
8792
8825
|
super(workingCopy);
|
|
8793
8826
|
this.aroundEntryPoints(() => {
|
|
8794
|
-
if (!this.transportRegistry && !this.credentials && !this.headers && this.timeout === void 0) return;
|
|
8827
|
+
if (!this.transportRegistry && !this.credentials && !this.headers && !this.credentialHelper && this.timeout === void 0) return;
|
|
8795
8828
|
const promisor = promisorOf(this._workingCopy);
|
|
8796
8829
|
if (!promisor) return void 0;
|
|
8797
8830
|
const previous = promisor.fetcher;
|
|
8798
8831
|
const fetcher = createPromisorFetcher(this._workingCopy, {
|
|
8799
8832
|
...this.promisorFetcherAuth(),
|
|
8800
|
-
...this.timeout !== void 0 ? { timeout: this.timeout } : {}
|
|
8833
|
+
...this.timeout !== void 0 ? { timeout: this.timeout } : {},
|
|
8834
|
+
...this.credentialHelper ? { credentialHelper: this.credentialHelper } : {},
|
|
8835
|
+
...this.warningCallback ? { warningCallback: this.warningCallback } : {}
|
|
8801
8836
|
});
|
|
8802
8837
|
promisor.setFetcher(fetcher);
|
|
8803
8838
|
return () => {
|
|
@@ -9072,7 +9107,20 @@ var TransportCommand = class extends GitCommand {
|
|
|
9072
9107
|
bundleUriHost(options) {
|
|
9073
9108
|
const store = RemoteConfigStore.from(this._workingCopy);
|
|
9074
9109
|
const worktree = repositoryPlaceOf(this._workingCopy);
|
|
9110
|
+
const environment = hostEnvironmentOf(this._workingCopy);
|
|
9075
9111
|
return createBundleUriHost({
|
|
9112
|
+
...options.objectFormat ? { objectFormat: options.objectFormat } : {},
|
|
9113
|
+
...options.compatibility !== "2.43" ? { fsckObjects: async () => {
|
|
9114
|
+
const { fetchFsckOf } = await import("./fsck-C4US3l0B.js").then((n) => n.t);
|
|
9115
|
+
return fetchFsckOf({
|
|
9116
|
+
value: (key) => /^fetch\.fsck\./i.test(key) ? void 0 : store.value(key),
|
|
9117
|
+
compatibility: options.compatibility,
|
|
9118
|
+
...environment ? {
|
|
9119
|
+
readFile: (path) => environment.readFile(path),
|
|
9120
|
+
home: environment.home
|
|
9121
|
+
} : {}
|
|
9122
|
+
});
|
|
9123
|
+
} } : {},
|
|
9076
9124
|
workingCopy: this._workingCopy,
|
|
9077
9125
|
setRef: (name, id, log) => this.refsStore.set(name, id, log),
|
|
9078
9126
|
getRef: async (name) => (await this.refsStore.resolve(name).catch(() => void 0))?.objectId,
|
|
@@ -10472,7 +10520,8 @@ var FetchCommand = class FetchCommand extends TransportCommand {
|
|
|
10472
10520
|
* (git's fetch_one_setup_partial); a filter given registers the remote as a promisor remote
|
|
10473
10521
|
* first when it is not one with a filter (partial_clone_register:
|
|
10474
10522
|
* `core.repositoryformatversion = 1`, `remote.<name>.promisor`, `.partialclonefilter`). A
|
|
10475
|
-
* pack fetched under a filter is kept as a promisor pack.
|
|
10523
|
+
* pack fetched under a filter is kept as a promisor pack. `auto` (git 2.54) is the filter
|
|
10524
|
+
* the promisor remotes accepted from the server's `promisor-remote` capability advertise.
|
|
10476
10525
|
*/
|
|
10477
10526
|
setFilter(spec) {
|
|
10478
10527
|
this.checkCallable();
|
|
@@ -10912,6 +10961,7 @@ var FetchCommand = class FetchCommand extends TransportCommand {
|
|
|
10912
10961
|
const tipsGiven = this.negotiationTipsGiven();
|
|
10913
10962
|
const negotiationTips = tipsGiven.length > 0 ? await this.resolveNegotiationTips(messages, tipsGiven) : void 0;
|
|
10914
10963
|
const unpackLimit = unpackLimitOf({ getAll: (key) => store.values(key) }, "fetch");
|
|
10964
|
+
resetPromisorAcceptance(this.workingCopy);
|
|
10915
10965
|
const fetchOptions = {
|
|
10916
10966
|
...sessionId !== void 0 ? { sessionId } : {},
|
|
10917
10967
|
...uriProtocolsOption(store.value("fetch.uriprotocols")),
|
|
@@ -10946,6 +10996,7 @@ var FetchCommand = class FetchCommand extends TransportCommand {
|
|
|
10946
10996
|
force: this.forceUpdate,
|
|
10947
10997
|
atomic: this.atomic || void 0,
|
|
10948
10998
|
...compatibility !== "2.43" ? { batchNonAtomic: true } : {},
|
|
10999
|
+
...compatibility !== "2.43" || this.atomic ? { emptyTransaction: true } : {},
|
|
10949
11000
|
dryRun: this.dryRun,
|
|
10950
11001
|
onProgress: this.progressMessageCallback,
|
|
10951
11002
|
...this.progress ? { progress: this.progress } : {},
|
|
@@ -10967,7 +11018,8 @@ var FetchCommand = class FetchCommand extends TransportCommand {
|
|
|
10967
11018
|
...negotiationAlgorithm !== "consecutive" ? { negotiationAlgorithm } : {},
|
|
10968
11019
|
...negotiationTips ? { negotiationTips } : {},
|
|
10969
11020
|
onWarning: (line) => messages.push(line),
|
|
10970
|
-
promisorRemote: promisorRemoteReplyOf(this.workingCopy, (line) => messages.push(line))
|
|
11021
|
+
promisorRemote: promisorRemoteReplyOf(this.workingCopy, (line) => messages.push(line)),
|
|
11022
|
+
autoFilter: () => promisorAutoFilter(this.workingCopy, (line) => messages.push(line))
|
|
10971
11023
|
};
|
|
10972
11024
|
const uploadPack = this.uploadPack ?? this.remoteProgram(this.remote, "uploadpack");
|
|
10973
11025
|
const sessionOptions = {
|
|
@@ -13567,4 +13619,4 @@ function midxNames(bytes) {
|
|
|
13567
13619
|
return [];
|
|
13568
13620
|
}
|
|
13569
13621
|
//#endregion
|
|
13570
|
-
export { relativeFilesPath as $,
|
|
13622
|
+
export { relativeFilesPath as $, BisectResetCommand as $t, fetchBundleUri as A, nonCommitSwitchError as An, isRootRef$1 as At, stripFileFromPath as B, signatureStart as Bt, strictUrlOrigin as C, findBisection as Cn, shortlogIdent as Ct, TransportCommand as D, CheckoutCommand as Dn, fillIsBase as Dt, PlumbingError as E, skipAwayIndex as En, fillAheadBehind as Et, BundleCommandBase as F, RefFormat as Ft, defaultRemoteOf as G, atomSource as Gt, Gitmodules as H, trimTrailingSpaces as Ht, BundleList as I, RefKind as It, lstatKind as J, RevListCommand as Jt, isRelativeSubmoduleUrl as K, parseAtom as Kt, parseBundleListConfig as L, lstripRef as Lt, BundleListHeadsCommand as M, checkoutPaths as Mn, refKindOf as Mt, BundleUnbundleCommand as N, runPathCheckout as Nn, sortRefs as Nt, createBundleUriHost as O, CheckoutStage as On, filterAndFormatRefs as Ot, BundleVerifyCommand as P, versionCompare as Pt, physicalFilesPath as Q, BisectReplayCommand as Qt, parseBundleListLine as R, rstripRef as Rt, guardSubmoduleTransports as S, estimateBisectSteps as Sn, readShortlogInput as St, PlumbingCommand as T, skipAway as Tn, compareBytes$1 as Tt, SubmoduleGitDirError as U, quoteRefValue as Ut, updateBundleList as V, tagHeader as Vt, SubmoduleModel as W, ATOM_NAMES as Wt, parentIsDirectory as X, BisectLogCommand as Xt, openConfigFile as Y, BisectCommand as Yt, parseSubmoduleUpdateStrategy as Z, BisectNextCommand as Zt, SubmoduleFetchRepository as _, FIND_BISECTION_ALL as _n, formatSubject as _t, ReflogCommand as a, BISECT_USAGE as an, setInConfigFile as at, submoduleTouchesInRange as b, TREESAME as bn, parseShortlogGroup as bt, GuardedTransportCommand as c, isBisectSuccess as cn, upPathOf as ct, fetchOutputText as d, sqQuoteArgv as dn, validateSubmodulePath as dt, BisectRunCommand as en, relativeUrl as et, fetchSucceeded as f, strbufRtrim as fn, worktreeHostPath as ft, uriProtocolsOption as g, BisectNode as gn, commitSubject as gt, toTrackingRefUpdate as h, BisectGraph as hn, Shortlog as ht, RepackCommand as i, BisectTermsCommand as in, safeCreateLeadingDirectories as it, isBundle as j, pathCheckoutResult as jn, parseRefSorting as jt, fetchBundleList as k, CheckoutStatus as kn, filterRefs as kt, FetchCommand as l, sqDequoteToArgv as ln, urlIsLocalNotSsh as lt, toTagMode as m, BisectDie as mn, SHORTLOG_DEFAULT_WRAP as mt, MaintenanceRunCommand as n, BisectStartCommand as nn, resolveFilesLinks as nt, inLinkedWorktree as o, BisectCode as on, submodulePathConfigOf as ot, prefetchRefspecs as p, strbufTrim as pn, BundleCreateCommand as pt, joinFilesPath as q, MAX_REF_FILTER_PEEL_DEPTH as qt, maintenance_run_command_exports as r, BisectStateCommand as rn, resolveRelativeUrl as rt, objectsDirectoryDisplay as s, BisectEngine as sn, submoduleUpdateTypeName as st, MAINTENANCE_TASKS as t, BisectSkipCommand as tn, remoteFromUrl as tt, TagOption as u, sqQuote as un, validateSubmoduleGitDir as ut, findUnpushedSubmodules as v, FIND_BISECTION_FIRST_PARENT_ONLY as vn, inputLines as vt, clientSessionIdOf as w, managedSkipped as wn, splitIdent as wt, createSubmoduleAuthPolicy as x, UNINTERESTING as xn, parseShortlogWrap as xt, parseFetchRecurseSubmodules as y, PRN_MODULO as yn, outputEncoderFor as yt, printBundleList as z, shortenRefName as zt };
|