type-git 0.7.0 → 0.8.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.
@@ -1,7 +1,7 @@
1
- import { k as CompoundDecimalParser, l as COMPOUND_DECIMALS, m as GitDecimalParser, n as GitDecimalLiteral, o as GitDecimalValue, p as AtMost$1, D as Digit$1, q as AddDigit, F as FastImportUnsignedParser, T as Trim, U as UrlBytes, r as GitIntegerValue, N as NumberLiteralOrder, S as SafeIntegerAtLeast, s as StringCallbackParser, t as STRING_CALLBACKS, u as GitScalarParser, v as Evidence, w as Constraint, P as Predicate, a as CompanionExecutable, x as GitBooleanSource, y as GitDecimalCallbacks, z as GitIntegerProfile, H as GitNumericParser, J as Constrained, K as GitNumericLiteral, M as GitBooleanCallback, O as GitBooleanCallbackLiteral, Q as ObjectFilterLiteral, V as AsciiUpper, X as AsciiLower, Y as GitNumericValue, Z as GitBooleanCallbackValue, _ as ConstraintRequirement, $ as GitTimestampParser, a0 as GitDecimalCallback, a1 as LegacyGitDecimal, a2 as GitIntegerParser, a3 as GitOutputMode, h as CommandExecOpts, R as RawResult, G as Git, W as WorktreeRepo, B as BareRepo } from '../git.d-DrhCzWEn.cjs';
1
+ import { k as CompoundDecimalParser, l as COMPOUND_DECIMALS, m as GitDecimalParser, n as GitDecimalLiteral, o as GitDecimalValue, p as AtMost$1, D as Digit$1, q as AddDigit, F as FastImportUnsignedParser, T as Trim, U as UrlBytes, r as GitIntegerValue, N as NumberLiteralOrder, S as SafeIntegerAtLeast, s as GitScalarParser, t as Evidence, u as Constraint, P as Predicate, a as CompanionExecutable, v as GitBooleanSource, w as GitDecimalCallbacks, x as GitIntegerProfile, y as GitNumericParser, z as Constrained, H as GitNumericLiteral, J as GitBooleanCallback, K as GitBooleanCallbackLiteral, O as ObjectFilterLiteral, M as AsciiUpper, Q as StringCallbackParser, V as StringCallbackLiteral, X as AsciiLower, Y as GitNumericValue, Z as GitBooleanCallbackValue, _ as StringCallbackValue, $ as ConstraintRequirement, a0 as GitTimestampParser, a1 as GitDecimalCallback, a2 as LegacyGitDecimal, a3 as GitIntegerParser, a4 as GitOutputMode, h as CommandExecOpts, R as RawResult, G as Git, W as WorktreeRepo, B as BareRepo } from '../git.d-DqAvRXEf.cjs';
2
2
 
3
- type Profile$1<P extends CompoundDecimalParser> = (typeof COMPOUND_DECIMALS)[P];
4
- type DecimalProfile<P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = Omit<Profile$1<P>['decimal'], 'longBits'> & {
3
+ type Profile<P extends CompoundDecimalParser> = (typeof COMPOUND_DECIMALS)[P];
4
+ type DecimalProfile<P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = Omit<Profile<P>['decimal'], 'longBits'> & {
5
5
  longBits: Bits;
6
6
  } & (NegateOverflow extends true ? {
7
7
  negateUnsignedOverflow: true;
@@ -13,25 +13,25 @@ type LeadingSpace<S extends string, N extends unknown[] = []> = N['length'] exte
13
13
  type BaseZero<S extends string> = S extends `0${'x' | 'X'}${infer R}` ? RadixDigits<R, 16> : S extends `0${'b' | 'B'}${infer R}` ? RadixDigits<R, 2> : S extends `0${string}` ? RadixDigits<S, 8> : RadixDigits<S, 10>;
14
14
  type OffsetText<S extends string, T extends string = LeadingSpace<S>> = T extends `${infer Sign extends '+' | '-'}${infer Rest}` ? BaseZero<Rest> extends infer D extends string ? D extends 'invalid' ? D : `${Sign}${D}` : never : BaseZero<T>;
15
15
  type AtMostValue<S extends string, P extends GitDecimalParser, Max extends string> = string extends S ? true : GitDecimalLiteral<S, P> extends true ? GitDecimalValue<S, P> extends infer V extends number | bigint ? number extends V ? true : bigint extends V ? true : AtMost$1<`${V}`, Max> : false : false;
16
- type IndexVersion<S extends string, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = S extends `${infer Version},${infer Offset}` ? AtMostValue<Version, DecimalProfile<P, Bits, NegateOverflow>, '2'> extends true ? Offset extends '' ? Profile$1<P> extends {
16
+ type IndexVersion<S extends string, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = S extends `${infer Version},${infer Offset}` ? AtMostValue<Version, DecimalProfile<P, Bits, NegateOverflow>, '2'> extends true ? Offset extends '' ? Profile<P> extends {
17
17
  emptyOffset: true;
18
18
  } ? true : false : OffsetText<Offset> extends infer D extends string ? D extends 'invalid' ? false : AtMostValue<D, DecimalProfile<P, Bits, NegateOverflow>, '2147483647'> : false : false : AtMostValue<S, DecimalProfile<P, Bits, NegateOverflow>, '2'>;
19
19
  type Parts<S extends string, Limit extends number, Acc extends string[] = []> = Acc['length'] extends Limit ? 'invalid' : S extends `${infer H},${infer Rest}` ? Parts<Rest, Limit, [...Acc, H]> : [...Acc, S];
20
20
  type Values<Fields extends readonly string[], Defaults extends readonly number[], P extends GitDecimalParser> = Defaults extends readonly [infer D extends number, ...infer RestD extends number[]] ? Fields extends readonly [infer H extends string, ...infer Rest extends string[]] ? GitDecimalLiteral<H extends '' ? `${D}` : H, P> extends true ? Values<Rest, RestD, P> extends infer Tail ? Tail extends readonly (number | bigint)[] ? readonly [GitDecimalValue<H extends '' ? `${D}` : H, P>, ...Tail] : 'invalid' : never : 'invalid' : Defaults : readonly [];
21
21
  type Greater<Pivot extends number | bigint, Others extends readonly number[], V extends readonly (number | bigint)[]> = Pivot extends 0 ? true : Others extends readonly [infer H extends number, ...infer Rest extends number[]] ? number extends Pivot | V[H] ? Greater<Pivot, Rest, V> : AtMost$1<`${Pivot}`, `${V[H]}`> extends true ? false : Greater<Pivot, Rest, V> : true;
22
- type TupleLiteral<S extends string, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = Profile$1<P> extends {
22
+ type TupleLiteral<S extends string, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = Profile<P> extends {
23
23
  defaults: infer D extends readonly number[];
24
24
  nonzeroGreaterThan: {
25
25
  index: infer I extends number;
26
26
  others: infer Other extends readonly number[];
27
27
  };
28
28
  } ? Parts<S, D['length']> extends infer Split ? Split extends readonly string[] ? Values<Split, D, DecimalProfile<P, Bits, NegateOverflow>> extends infer V ? V extends readonly (number | bigint)[] ? Greater<V[I], Other, V> : false : false : false : false : false;
29
- type Parsed$3<V, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = V extends true ? true : V extends string ? string extends V ? true : Profile$1<P> extends {
29
+ type Parsed$2<V, P extends CompoundDecimalParser, Bits extends 32 | 64, NegateOverflow extends boolean> = V extends true ? true : V extends string ? string extends V ? true : Profile<P> extends {
30
30
  kind: 'index-version';
31
- } ? IndexVersion<V, P, Bits, NegateOverflow> : Profile$1<P> extends {
31
+ } ? IndexVersion<V, P, Bits, NegateOverflow> : Profile<P> extends {
32
32
  kind: 'prefix';
33
33
  } ? GitDecimalLiteral<V extends `${infer Head},${string}` ? Head : V, DecimalProfile<P, Bits, NegateOverflow>> : TupleLiteral<V, P, Bits, NegateOverflow> : false;
34
- type CompoundDecimalLiteral<V, P extends CompoundDecimalParser, Bits extends 32 | 64 = 64, NegateOverflow extends boolean = false> = false extends Parsed$3<V, P, Bits, NegateOverflow> ? false : true;
34
+ type CompoundDecimalLiteral<V, P extends CompoundDecimalParser, Bits extends 32 | 64 = 64, NegateOverflow extends boolean = false> = false extends Parsed$2<V, P, Bits, NegateOverflow> ? false : true;
35
35
 
36
36
  type Hex = Digit$1 | 'a' | 'b' | 'c' | 'd' | 'e' | 'f';
37
37
  type Ascii = UrlBytes[Extract<keyof UrlBytes, `${'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7'}${Hex}`>];
@@ -83,149 +83,10 @@ type Modulo<S extends string, A extends string = '0'> = S extends `${infer H ext
83
83
  type Narrow<M extends string, Negative extends boolean> = Modulo<M> extends infer U extends string ? (Negative extends true ? U extends '0' ? '0' : Subtract<'4294967296', U> : U) extends infer W extends string ? AtMost<W, '2147483647'> extends true ? W : `-${Subtract<'4294967296', W>}` : never : never;
84
84
  type Positive<S extends string> = S extends '0' | `-${string}` ? 'invalid' : S;
85
85
  type Convert<M extends string, Negative extends boolean, Bits extends 32 | 64> = Bits extends 32 ? AtMost<M, Negative extends true ? '2147483648' : '2147483647'> extends true ? Positive<Narrow<M, Negative>> : Negative extends true ? 'invalid' : '2147483647' : Positive<Narrow<M, Negative>>;
86
- type Parsed$2<V, Bits extends 32 | 64> = V extends number ? NumberLiteralOrder<V, V> extends 0 ? [SafeIntegerAtLeast<V, -9007199254740991, false>] extends [never] ? 'invalid' : NumberLiteralOrder<V, 9007199254740991> extends 1 ? 'invalid' : `${V}` extends `-${infer M}` ? Convert<M, true, Bits> : Convert<`${V}`, false, Bits> : 'dynamic' : 'invalid';
87
- type Accepted<V> = V extends unknown ? Exclude<Parsed$2<V, 32> | Parsed$2<V, 64>, 'invalid'> extends never ? false : true : never;
86
+ type Parsed$1<V, Bits extends 32 | 64> = V extends number ? NumberLiteralOrder<V, V> extends 0 ? [SafeIntegerAtLeast<V, -9007199254740991, false>] extends [never] ? 'invalid' : NumberLiteralOrder<V, 9007199254740991> extends 1 ? 'invalid' : `${V}` extends `-${infer M}` ? Convert<M, true, Bits> : Convert<`${V}`, false, Bits> : 'dynamic' : 'invalid';
87
+ type Accepted<V> = V extends unknown ? Exclude<Parsed$1<V, 32> | Parsed$1<V, 64>, 'invalid'> extends never ? false : true : never;
88
88
  type MainlineLiteral<V> = Extract<Accepted<V>, false> extends never ? true : false;
89
- type MainlineValue<V> = Exclude<Parsed$2<V, 32> | Parsed$2<V, 64>, 'invalid'> extends infer P ? P extends 'dynamic' ? number : P extends `${infer N extends number}` ? N : never : never;
90
-
91
- type HexDigit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f';
92
- type AsciiByte = UrlBytes[Extract<keyof UrlBytes, `${'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7'}${HexDigit}`>];
93
- type Profile<P extends StringCallbackParser> = (typeof STRING_CALLBACKS)[P];
94
- type Dynamic<S extends string, N extends readonly unknown[] = []> = {} extends Record<S, unknown> ? true : `${number}` extends S ? true : `${bigint}` extends S ? true : N['length'] extends 128 ? true : S extends `${infer _C}${infer R}` ? Dynamic<R, readonly [...N, 0]> : S extends '' ? false : true;
95
- type Pair<S extends string, Sep extends string, Optional extends boolean, Seen extends boolean = false, N extends readonly unknown[] = []> = string extends S ? true : N['length'] extends 128 ? true : S extends `${Sep}${infer Rest}` ? Seen extends false ? false : Rest extends '' ? false : true : S extends '' ? Optional extends true ? Seen : false : S extends `${infer C}${infer Rest}` ? string extends C ? true : Pair<Rest, Sep, Optional, true, readonly [...N, 0]> : true;
96
- type TokenProjection<P, T extends string, Value> = P extends {
97
- projection: {
98
- values: infer M;
99
- };
100
- } ? T extends keyof M ? M[T] : Value : Value;
101
- type TokenList<S extends string, P, Value, Token extends string = '', N extends readonly unknown[] = []> = N['length'] extends 128 ? {
102
- valid: true;
103
- value: string;
104
- } : P extends {
105
- separators: readonly (infer Sep)[];
106
- exact: readonly (infer E)[];
107
- } ? S extends `${infer C}${infer Rest}` ? C extends Sep ? Token extends '' ? TokenList<Rest, P, Value, '', readonly [...N, 0]> : Token extends E ? TokenList<Rest, P, TokenProjection<P, Token, Value>, '', readonly [...N, 0]> : {
108
- valid: false;
109
- } : TokenList<Rest, P, Value, `${Token}${C}`, readonly [...N, 0]> : Token extends '' ? {
110
- valid: true;
111
- value: Value;
112
- } : Token extends E ? {
113
- valid: true;
114
- value: TokenProjection<P, Token, Value>;
115
- } : {
116
- valid: false;
117
- } : {
118
- valid: false;
119
- };
120
- type Projected<V, P extends StringCallbackParser> = Profile<P> extends {
121
- kind: 'token-list';
122
- projection: {
123
- initial: infer Initial;
124
- };
125
- } ? V extends string ? V extends object ? {
126
- valid: true;
127
- value: string;
128
- } : Dynamic<V> extends true ? {
129
- valid: true;
130
- value: string;
131
- } : TokenList<V, Profile<P>, Initial> : {
132
- valid: false;
133
- } : {
134
- valid: true;
135
- value: V;
136
- };
137
- type StringCallbackValue<V, P extends StringCallbackParser> = Projected<V, P> extends {
138
- value: infer Value;
139
- } ? Value : V;
140
- type ByteCharacter<S extends string> = S extends `${infer First}${infer Rest}` ? Dynamic<First> extends true ? true : First extends AsciiByte ? Rest extends '' ? true : Rest extends `${infer Second}${infer _Tail}` ? Dynamic<Second> : true : false : true;
141
- type AsciiWhitespace = ' ' | '\t' | '\n' | '\r' | '\v' | '\f';
142
- type TrimAsciiLeft<S extends string> = S extends `${AsciiWhitespace}${infer Rest}` ? TrimAsciiLeft<Rest> : S;
143
- type TrimAsciiRight<S extends string> = S extends `${infer Rest}${AsciiWhitespace}` ? TrimAsciiRight<Rest> : S;
144
- type ResetState = {
145
- ordinary: boolean;
146
- exclusive: boolean;
147
- invalid: boolean;
148
- };
149
- type ResetToken<P, Token extends string, State extends ResetState> = P extends {
150
- reset: infer Reset;
151
- ordinary: readonly (infer Ordinary)[];
152
- exclusive: readonly (infer Exclusive)[];
153
- } ? TrimAsciiRight<TrimAsciiLeft<Token>> extends infer Text ? Text extends Reset ? {
154
- ordinary: false;
155
- exclusive: false;
156
- invalid: false;
157
- } : Text extends Ordinary ? {
158
- ordinary: true;
159
- exclusive: State['exclusive'];
160
- invalid: State['invalid'];
161
- } : Text extends Exclusive ? {
162
- ordinary: State['ordinary'];
163
- exclusive: true;
164
- invalid: State['invalid'];
165
- } : {
166
- ordinary: State['ordinary'];
167
- exclusive: State['exclusive'];
168
- invalid: true;
169
- } : never : {
170
- ordinary: false;
171
- exclusive: false;
172
- invalid: true;
173
- };
174
- type ResetStateValid<State extends ResetState> = State['invalid'] extends true ? false : State['ordinary'] extends true ? State['exclusive'] extends true ? false : true : true;
175
- type ResetTokenList<S extends string, P, Token extends string = '', State extends ResetState = {
176
- ordinary: false;
177
- exclusive: false;
178
- invalid: false;
179
- }, N extends readonly unknown[] = []> = N['length'] extends 128 ? true : P extends {
180
- separator: infer Separator;
181
- } ? S extends `${infer C}${infer Rest}` ? C extends Separator ? ResetTokenList<Rest, P, '', ResetToken<P, Token, State>, readonly [...N, 0]> : ResetTokenList<Rest, P, `${Token}${C}`, State, readonly [...N, 0]> : ResetStateValid<ResetToken<P, Token, State>> : false;
182
- type TrailingTokenList<S extends string, Separator extends string, Exact extends string, N extends readonly unknown[] = []> = N['length'] extends 128 ? true : S extends `${infer Token}${Separator}${infer Rest}` ? Token extends Exact ? TrailingTokenList<Rest, Separator, Exact, readonly [...N, 0]> : false : S extends '' | Exact ? true : false;
183
- type DirstatDigits<S extends string> = S extends '' ? true : S extends `${ScoreDigit}${infer Rest}` ? DirstatDigits<Rest> : false;
184
- type DirstatToken<S extends string, Exact extends string> = S extends Exact ? true : S extends `${ScoreDigit}${string}` ? S extends `${infer Whole}.${infer Fraction}` ? false extends DirstatDigits<Whole> | DirstatDigits<Fraction> ? false : true : DirstatDigits<S> : false;
185
- type DirstatTokens<S extends string, Separator extends string, Exact extends string> = S extends `${infer Token}${Separator}${infer Rest}` ? DirstatToken<Token, Exact> extends true ? DirstatTokens<Rest, Separator, Exact> : false : DirstatToken<S, Exact>;
186
- type CharacterMembers<S extends string> = S extends `${infer C}${infer Rest}` ? C | CharacterMembers<Rest> : never;
187
- type CharacterSetLoop<S extends string, Allowed extends string, N extends readonly unknown[] = []> = N['length'] extends 128 ? true : S extends `${infer C}${infer Rest}` ? C extends Allowed ? CharacterSetLoop<Rest, Allowed, readonly [...N, 0]> : false : true;
188
- type CharacterSetText<S extends string, Characters extends string> = S extends `${string}${Exclude<AsciiByte, CharacterMembers<Characters>>}${string}` ? false : Dynamic<S> extends true ? true : CharacterSetLoop<S, CharacterMembers<Characters>>;
189
- type ScoreDigit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
190
- type ScoreForbiddenAscii = Exclude<AsciiByte, ScoreDigit | '.' | '%'>;
191
- type ScoreLoop<S extends string, Dot extends boolean = false, N extends readonly unknown[] = []> = N['length'] extends 128 ? true : S extends '' | '%' ? true : S extends `.${infer Rest}` ? Dot extends true ? false : ScoreLoop<Rest, true, readonly [...N, 0]> : S extends `${infer C}${infer Rest}` ? C extends ScoreDigit ? ScoreLoop<Rest, Dot, readonly [...N, 0]> : false : true;
192
- type ScoreHasFollowingPercentText<S extends string> = S extends `${string}%${infer After}` ? After extends '' ? false : After extends `${infer First}${infer _Rest}` ? Dynamic<First> extends false ? true : false : false : false;
193
- type ScorePart<S extends string> = S extends `${string}${ScoreForbiddenAscii}${string}` ? false : S extends `${string}.${string}.${string}` | `${string}%${string}%${string}` ? false : ScoreHasFollowingPercentText<S> extends true ? false : Dynamic<S> extends true ? true : ScoreLoop<S>;
194
- type ScoreText<S extends string, Parts extends 1 | 2> = Parts extends 2 ? S extends `${infer Left}/${infer Right}` ? false extends ScorePart<Left> | ScorePart<Right> ? false : true : ScorePart<S> : ScorePart<S>;
195
- type Parsed$1<V, P extends StringCallbackParser> = V extends string ? V extends object ? true : Profile<P> extends {
196
- kind: 'byte-character';
197
- } ? ByteCharacter<V> : Profile<P> extends {
198
- kind: 'token-list';
199
- } ? Projected<V, P> extends {
200
- valid: infer Valid;
201
- } ? Valid : false : Profile<P> extends {
202
- kind: 'choice';
203
- exact: readonly (infer E)[];
204
- prefixes: readonly (infer Prefix extends string)[];
205
- } ? V extends E | `${Prefix}${string}` ? true : Dynamic<V> : Profile<P> extends {
206
- kind: 'first-separator';
207
- separator: infer Sep extends string;
208
- allowUnseparated: infer Optional extends boolean;
209
- } ? Pair<V, Sep, Optional> : Profile<P> extends {
210
- kind: 'rename-score';
211
- parts: infer Parts extends 1 | 2;
212
- } ? ScoreText<V, Parts> : Profile<P> extends {
213
- kind: 'character-set';
214
- characters: infer Characters extends string;
215
- } ? CharacterSetText<V, Characters> : Profile<P> extends {
216
- kind: 'resetting-token-list';
217
- } ? Dynamic<V> extends true ? true : ResetTokenList<V, Profile<P>> : Profile<P> extends {
218
- kind: 'trailing-token-list';
219
- separator: infer Separator extends string;
220
- exact: readonly (infer Exact extends string)[];
221
- } ? Dynamic<V> extends true ? true : TrailingTokenList<V, Separator, Exact> : Profile<P> extends {
222
- kind: 'dirstat-params';
223
- separator: infer Separator extends string;
224
- exact: readonly (infer Exact extends string)[];
225
- } ? Dynamic<V> extends true ? true : V extends '' ? true : DirstatTokens<V, Separator, Exact> : false : V extends true ? Profile<P> extends {
226
- kind: 'rename-score' | 'dirstat-params';
227
- } ? true : false : false;
228
- type StringCallbackLiteral<V, P extends StringCallbackParser> = false extends Parsed$1<V, P> ? false : true;
89
+ type MainlineValue<V> = Exclude<Parsed$1<V, 32> | Parsed$1<V, 64>, 'invalid'> extends infer P ? P extends 'dynamic' ? number : P extends `${infer N extends number}` ? N : never : never;
229
90
 
230
91
  /** Representation boundary shared by every command before Git-specific interpretation. */
231
92
  declare const ARGV_STRING_CONSTRAINT: {
@@ -404,9 +265,12 @@ type CommandSpec = {
404
265
  optionParsing?: 'stop-at-operand' | 'none';
405
266
  /**
406
267
  * Operands are forwarded to a child parser that reinterprets dash-prefixed words as options,
407
- * so they are rejected even after this command's own `--`.
268
+ * so they are rejected even after this command's own `--`. Operands before `firstForwarded`
269
+ * (default 0) are consumed by this command and never forwarded.
408
270
  */
409
- forwardedOperands?: Evidence;
271
+ forwardedOperands?: Evidence & {
272
+ firstForwarded?: 1;
273
+ };
410
274
  /** After the empty first parser, repository state selects a child command or success. */
411
275
  conditionalCommand?: ConditionalCommand;
412
276
  /** A usage exit with an explicitly checked prefix and uninterpreted following words. */
@@ -12318,6 +12182,7 @@ declare const commandSpec19: {
12318
12182
  readonly key: "untracked-files";
12319
12183
  readonly value: "optional-string";
12320
12184
  readonly set: "all";
12185
+ readonly emptyValueFlag: "--untracked-files";
12321
12186
  };
12322
12187
  readonly '--pathspec-from-file': {
12323
12188
  readonly key: "pathspec-from-file";
@@ -12596,6 +12461,22 @@ declare const commandSpec19: {
12596
12461
  readonly origin: "git";
12597
12462
  readonly reason: "Reset author cannot be combined with an explicit author.";
12598
12463
  readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12464
+ }, {
12465
+ readonly id: "cli.commit.reset-author-amend-fixup";
12466
+ readonly kind: "forbid";
12467
+ readonly when: readonly [{
12468
+ readonly key: "reset-author";
12469
+ readonly test: "active";
12470
+ }, {
12471
+ readonly key: "amend";
12472
+ readonly test: "active";
12473
+ }, {
12474
+ readonly key: "fixup";
12475
+ readonly test: "present";
12476
+ }];
12477
+ readonly origin: "git";
12478
+ readonly reason: "With --fixup, --amend reuses no message, so --reset-author has nothing to reset; Git refuses this in every repository state (other --reset-author cases depend on an in-progress cherry-pick or rebase and are left to native Git).";
12479
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12599
12480
  }, {
12600
12481
  readonly id: "cli.commit.fixup-squash";
12601
12482
  readonly kind: "exclusive";
@@ -12603,6 +12484,14 @@ declare const commandSpec19: {
12603
12484
  readonly origin: "git";
12604
12485
  readonly reason: "Fixup and squash are incompatible.";
12605
12486
  readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12487
+ }, {
12488
+ readonly id: "cli.commit.fixup-suboption";
12489
+ readonly kind: "scalar";
12490
+ readonly key: "fixup";
12491
+ readonly parser: "commit-fixup";
12492
+ readonly origin: "git";
12493
+ readonly reason: "A --fixup suboption (letters before ':') must be amend or reword.";
12494
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12606
12495
  }, {
12607
12496
  readonly id: "cli.commit.message-source";
12608
12497
  readonly kind: "exclusive";
@@ -12767,6 +12656,42 @@ declare const commandSpec19: {
12767
12656
  readonly key: "null";
12768
12657
  readonly test: "inactive";
12769
12658
  }];
12659
+ }, {
12660
+ readonly id: "cli.commit.author-ident";
12661
+ readonly kind: "scalar";
12662
+ readonly key: "author";
12663
+ readonly parser: "commit-author";
12664
+ readonly origin: "git";
12665
+ readonly reason: "An --author value containing '>' must split as 'Name <email>' with a name that is neither empty nor only characters ident.c strips; a value without '>' is looked up among existing authors by native Git.";
12666
+ readonly source: "Git 2.55.0 builtin/commit.c:determine_author_info -> ident.c:split_ident_line/fmt_ident (IDENT_STRICT); --dry-run and the status formats return before prepare_to_commit";
12667
+ readonly guard: readonly [{
12668
+ readonly key: "dry-run";
12669
+ readonly test: "inactive";
12670
+ }, {
12671
+ readonly key: "format";
12672
+ readonly test: "inactive";
12673
+ }, {
12674
+ readonly key: "null";
12675
+ readonly test: "inactive";
12676
+ }];
12677
+ }, {
12678
+ readonly id: "cli.commit.date";
12679
+ readonly kind: "scalar";
12680
+ readonly key: "date";
12681
+ readonly parser: "commit-date";
12682
+ readonly origin: "git";
12683
+ readonly reason: "--date must be a Git date: parse_date, or approxidate text with a digit or a recognized word (a month prefix of three or more letters, today, now, noon, one to ten, last and the other special words).";
12684
+ readonly source: "Git 2.55.0 builtin/commit.c:determine_author_info/parse_force_date -> date.c:parse_date/approxidate_careful; --dry-run and the status formats return before prepare_to_commit";
12685
+ readonly guard: readonly [{
12686
+ readonly key: "dry-run";
12687
+ readonly test: "inactive";
12688
+ }, {
12689
+ readonly key: "format";
12690
+ readonly test: "inactive";
12691
+ }, {
12692
+ readonly key: "null";
12693
+ readonly test: "inactive";
12694
+ }];
12770
12695
  }, {
12771
12696
  readonly id: "cli.commit.reword-paths";
12772
12697
  readonly kind: "arity";
@@ -12892,7 +12817,7 @@ declare const commandSpec19: {
12892
12817
  readonly kind: "requiresAny";
12893
12818
  readonly origin: "git";
12894
12819
  readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12895
- readonly reason: "Only mode without path operands or a pathspec file requires --allow-empty, --amend or an amend: fixup (builtin/commit.c:prepare_index counts pathspec.nr after parse_pathspec_file reads the file, so a file naming no paths is left to native Git). Git 2.32 and later also refuse --amend with a plain fixup, but older Git accepts it, so that case is left to native Git.";
12820
+ readonly reason: "Only mode without path operands or a pathspec file requires --allow-empty, --amend or an amend: fixup (builtin/commit.c:prepare_index counts pathspec.nr after parse_pathspec_file reads the file, so a file naming no paths is left to native Git). With --amend, a plain fixup still needs one of the others (cli.commit.only-amend-fixup).";
12896
12821
  readonly when: {
12897
12822
  readonly key: "only";
12898
12823
  readonly test: "active";
@@ -12914,6 +12839,37 @@ declare const commandSpec19: {
12914
12839
  readonly test: "startsWith";
12915
12840
  readonly value: "amend:";
12916
12841
  }];
12842
+ }, {
12843
+ readonly id: "cli.commit.only-amend-fixup";
12844
+ readonly kind: "requiresAny";
12845
+ readonly origin: "git";
12846
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/commit.c";
12847
+ readonly reason: "In only mode, --amend with a fixup that is not amend: still needs path operands, a pathspec file or --allow-empty (builtin/commit.c:prepare_index: !amend || (fixup_message && strcmp(fixup_prefix, \"amend\"))).";
12848
+ readonly when: {
12849
+ readonly key: "only";
12850
+ readonly test: "active";
12851
+ };
12852
+ readonly guard: readonly [{
12853
+ readonly key: "amend";
12854
+ readonly test: "active";
12855
+ }, {
12856
+ readonly key: "fixup";
12857
+ readonly test: "present";
12858
+ }];
12859
+ readonly choices: readonly [{
12860
+ readonly key: "operands";
12861
+ readonly test: "nonempty";
12862
+ }, {
12863
+ readonly key: "pathspec-from-file";
12864
+ readonly test: "active";
12865
+ }, {
12866
+ readonly key: "allow-empty";
12867
+ readonly test: "active";
12868
+ }, {
12869
+ readonly key: "fixup";
12870
+ readonly test: "startsWith";
12871
+ readonly value: "amend:";
12872
+ }];
12917
12873
  }];
12918
12874
  readonly source: "builtin/commit.c";
12919
12875
  readonly separator: true;
@@ -14133,6 +14089,7 @@ declare const commandSpec20: {
14133
14089
  readonly key: "untracked-files";
14134
14090
  readonly value: "optional-string";
14135
14091
  readonly set: "all";
14092
+ readonly emptyValueFlag: "--untracked-files";
14136
14093
  };
14137
14094
  readonly '--ignored': {
14138
14095
  readonly key: "ignored";
@@ -15856,6 +15813,10 @@ declare const commandSpec30: {
15856
15813
  readonly key: "help";
15857
15814
  readonly value: "flag";
15858
15815
  };
15816
+ readonly '--help-all': {
15817
+ readonly key: "help";
15818
+ readonly value: "flag";
15819
+ };
15859
15820
  readonly '--git-completion-helper': {
15860
15821
  readonly key: "help";
15861
15822
  readonly value: "flag";
@@ -15970,11 +15931,55 @@ declare const commandSpec30: {
15970
15931
  readonly origin: "git";
15971
15932
  readonly reason: "The final depth must be positive after Git converts it with atoi; transport validation is a later phase.";
15972
15933
  readonly source: "Git 2.55.0 builtin/clone.c; pinned 64-bit libc and 32-bit int profile";
15934
+ }, {
15935
+ readonly id: "cli.clone.origin-name";
15936
+ readonly kind: "scalar";
15937
+ readonly key: "origin";
15938
+ readonly parser: "remote-name";
15939
+ readonly origin: "git";
15940
+ readonly reason: "The remote name must form a valid fetch refspec refs/heads/test:refs/remotes/<name>/test.";
15941
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/clone.c";
15942
+ }, {
15943
+ readonly id: "cli.clone.config-parameters";
15944
+ readonly kind: "scalar";
15945
+ readonly key: "config";
15946
+ readonly parser: "clone-config-parameters";
15947
+ readonly origin: "git";
15948
+ readonly reason: "Each --config key must be a valid configuration key; clone.defaultRemoteName needs a value and clone.rejectShallow and clone.filterSubmodules need booleans.";
15949
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/clone.c";
15950
+ }, {
15951
+ readonly id: "cli.clone.config-remote-name";
15952
+ readonly kind: "scalar";
15953
+ readonly key: "config";
15954
+ readonly parser: "clone-config-remote-name";
15955
+ readonly guard: readonly [{
15956
+ readonly key: "origin";
15957
+ readonly test: "inactive";
15958
+ }];
15959
+ readonly origin: "git";
15960
+ readonly reason: "Without --origin the last clone.defaultRemoteName must be a valid remote name.";
15961
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/clone.c";
15962
+ }, {
15963
+ readonly id: "cli.clone.recursive-references";
15964
+ readonly kind: "forbid";
15965
+ readonly when: readonly [{
15966
+ readonly key: "recurse-submodules";
15967
+ readonly test: "nonempty";
15968
+ }, {
15969
+ readonly key: "reference";
15970
+ readonly test: "nonempty";
15971
+ }, {
15972
+ readonly key: "reference-if-able";
15973
+ readonly test: "nonempty";
15974
+ }];
15975
+ readonly origin: "git";
15976
+ readonly reason: "Recursive clones cannot use both --reference and --reference-if-able.";
15977
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/clone.c";
15973
15978
  }];
15974
15979
  readonly source: "builtin/clone.c";
15975
15980
  readonly separator: true;
15976
15981
  readonly parserExit: {
15977
- readonly flags: readonly ["-h", "--help"];
15982
+ readonly flags: readonly ["-h", "--help", "--help-all"];
15978
15983
  readonly origin: "git";
15979
15984
  readonly reason: "The ordinary parser resolves native aliases, prefixes, clusters and callbacks before help and final semantic rules; both end markers are consumed.";
15980
15985
  readonly source: "Git 2.55.0 builtin/clone.c:cmd_clone; parse-options.c:preprocess_options/register_abbrev/parse_long_opt/parse_options; git.c:handle_builtin";
@@ -17243,7 +17248,7 @@ declare const commandSpec30: {
17243
17248
  readonly '--verbose': "--verbose";
17244
17249
  };
17245
17250
  };
17246
- readonly firstPassOptions: readonly ["--also-filter-submodules", "--bare", "--branch", "--bundle-uri", "--checkout", "--config", "--depth", "--dissociate", "--filter", "--hardlinks", "--help", "--ipv4", "--ipv6", "--jobs", "--local", "--mirror", "--naked", "--no-also-filter-submodules", "--no-bare", "--no-branch", "--no-bundle-uri", "--no-checkout", "--no-config", "--no-depth", "--no-dissociate", "--no-filter", "--no-hardlinks", "--no-jobs", "--no-local", "--no-mirror", "--no-naked", "--no-no-checkout", "--no-no-hardlinks", "--no-origin", "--no-progress", "--no-quiet", "--no-recurse-submodules", "--no-recursive", "--no-ref-format", "--no-reference", "--no-reference-if-able", "--no-reject-shallow", "--no-remote-submodules", "--no-revision", "--no-separate-git-dir", "--no-server-option", "--no-shallow-exclude", "--no-shallow-since", "--no-shallow-submodules", "--no-shared", "--no-single-branch", "--no-sparse", "--no-tags", "--no-template", "--no-upload-pack", "--no-verbose", "--origin", "--progress", "--quiet", "--recurse-submodules", "--recursive", "--ref-format", "--reference", "--reference-if-able", "--reject-shallow", "--remote-submodules", "--revision", "--separate-git-dir", "--server-option", "--shallow-exclude", "--shallow-since", "--shallow-submodules", "--shared", "--single-branch", "--sparse", "--tags", "--template", "--upload-pack", "--verbose", "-4", "-6", "-b", "-c", "-h", "-j", "-l", "-n", "-o", "-q", "-s", "-u", "-v"];
17251
+ readonly firstPassOptions: readonly ["--also-filter-submodules", "--bare", "--branch", "--bundle-uri", "--checkout", "--config", "--depth", "--dissociate", "--filter", "--hardlinks", "--help", "--help-all", "--ipv4", "--ipv6", "--jobs", "--local", "--mirror", "--naked", "--no-also-filter-submodules", "--no-bare", "--no-branch", "--no-bundle-uri", "--no-checkout", "--no-config", "--no-depth", "--no-dissociate", "--no-filter", "--no-hardlinks", "--no-jobs", "--no-local", "--no-mirror", "--no-naked", "--no-no-checkout", "--no-no-hardlinks", "--no-origin", "--no-progress", "--no-quiet", "--no-recurse-submodules", "--no-recursive", "--no-ref-format", "--no-reference", "--no-reference-if-able", "--no-reject-shallow", "--no-remote-submodules", "--no-revision", "--no-separate-git-dir", "--no-server-option", "--no-shallow-exclude", "--no-shallow-since", "--no-shallow-submodules", "--no-shared", "--no-single-branch", "--no-sparse", "--no-tags", "--no-template", "--no-upload-pack", "--no-verbose", "--origin", "--progress", "--quiet", "--recurse-submodules", "--recursive", "--ref-format", "--reference", "--reference-if-able", "--reject-shallow", "--remote-submodules", "--revision", "--separate-git-dir", "--server-option", "--shallow-exclude", "--shallow-since", "--shallow-submodules", "--shared", "--single-branch", "--sparse", "--tags", "--template", "--upload-pack", "--verbose", "-4", "-6", "-b", "-c", "-h", "-j", "-l", "-n", "-o", "-q", "-s", "-u", "-v"];
17247
17252
  readonly firstPassLongNames: readonly ["also-filter-submodules", "bare", "branch", "bundle-uri", "config", "depth", "dissociate", "filter", "ipv4", "ipv6", "jobs", "local", "mirror", "naked", "no-checkout", "no-hardlinks", "origin", "progress", "quiet", "recurse-submodules", "recursive", "ref-format", "reference", "reference-if-able", "reject-shallow", "remote-submodules", "revision", "separate-git-dir", "server-option", "shallow-exclude", "shallow-since", "shallow-submodules", "shared", "single-branch", "sparse", "tags", "template", "upload-pack", "verbose"];
17248
17253
  readonly remainingOptions: RemainingOptions0Type;
17249
17254
  readonly remainingShortOptions: readonly [];
@@ -17821,6 +17826,10 @@ declare const commandSpec31: {
17821
17826
  readonly key: "help";
17822
17827
  readonly value: "flag";
17823
17828
  };
17829
+ readonly '--help-all': {
17830
+ readonly key: "help";
17831
+ readonly value: "flag";
17832
+ };
17824
17833
  readonly '--git-completion-helper': {
17825
17834
  readonly key: "help";
17826
17835
  readonly value: "flag";
@@ -18004,11 +18013,26 @@ declare const commandSpec31: {
18004
18013
  readonly origin: "git";
18005
18014
  readonly reason: "The final depth must be positive after Git converts it with atoi; transport validation is a later phase.";
18006
18015
  readonly source: "Git 2.55.0 builtin/fetch.c; pinned 64-bit libc and 32-bit int profile";
18016
+ }, {
18017
+ readonly id: "cli.fetch.tag-shorthand";
18018
+ readonly kind: "scalar";
18019
+ readonly key: "operands";
18020
+ readonly parser: "fetch-refspec-operands";
18021
+ readonly guard: readonly [{
18022
+ readonly key: "multiple";
18023
+ readonly test: "inactive";
18024
+ }, {
18025
+ readonly key: "negotiate-only";
18026
+ readonly test: "inactive";
18027
+ }];
18028
+ readonly origin: "git";
18029
+ readonly reason: "Refspec words must parse as refspecs, and a word 'tag' must be followed by a tag name that forms one.";
18030
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/fetch.c";
18007
18031
  }];
18008
18032
  readonly source: "builtin/fetch.c";
18009
18033
  readonly separator: true;
18010
18034
  readonly parserExit: {
18011
- readonly flags: readonly ["-h", "--help"];
18035
+ readonly flags: readonly ["-h", "--help", "--help-all"];
18012
18036
  readonly origin: "git";
18013
18037
  readonly reason: "The ordinary parser resolves native aliases, prefixes, clusters and callbacks before help and final semantic rules; both end markers are consumed.";
18014
18038
  readonly source: "Git 2.55.0 builtin/fetch.c:cmd_fetch; parse-options.c:preprocess_options/register_abbrev/parse_long_opt/parse_options; git.c:handle_builtin";
@@ -19329,7 +19353,7 @@ declare const commandSpec31: {
19329
19353
  readonly '--write-fetch-head': "--write-fetch-head";
19330
19354
  };
19331
19355
  };
19332
- readonly firstPassOptions: readonly ["--all", "--append", "--atomic", "--auto-gc", "--auto-maintenance", "--deepen", "--depth", "--dry-run", "--filter", "--force", "--help", "--ipv4", "--ipv6", "--jobs", "--keep", "--multiple", "--negotiate-only", "--negotiation-include", "--negotiation-restrict", "--negotiation-tip", "--no-all", "--no-append", "--no-atomic", "--no-auto-gc", "--no-auto-maintenance", "--no-deepen", "--no-depth", "--no-dry-run", "--no-filter", "--no-force", "--no-jobs", "--no-keep", "--no-multiple", "--no-negotiate-only", "--no-negotiation-include", "--no-negotiation-restrict", "--no-negotiation-tip", "--no-porcelain", "--no-prefetch", "--no-progress", "--no-prune", "--no-prune-tags", "--no-quiet", "--no-recurse-submodules", "--no-recurse-submodules-default", "--no-server-option", "--no-set-upstream", "--no-shallow-exclude", "--no-shallow-since", "--no-show-forced-updates", "--no-stdin", "--no-submodule-prefix", "--no-tags", "--no-update-head-ok", "--no-update-shallow", "--no-upload-pack", "--no-verbose", "--no-write-commit-graph", "--no-write-fetch-head", "--porcelain", "--prefetch", "--progress", "--prune", "--prune-tags", "--quiet", "--recurse-submodules", "--recurse-submodules-default", "--refetch", "--refmap", "--server-option", "--set-upstream", "--shallow-exclude", "--shallow-since", "--show-forced-updates", "--stdin", "--submodule-prefix", "--tags", "--unshallow", "--update-head-ok", "--update-shallow", "--upload-pack", "--verbose", "--write-commit-graph", "--write-fetch-head", "-4", "-6", "-P", "-a", "-f", "-h", "-j", "-k", "-m", "-n", "-o", "-p", "-q", "-t", "-u", "-v"];
19356
+ readonly firstPassOptions: readonly ["--all", "--append", "--atomic", "--auto-gc", "--auto-maintenance", "--deepen", "--depth", "--dry-run", "--filter", "--force", "--help", "--help-all", "--ipv4", "--ipv6", "--jobs", "--keep", "--multiple", "--negotiate-only", "--negotiation-include", "--negotiation-restrict", "--negotiation-tip", "--no-all", "--no-append", "--no-atomic", "--no-auto-gc", "--no-auto-maintenance", "--no-deepen", "--no-depth", "--no-dry-run", "--no-filter", "--no-force", "--no-jobs", "--no-keep", "--no-multiple", "--no-negotiate-only", "--no-negotiation-include", "--no-negotiation-restrict", "--no-negotiation-tip", "--no-porcelain", "--no-prefetch", "--no-progress", "--no-prune", "--no-prune-tags", "--no-quiet", "--no-recurse-submodules", "--no-recurse-submodules-default", "--no-server-option", "--no-set-upstream", "--no-shallow-exclude", "--no-shallow-since", "--no-show-forced-updates", "--no-stdin", "--no-submodule-prefix", "--no-tags", "--no-update-head-ok", "--no-update-shallow", "--no-upload-pack", "--no-verbose", "--no-write-commit-graph", "--no-write-fetch-head", "--porcelain", "--prefetch", "--progress", "--prune", "--prune-tags", "--quiet", "--recurse-submodules", "--recurse-submodules-default", "--refetch", "--refmap", "--server-option", "--set-upstream", "--shallow-exclude", "--shallow-since", "--show-forced-updates", "--stdin", "--submodule-prefix", "--tags", "--unshallow", "--update-head-ok", "--update-shallow", "--upload-pack", "--verbose", "--write-commit-graph", "--write-fetch-head", "-4", "-6", "-P", "-a", "-f", "-h", "-j", "-k", "-m", "-n", "-o", "-p", "-q", "-t", "-u", "-v"];
19333
19357
  readonly firstPassLongNames: readonly ["all", "append", "atomic", "auto-gc", "auto-maintenance", "deepen", "depth", "dry-run", "filter", "force", "ipv4", "ipv6", "jobs", "keep", "multiple", "negotiate-only", "negotiation-include", "negotiation-restrict", "negotiation-tip", "porcelain", "prefetch", "progress", "prune", "prune-tags", "quiet", "recurse-submodules", "recurse-submodules-default", "refetch", "refmap", "server-option", "set-upstream", "shallow-exclude", "shallow-since", "show-forced-updates", "stdin", "submodule-prefix", "tags", "unshallow", "update-head-ok", "update-shallow", "upload-pack", "verbose", "write-commit-graph", "write-fetch-head"];
19334
19358
  readonly remainingOptions: RemainingOptions0Type;
19335
19359
  readonly remainingShortOptions: readonly [];
@@ -19629,6 +19653,10 @@ declare const commandSpec32: {
19629
19653
  readonly key: "help";
19630
19654
  readonly value: "flag";
19631
19655
  };
19656
+ readonly '--help-all': {
19657
+ readonly key: "help";
19658
+ readonly value: "flag";
19659
+ };
19632
19660
  readonly '--git-completion-helper': {
19633
19661
  readonly key: "help";
19634
19662
  readonly value: "flag";
@@ -19683,11 +19711,43 @@ declare const commandSpec32: {
19683
19711
  readonly origin: "git";
19684
19712
  readonly reason: "Bulk pushes cannot specify explicit refspecs.";
19685
19713
  readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/push.c";
19714
+ }, {
19715
+ readonly id: "cli.push.tag-shorthand";
19716
+ readonly kind: "scalar";
19717
+ readonly key: "operands";
19718
+ readonly parser: "refspec-operands";
19719
+ readonly guard: readonly [{
19720
+ readonly key: "delete";
19721
+ readonly test: "inactive";
19722
+ }];
19723
+ readonly origin: "git";
19724
+ readonly reason: "Refspec words must parse as refspecs, and a word 'tag' must be followed by a tag name that forms one.";
19725
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/push.c";
19726
+ }, {
19727
+ readonly id: "cli.push.delete-names";
19728
+ readonly kind: "scalar";
19729
+ readonly key: "operands";
19730
+ readonly parser: "push-delete-operands";
19731
+ readonly guard: readonly [{
19732
+ readonly key: "delete";
19733
+ readonly test: "active";
19734
+ }];
19735
+ readonly origin: "git";
19736
+ readonly reason: "--delete accepts only nonempty plain ref names without ':' that are valid ref names.";
19737
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/push.c";
19738
+ }, {
19739
+ readonly id: "cli.push.option-newline";
19740
+ readonly kind: "scalar";
19741
+ readonly key: "push-option";
19742
+ readonly parser: "push-option-text";
19743
+ readonly origin: "git";
19744
+ readonly reason: "Push options must not contain newline characters.";
19745
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/push.c";
19686
19746
  }];
19687
19747
  readonly source: "builtin/push.c";
19688
19748
  readonly separator: true;
19689
19749
  readonly parserExit: {
19690
- readonly flags: readonly ["-h", "--help"];
19750
+ readonly flags: readonly ["-h", "--help", "--help-all"];
19691
19751
  readonly origin: "git";
19692
19752
  readonly reason: "The ordinary parser resolves native aliases, prefixes, clusters and callbacks before help and final semantic rules; both end markers are consumed.";
19693
19753
  readonly source: "Git 2.55.0 builtin/push.c:cmd_push; parse-options.c:preprocess_options/register_abbrev/parse_long_opt/parse_options; git.c:handle_builtin";
@@ -20415,13 +20475,19 @@ declare const commandSpec32: {
20415
20475
  readonly '--verify': "--verify";
20416
20476
  };
20417
20477
  };
20418
- readonly firstPassOptions: readonly ["--all", "--atomic", "--branches", "--delete", "--dry-run", "--exec", "--follow-tags", "--force", "--force-if-includes", "--force-with-lease", "--help", "--ipv4", "--ipv6", "--mirror", "--no-all", "--no-atomic", "--no-branches", "--no-delete", "--no-dry-run", "--no-exec", "--no-follow-tags", "--no-force", "--no-force-if-includes", "--no-force-with-lease", "--no-mirror", "--no-no-verify", "--no-porcelain", "--no-progress", "--no-prune", "--no-push-option", "--no-quiet", "--no-receive-pack", "--no-recurse-submodules", "--no-repo", "--no-set-upstream", "--no-signed", "--no-tags", "--no-thin", "--no-verbose", "--no-verify", "--porcelain", "--progress", "--prune", "--push-option", "--quiet", "--receive-pack", "--recurse-submodules", "--repo", "--set-upstream", "--signed", "--tags", "--thin", "--verbose", "--verify", "-4", "-6", "-d", "-f", "-h", "-n", "-o", "-q", "-u", "-v"];
20478
+ readonly firstPassOptions: readonly ["--all", "--atomic", "--branches", "--delete", "--dry-run", "--exec", "--follow-tags", "--force", "--force-if-includes", "--force-with-lease", "--help", "--help-all", "--ipv4", "--ipv6", "--mirror", "--no-all", "--no-atomic", "--no-branches", "--no-delete", "--no-dry-run", "--no-exec", "--no-follow-tags", "--no-force", "--no-force-if-includes", "--no-force-with-lease", "--no-mirror", "--no-no-verify", "--no-porcelain", "--no-progress", "--no-prune", "--no-push-option", "--no-quiet", "--no-receive-pack", "--no-recurse-submodules", "--no-repo", "--no-set-upstream", "--no-signed", "--no-tags", "--no-thin", "--no-verbose", "--no-verify", "--porcelain", "--progress", "--prune", "--push-option", "--quiet", "--receive-pack", "--recurse-submodules", "--repo", "--set-upstream", "--signed", "--tags", "--thin", "--verbose", "--verify", "-4", "-6", "-d", "-f", "-h", "-n", "-o", "-q", "-u", "-v"];
20419
20479
  readonly firstPassLongNames: readonly ["all", "atomic", "branches", "delete", "dry-run", "exec", "follow-tags", "force", "force-if-includes", "force-with-lease", "ipv4", "ipv6", "mirror", "no-verify", "porcelain", "progress", "prune", "push-option", "quiet", "receive-pack", "recurse-submodules", "repo", "set-upstream", "signed", "tags", "thin", "verbose"];
20420
20480
  readonly remainingOptions: RemainingOptions0Type;
20421
20481
  readonly remainingShortOptions: readonly [];
20422
20482
  readonly remainingLongNames: readonly [];
20423
20483
  readonly remainingDetachedOptions: readonly [];
20424
20484
  };
20485
+ readonly forwardedOperands: {
20486
+ readonly origin: "type-git";
20487
+ readonly firstForwarded: 1;
20488
+ readonly reason: "Push consumes its own -- and, when the repository word names a remote group with several members, runs one child git push per member remote with the refspec words but no separator, where a dash-prefixed refspec word is read as an option (for example --force); such refspec operands are rejected even after --. The repository word itself is not forwarded (each child gets a member remote's name).";
20489
+ readonly source: "Git 2.55.0 builtin/push.c:cmd_push/push_multiple; remote.c:add_remote_or_group";
20490
+ };
20425
20491
  };
20426
20492
  declare const commandSpec33: {
20427
20493
  readonly argv: readonly ["branch"];
@@ -21529,6 +21595,471 @@ declare const commandSpec33: {
21529
21595
  readonly test: "equals";
21530
21596
  readonly value: "override";
21531
21597
  }];
21598
+ }, {
21599
+ readonly id: "branch-create-name";
21600
+ readonly kind: "scalar";
21601
+ readonly key: "operand0";
21602
+ readonly parser: "branch-name";
21603
+ readonly guard: readonly [{
21604
+ readonly key: "delete";
21605
+ readonly test: "inactive";
21606
+ }, {
21607
+ readonly key: "D";
21608
+ readonly test: "inactive";
21609
+ }, {
21610
+ readonly key: "move";
21611
+ readonly test: "inactive";
21612
+ }, {
21613
+ readonly key: "M";
21614
+ readonly test: "inactive";
21615
+ }, {
21616
+ readonly key: "copy";
21617
+ readonly test: "inactive";
21618
+ }, {
21619
+ readonly key: "C";
21620
+ readonly test: "inactive";
21621
+ }, {
21622
+ readonly key: "list";
21623
+ readonly test: "inactive";
21624
+ }, {
21625
+ readonly key: "contains";
21626
+ readonly test: "inactive";
21627
+ }, {
21628
+ readonly key: "no-contains";
21629
+ readonly test: "inactive";
21630
+ }, {
21631
+ readonly key: "with";
21632
+ readonly test: "inactive";
21633
+ }, {
21634
+ readonly key: "without";
21635
+ readonly test: "inactive";
21636
+ }, {
21637
+ readonly key: "merged";
21638
+ readonly test: "inactive";
21639
+ }, {
21640
+ readonly key: "no-merged";
21641
+ readonly test: "inactive";
21642
+ }, {
21643
+ readonly key: "points-at";
21644
+ readonly test: "inactive";
21645
+ }, {
21646
+ readonly key: "show-current";
21647
+ readonly test: "inactive";
21648
+ }, {
21649
+ readonly key: "edit-description";
21650
+ readonly test: "inactive";
21651
+ }, {
21652
+ readonly key: "set-upstream-to";
21653
+ readonly test: "inactive";
21654
+ }, {
21655
+ readonly key: "unset-upstream";
21656
+ readonly test: "inactive";
21657
+ }];
21658
+ readonly origin: "git";
21659
+ readonly reason: "A new branch name must pass check_branch_ref: no leading '-', not HEAD, and check_refname_format on refs/heads/<name> (names that @{-N} or an @{upstream}/@{push} mark can rewrite are left to native Git).";
21660
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch -> branch.c:create_branch/validate_new_branchname -> refs.c:check_branch_ref/check_refname_format";
21661
+ }, {
21662
+ readonly id: "branch-move-new-name";
21663
+ readonly kind: "scalar";
21664
+ readonly key: "operand1";
21665
+ readonly parser: "branch-name";
21666
+ readonly guard: readonly [{
21667
+ readonly key: "move";
21668
+ readonly test: "active";
21669
+ }];
21670
+ readonly origin: "git";
21671
+ readonly reason: "The rename or copy target must be a valid new branch name (check_branch_ref).";
21672
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21673
+ }, {
21674
+ readonly id: "branch-move-sole-new-name";
21675
+ readonly kind: "scalar";
21676
+ readonly key: "operand0";
21677
+ readonly parser: "branch-name";
21678
+ readonly guard: readonly [{
21679
+ readonly key: "move";
21680
+ readonly test: "active";
21681
+ }, {
21682
+ readonly key: "operands";
21683
+ readonly test: "lengthEquals";
21684
+ readonly value: 1;
21685
+ }];
21686
+ readonly origin: "git";
21687
+ readonly reason: "A sole rename or copy operand is the target name and must be a valid new branch name (check_branch_ref).";
21688
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21689
+ }, {
21690
+ readonly id: "branch-M-new-name";
21691
+ readonly kind: "scalar";
21692
+ readonly key: "operand1";
21693
+ readonly parser: "branch-name";
21694
+ readonly guard: readonly [{
21695
+ readonly key: "M";
21696
+ readonly test: "active";
21697
+ }];
21698
+ readonly origin: "git";
21699
+ readonly reason: "The rename or copy target must be a valid new branch name (check_branch_ref).";
21700
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21701
+ }, {
21702
+ readonly id: "branch-M-sole-new-name";
21703
+ readonly kind: "scalar";
21704
+ readonly key: "operand0";
21705
+ readonly parser: "branch-name";
21706
+ readonly guard: readonly [{
21707
+ readonly key: "M";
21708
+ readonly test: "active";
21709
+ }, {
21710
+ readonly key: "operands";
21711
+ readonly test: "lengthEquals";
21712
+ readonly value: 1;
21713
+ }];
21714
+ readonly origin: "git";
21715
+ readonly reason: "A sole rename or copy operand is the target name and must be a valid new branch name (check_branch_ref).";
21716
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21717
+ }, {
21718
+ readonly id: "branch-copy-new-name";
21719
+ readonly kind: "scalar";
21720
+ readonly key: "operand1";
21721
+ readonly parser: "branch-name";
21722
+ readonly guard: readonly [{
21723
+ readonly key: "copy";
21724
+ readonly test: "active";
21725
+ }];
21726
+ readonly origin: "git";
21727
+ readonly reason: "The rename or copy target must be a valid new branch name (check_branch_ref).";
21728
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21729
+ }, {
21730
+ readonly id: "branch-copy-sole-new-name";
21731
+ readonly kind: "scalar";
21732
+ readonly key: "operand0";
21733
+ readonly parser: "branch-name";
21734
+ readonly guard: readonly [{
21735
+ readonly key: "copy";
21736
+ readonly test: "active";
21737
+ }, {
21738
+ readonly key: "operands";
21739
+ readonly test: "lengthEquals";
21740
+ readonly value: 1;
21741
+ }];
21742
+ readonly origin: "git";
21743
+ readonly reason: "A sole rename or copy operand is the target name and must be a valid new branch name (check_branch_ref).";
21744
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21745
+ }, {
21746
+ readonly id: "branch-C-new-name";
21747
+ readonly kind: "scalar";
21748
+ readonly key: "operand1";
21749
+ readonly parser: "branch-name";
21750
+ readonly guard: readonly [{
21751
+ readonly key: "C";
21752
+ readonly test: "active";
21753
+ }];
21754
+ readonly origin: "git";
21755
+ readonly reason: "The rename or copy target must be a valid new branch name (check_branch_ref).";
21756
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21757
+ }, {
21758
+ readonly id: "branch-C-sole-new-name";
21759
+ readonly kind: "scalar";
21760
+ readonly key: "operand0";
21761
+ readonly parser: "branch-name";
21762
+ readonly guard: readonly [{
21763
+ readonly key: "C";
21764
+ readonly test: "active";
21765
+ }, {
21766
+ readonly key: "operands";
21767
+ readonly test: "lengthEquals";
21768
+ readonly value: 1;
21769
+ }];
21770
+ readonly origin: "git";
21771
+ readonly reason: "A sole rename or copy operand is the target name and must be a valid new branch name (check_branch_ref).";
21772
+ readonly source: "Git 2.55.0 builtin/branch.c:copy_or_rename_branch -> branch.c:validate_branchname -> refs.c:check_branch_ref";
21773
+ }, {
21774
+ readonly id: "cli.branch.column-verbose";
21775
+ readonly kind: "forbid";
21776
+ readonly when: readonly [{
21777
+ readonly key: "column";
21778
+ readonly test: "equals";
21779
+ readonly value: "always";
21780
+ }, {
21781
+ readonly key: "verbose";
21782
+ readonly test: "nonempty";
21783
+ }];
21784
+ readonly origin: "git";
21785
+ readonly reason: "Explicitly enabled columns conflict with verbose listing. --column=auto depends on the terminal (or GIT_PAGER_IN_USE), which native Git decides; column.ui never triggers the conflict.";
21786
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/branch.c";
21787
+ }, {
21788
+ readonly id: "cli.branch.format-list";
21789
+ readonly kind: "scalar";
21790
+ readonly key: "format";
21791
+ readonly parser: "ref-format";
21792
+ readonly guard: readonly [{
21793
+ readonly key: "list";
21794
+ readonly test: "active";
21795
+ }];
21796
+ readonly origin: "git";
21797
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21798
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21799
+ }, {
21800
+ readonly id: "cli.branch.sort-list";
21801
+ readonly kind: "eachScalar";
21802
+ readonly key: "sort";
21803
+ readonly parser: "ref-sort-key";
21804
+ readonly guard: readonly [{
21805
+ readonly key: "list";
21806
+ readonly test: "active";
21807
+ }];
21808
+ readonly origin: "git";
21809
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21810
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21811
+ }, {
21812
+ readonly id: "cli.branch.format-contains";
21813
+ readonly kind: "scalar";
21814
+ readonly key: "format";
21815
+ readonly parser: "ref-format";
21816
+ readonly guard: readonly [{
21817
+ readonly key: "contains";
21818
+ readonly test: "active";
21819
+ }];
21820
+ readonly origin: "git";
21821
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21822
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21823
+ }, {
21824
+ readonly id: "cli.branch.sort-contains";
21825
+ readonly kind: "eachScalar";
21826
+ readonly key: "sort";
21827
+ readonly parser: "ref-sort-key";
21828
+ readonly guard: readonly [{
21829
+ readonly key: "contains";
21830
+ readonly test: "active";
21831
+ }];
21832
+ readonly origin: "git";
21833
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21834
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21835
+ }, {
21836
+ readonly id: "cli.branch.format-no-contains";
21837
+ readonly kind: "scalar";
21838
+ readonly key: "format";
21839
+ readonly parser: "ref-format";
21840
+ readonly guard: readonly [{
21841
+ readonly key: "no-contains";
21842
+ readonly test: "active";
21843
+ }];
21844
+ readonly origin: "git";
21845
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21846
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21847
+ }, {
21848
+ readonly id: "cli.branch.sort-no-contains";
21849
+ readonly kind: "eachScalar";
21850
+ readonly key: "sort";
21851
+ readonly parser: "ref-sort-key";
21852
+ readonly guard: readonly [{
21853
+ readonly key: "no-contains";
21854
+ readonly test: "active";
21855
+ }];
21856
+ readonly origin: "git";
21857
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21858
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21859
+ }, {
21860
+ readonly id: "cli.branch.format-with";
21861
+ readonly kind: "scalar";
21862
+ readonly key: "format";
21863
+ readonly parser: "ref-format";
21864
+ readonly guard: readonly [{
21865
+ readonly key: "with";
21866
+ readonly test: "active";
21867
+ }];
21868
+ readonly origin: "git";
21869
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21870
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21871
+ }, {
21872
+ readonly id: "cli.branch.sort-with";
21873
+ readonly kind: "eachScalar";
21874
+ readonly key: "sort";
21875
+ readonly parser: "ref-sort-key";
21876
+ readonly guard: readonly [{
21877
+ readonly key: "with";
21878
+ readonly test: "active";
21879
+ }];
21880
+ readonly origin: "git";
21881
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21882
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21883
+ }, {
21884
+ readonly id: "cli.branch.format-without";
21885
+ readonly kind: "scalar";
21886
+ readonly key: "format";
21887
+ readonly parser: "ref-format";
21888
+ readonly guard: readonly [{
21889
+ readonly key: "without";
21890
+ readonly test: "active";
21891
+ }];
21892
+ readonly origin: "git";
21893
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21894
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21895
+ }, {
21896
+ readonly id: "cli.branch.sort-without";
21897
+ readonly kind: "eachScalar";
21898
+ readonly key: "sort";
21899
+ readonly parser: "ref-sort-key";
21900
+ readonly guard: readonly [{
21901
+ readonly key: "without";
21902
+ readonly test: "active";
21903
+ }];
21904
+ readonly origin: "git";
21905
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21906
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21907
+ }, {
21908
+ readonly id: "cli.branch.format-merged";
21909
+ readonly kind: "scalar";
21910
+ readonly key: "format";
21911
+ readonly parser: "ref-format";
21912
+ readonly guard: readonly [{
21913
+ readonly key: "merged";
21914
+ readonly test: "active";
21915
+ }];
21916
+ readonly origin: "git";
21917
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21918
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21919
+ }, {
21920
+ readonly id: "cli.branch.sort-merged";
21921
+ readonly kind: "eachScalar";
21922
+ readonly key: "sort";
21923
+ readonly parser: "ref-sort-key";
21924
+ readonly guard: readonly [{
21925
+ readonly key: "merged";
21926
+ readonly test: "active";
21927
+ }];
21928
+ readonly origin: "git";
21929
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21930
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21931
+ }, {
21932
+ readonly id: "cli.branch.format-no-merged";
21933
+ readonly kind: "scalar";
21934
+ readonly key: "format";
21935
+ readonly parser: "ref-format";
21936
+ readonly guard: readonly [{
21937
+ readonly key: "no-merged";
21938
+ readonly test: "active";
21939
+ }];
21940
+ readonly origin: "git";
21941
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21942
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21943
+ }, {
21944
+ readonly id: "cli.branch.sort-no-merged";
21945
+ readonly kind: "eachScalar";
21946
+ readonly key: "sort";
21947
+ readonly parser: "ref-sort-key";
21948
+ readonly guard: readonly [{
21949
+ readonly key: "no-merged";
21950
+ readonly test: "active";
21951
+ }];
21952
+ readonly origin: "git";
21953
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21954
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21955
+ }, {
21956
+ readonly id: "cli.branch.format-points-at";
21957
+ readonly kind: "scalar";
21958
+ readonly key: "format";
21959
+ readonly parser: "ref-format";
21960
+ readonly guard: readonly [{
21961
+ readonly key: "points-at";
21962
+ readonly test: "active";
21963
+ }];
21964
+ readonly origin: "git";
21965
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
21966
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21967
+ }, {
21968
+ readonly id: "cli.branch.sort-points-at";
21969
+ readonly kind: "eachScalar";
21970
+ readonly key: "sort";
21971
+ readonly parser: "ref-sort-key";
21972
+ readonly guard: readonly [{
21973
+ readonly key: "points-at";
21974
+ readonly test: "active";
21975
+ }];
21976
+ readonly origin: "git";
21977
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
21978
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21979
+ }, {
21980
+ readonly id: "cli.branch.format-implicit";
21981
+ readonly kind: "scalar";
21982
+ readonly key: "format";
21983
+ readonly parser: "ref-format";
21984
+ readonly guard: readonly [{
21985
+ readonly key: "operand0";
21986
+ readonly test: "inactive";
21987
+ }, {
21988
+ readonly key: "delete";
21989
+ readonly test: "inactive";
21990
+ }, {
21991
+ readonly key: "D";
21992
+ readonly test: "inactive";
21993
+ }, {
21994
+ readonly key: "move";
21995
+ readonly test: "inactive";
21996
+ }, {
21997
+ readonly key: "M";
21998
+ readonly test: "inactive";
21999
+ }, {
22000
+ readonly key: "copy";
22001
+ readonly test: "inactive";
22002
+ }, {
22003
+ readonly key: "C";
22004
+ readonly test: "inactive";
22005
+ }, {
22006
+ readonly key: "edit-description";
22007
+ readonly test: "inactive";
22008
+ }, {
22009
+ readonly key: "set-upstream-to";
22010
+ readonly test: "inactive";
22011
+ }, {
22012
+ readonly key: "show-current";
22013
+ readonly test: "inactive";
22014
+ }, {
22015
+ readonly key: "unset-upstream";
22016
+ readonly test: "inactive";
22017
+ }];
22018
+ readonly origin: "git";
22019
+ readonly reason: "In list mode, --format must parse as a ref-filter format: every %( needs a ), each atom must be known with arguments its parser accepts, and %(rest) is rejected.";
22020
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
22021
+ }, {
22022
+ readonly id: "cli.branch.sort-implicit";
22023
+ readonly kind: "eachScalar";
22024
+ readonly key: "sort";
22025
+ readonly parser: "ref-sort-key";
22026
+ readonly guard: readonly [{
22027
+ readonly key: "operand0";
22028
+ readonly test: "inactive";
22029
+ }, {
22030
+ readonly key: "delete";
22031
+ readonly test: "inactive";
22032
+ }, {
22033
+ readonly key: "D";
22034
+ readonly test: "inactive";
22035
+ }, {
22036
+ readonly key: "move";
22037
+ readonly test: "inactive";
22038
+ }, {
22039
+ readonly key: "M";
22040
+ readonly test: "inactive";
22041
+ }, {
22042
+ readonly key: "copy";
22043
+ readonly test: "inactive";
22044
+ }, {
22045
+ readonly key: "C";
22046
+ readonly test: "inactive";
22047
+ }, {
22048
+ readonly key: "edit-description";
22049
+ readonly test: "inactive";
22050
+ }, {
22051
+ readonly key: "set-upstream-to";
22052
+ readonly test: "inactive";
22053
+ }, {
22054
+ readonly key: "show-current";
22055
+ readonly test: "inactive";
22056
+ }, {
22057
+ readonly key: "unset-upstream";
22058
+ readonly test: "inactive";
22059
+ }];
22060
+ readonly origin: "git";
22061
+ readonly reason: "In list mode, each --sort key is an optional '-', an optional version: or v:, and a ref-filter atom with arguments its parser accepts.";
22062
+ readonly source: "Git 2.55.0 builtin/branch.c:cmd_branch list mode -> ref-filter.c:ref_sorting_options/parse_ref_sorting and print_ref_list -> verify_ref_format/parse_ref_filter_atom";
21532
22063
  }];
21533
22064
  readonly source: "builtin/branch.c";
21534
22065
  readonly separator: true;
@@ -24230,6 +24761,63 @@ declare const commandSpec35: {
24230
24761
  readonly test: "equals";
24231
24762
  readonly value: "";
24232
24763
  }];
24764
+ }, {
24765
+ readonly id: "switch-track-start-point";
24766
+ readonly kind: "scalar";
24767
+ readonly key: "operand0";
24768
+ readonly parser: "track-start-point";
24769
+ readonly guard: readonly [{
24770
+ readonly key: "track";
24771
+ readonly test: "present";
24772
+ }, {
24773
+ readonly key: "create";
24774
+ readonly test: "inactive";
24775
+ }, {
24776
+ readonly key: "force-create";
24777
+ readonly test: "inactive";
24778
+ }, {
24779
+ readonly key: "orphan";
24780
+ readonly test: "inactive";
24781
+ }];
24782
+ readonly origin: "git";
24783
+ readonly reason: "--track or --no-track without -c, -C or --orphan names the new branch after the first '/' of the start point (after refs/ and remotes/), which must leave a nonempty name that check_branch_ref accepts; a help exit happens first.";
24784
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/checkout.c";
24785
+ }, {
24786
+ readonly id: "switch-create-name";
24787
+ readonly kind: "scalar";
24788
+ readonly key: "create";
24789
+ readonly parser: "branch-name";
24790
+ readonly guard: readonly [{
24791
+ readonly key: "create";
24792
+ readonly test: "nonempty";
24793
+ }];
24794
+ readonly origin: "git";
24795
+ readonly reason: "A nonempty -c name must pass validate_new_branchname or validate_branchname (check_branch_ref: no leading '-', not HEAD, a valid refs/heads/<name>); a leading @{-N} or an @{u}/@{push} mark is rewritten from the repository first. A help exit happens first.";
24796
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/checkout.c";
24797
+ }, {
24798
+ readonly id: "switch-force-create-name";
24799
+ readonly kind: "scalar";
24800
+ readonly key: "force-create";
24801
+ readonly parser: "branch-name";
24802
+ readonly guard: readonly [{
24803
+ readonly key: "force-create";
24804
+ readonly test: "nonempty";
24805
+ }];
24806
+ readonly origin: "git";
24807
+ readonly reason: "A nonempty -C name must pass validate_new_branchname or validate_branchname (check_branch_ref: no leading '-', not HEAD, a valid refs/heads/<name>); a leading @{-N} or an @{u}/@{push} mark is rewritten from the repository first. A help exit happens first.";
24808
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/checkout.c";
24809
+ }, {
24810
+ readonly id: "switch-orphan-name";
24811
+ readonly kind: "scalar";
24812
+ readonly key: "orphan";
24813
+ readonly parser: "branch-name";
24814
+ readonly guard: readonly [{
24815
+ readonly key: "orphan";
24816
+ readonly test: "nonempty";
24817
+ }];
24818
+ readonly origin: "git";
24819
+ readonly reason: "A nonempty --orphan name must pass validate_new_branchname or validate_branchname (check_branch_ref: no leading '-', not HEAD, a valid refs/heads/<name>); a leading @{-N} or an @{u}/@{push} mark is rewritten from the repository first. A help exit happens first.";
24820
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/checkout.c";
24233
24821
  }];
24234
24822
  readonly source: "builtin/checkout.c";
24235
24823
  readonly separator: true;
@@ -25314,6 +25902,17 @@ declare const commandSpec36: {
25314
25902
  readonly test: "includes";
25315
25903
  readonly valueKey: "empty-pathspec";
25316
25904
  }];
25905
+ }, {
25906
+ readonly id: "restore-empty-source";
25907
+ readonly kind: "forbid";
25908
+ readonly reason: "An empty --source never resolves, so checkout_main dies with \"could not resolve ''\"; --no-source unsets it and a help exit happens first.";
25909
+ readonly when: readonly [{
25910
+ readonly key: "source";
25911
+ readonly test: "equals";
25912
+ readonly value: "";
25913
+ }];
25914
+ readonly origin: "git";
25915
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/checkout.c";
25317
25916
  }];
25318
25917
  readonly source: "builtin/checkout.c";
25319
25918
  readonly separator: true;
@@ -25930,6 +26529,9 @@ declare const commandSpec36: {
25930
26529
  };
25931
26530
  declare const commandSpec37: {
25932
26531
  readonly argv: readonly ["reset"];
26532
+ readonly initial: {
26533
+ readonly 'empty-operand': "";
26534
+ };
25933
26535
  readonly options: {
25934
26536
  readonly '--quiet': {
25935
26537
  readonly key: "quiet";
@@ -26310,6 +26912,17 @@ declare const commandSpec37: {
26310
26912
  readonly key: "pathspec-from-file";
26311
26913
  readonly test: "present";
26312
26914
  }];
26915
+ }, {
26916
+ readonly id: "cli.reset.empty-operand";
26917
+ readonly kind: "forbid";
26918
+ readonly origin: "git";
26919
+ readonly source: "Git 2.55.0 builtin/reset.c:parse_args; pathspec.c:init_pathspec_item";
26920
+ readonly reason: "An empty word is never a revision. As the first retained word without a recognized separator, verify_filename refuses it as ambiguous; after the revision or a separator, parse_pathspec refuses it as an empty pathspec; as the revision before a separator it cannot resolve.";
26921
+ readonly when: readonly [{
26922
+ readonly key: "operands";
26923
+ readonly test: "includes";
26924
+ readonly valueKey: "empty-operand";
26925
+ }];
26313
26926
  }];
26314
26927
  readonly source: "builtin/reset.c";
26315
26928
  readonly separator: true;
@@ -29378,6 +29991,10 @@ declare const commandSpec39: {
29378
29991
  };
29379
29992
  declare const commandSpec40: {
29380
29993
  readonly argv: readonly ["stash", "apply"];
29994
+ readonly initial: {
29995
+ readonly 'empty-stash-reference': "";
29996
+ readonly 'expanded-stash-reference': "refs/stash@{}";
29997
+ };
29381
29998
  readonly options: {
29382
29999
  readonly '--quiet': {
29383
30000
  readonly key: "quiet";
@@ -29457,6 +30074,28 @@ declare const commandSpec40: {
29457
30074
  readonly key: "operands";
29458
30075
  readonly min: 0;
29459
30076
  readonly max: 1;
30077
+ }, {
30078
+ readonly id: "stash-apply-empty-stash-reference";
30079
+ readonly kind: "forbid";
30080
+ readonly origin: "git";
30081
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30082
+ readonly reason: "An explicit empty stash reference expands to refs/stash@{}, which is not a valid revision (get_stash_info); a help exit happens first.";
30083
+ readonly when: readonly [{
30084
+ readonly key: "operands";
30085
+ readonly test: "includes";
30086
+ readonly valueKey: "empty-stash-reference";
30087
+ }];
30088
+ }, {
30089
+ readonly id: "stash-apply-expanded-stash-reference";
30090
+ readonly kind: "forbid";
30091
+ readonly origin: "git";
30092
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30093
+ readonly reason: "An explicit refs/stash@{}, the form an empty stash reference expands to, is not a valid revision whatever the repository holds (get_stash_info); a help exit happens first.";
30094
+ readonly when: readonly [{
30095
+ readonly key: "operands";
30096
+ readonly test: "includes";
30097
+ readonly valueKey: "expanded-stash-reference";
30098
+ }];
29460
30099
  }];
29461
30100
  readonly source: "builtin/stash.c";
29462
30101
  readonly separator: true;
@@ -29611,6 +30250,10 @@ declare const commandSpec40: {
29611
30250
  };
29612
30251
  declare const commandSpec41: {
29613
30252
  readonly argv: readonly ["stash", "drop"];
30253
+ readonly initial: {
30254
+ readonly 'empty-stash-reference': "";
30255
+ readonly 'expanded-stash-reference': "refs/stash@{}";
30256
+ };
29614
30257
  readonly options: {
29615
30258
  readonly '--quiet': {
29616
30259
  readonly key: "quiet";
@@ -29654,6 +30297,28 @@ declare const commandSpec41: {
29654
30297
  readonly key: "operands";
29655
30298
  readonly min: 0;
29656
30299
  readonly max: 1;
30300
+ }, {
30301
+ readonly id: "stash-drop-empty-stash-reference";
30302
+ readonly kind: "forbid";
30303
+ readonly origin: "git";
30304
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30305
+ readonly reason: "An explicit empty stash reference expands to refs/stash@{}, which is not a valid revision (get_stash_info); a help exit happens first.";
30306
+ readonly when: readonly [{
30307
+ readonly key: "operands";
30308
+ readonly test: "includes";
30309
+ readonly valueKey: "empty-stash-reference";
30310
+ }];
30311
+ }, {
30312
+ readonly id: "stash-drop-expanded-stash-reference";
30313
+ readonly kind: "forbid";
30314
+ readonly origin: "git";
30315
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30316
+ readonly reason: "An explicit refs/stash@{}, the form an empty stash reference expands to, is not a valid revision whatever the repository holds (get_stash_info); a help exit happens first.";
30317
+ readonly when: readonly [{
30318
+ readonly key: "operands";
30319
+ readonly test: "includes";
30320
+ readonly valueKey: "expanded-stash-reference";
30321
+ }];
29657
30322
  }];
29658
30323
  readonly source: "builtin/stash.c";
29659
30324
  readonly separator: true;
@@ -29708,6 +30373,10 @@ declare const commandSpec41: {
29708
30373
  };
29709
30374
  declare const commandSpec42: {
29710
30375
  readonly argv: readonly ["stash", "pop"];
30376
+ readonly initial: {
30377
+ readonly 'empty-stash-reference': "";
30378
+ readonly 'expanded-stash-reference': "refs/stash@{}";
30379
+ };
29711
30380
  readonly options: {
29712
30381
  readonly '--quiet': {
29713
30382
  readonly key: "quiet";
@@ -29760,6 +30429,28 @@ declare const commandSpec42: {
29760
30429
  readonly key: "operands";
29761
30430
  readonly min: 0;
29762
30431
  readonly max: 1;
30432
+ }, {
30433
+ readonly id: "stash-pop-empty-stash-reference";
30434
+ readonly kind: "forbid";
30435
+ readonly origin: "git";
30436
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30437
+ readonly reason: "An explicit empty stash reference expands to refs/stash@{}, which is not a valid revision (get_stash_info); a help exit happens first.";
30438
+ readonly when: readonly [{
30439
+ readonly key: "operands";
30440
+ readonly test: "includes";
30441
+ readonly valueKey: "empty-stash-reference";
30442
+ }];
30443
+ }, {
30444
+ readonly id: "stash-pop-expanded-stash-reference";
30445
+ readonly kind: "forbid";
30446
+ readonly origin: "git";
30447
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L225-L279";
30448
+ readonly reason: "An explicit refs/stash@{}, the form an empty stash reference expands to, is not a valid revision whatever the repository holds (get_stash_info); a help exit happens first.";
30449
+ readonly when: readonly [{
30450
+ readonly key: "operands";
30451
+ readonly test: "includes";
30452
+ readonly valueKey: "expanded-stash-reference";
30453
+ }];
29763
30454
  }];
29764
30455
  readonly source: "builtin/stash.c";
29765
30456
  readonly separator: true;
@@ -29834,6 +30525,9 @@ declare const commandSpec42: {
29834
30525
  };
29835
30526
  declare const commandSpec43: {
29836
30527
  readonly argv: readonly ["stash", "branch"];
30528
+ readonly initial: {
30529
+ readonly 'empty-operand': "";
30530
+ };
29837
30531
  readonly options: {
29838
30532
  readonly '--help': {
29839
30533
  readonly key: "help";
@@ -29861,6 +30555,36 @@ declare const commandSpec43: {
29861
30555
  readonly key: "operands";
29862
30556
  readonly min: 1;
29863
30557
  readonly max: 2;
30558
+ }, {
30559
+ readonly id: "stash-branch-empty-operand";
30560
+ readonly kind: "forbid";
30561
+ readonly origin: "git";
30562
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L911-L949";
30563
+ readonly reason: "An empty branch name fails checkout -b, and an empty stash reference expands to refs/stash@{}, which is not a valid revision; a help exit happens first.";
30564
+ readonly when: readonly [{
30565
+ readonly key: "operands";
30566
+ readonly test: "includes";
30567
+ readonly valueKey: "empty-operand";
30568
+ }];
30569
+ }, {
30570
+ readonly id: "stash-branch-expanded-stash-reference";
30571
+ readonly kind: "forbid";
30572
+ readonly origin: "git";
30573
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L911-L949";
30574
+ readonly reason: "An explicit refs/stash@{} as the stash reference, the form an empty reference expands to, is not a valid revision whatever the repository holds (get_stash_info); a help exit happens first.";
30575
+ readonly when: readonly [{
30576
+ readonly key: "operand1";
30577
+ readonly test: "equals";
30578
+ readonly value: "refs/stash@{}";
30579
+ }];
30580
+ }, {
30581
+ readonly id: "stash-branch-name";
30582
+ readonly kind: "scalar";
30583
+ readonly key: "operand0";
30584
+ readonly parser: "branch-name";
30585
+ readonly origin: "git";
30586
+ readonly reason: "The branch name is passed to checkout -b, which refuses names that fail check_branch_ref; names rewritten from @{-N} or upstream marks are left to Git.";
30587
+ readonly source: "Git 2.55.0 builtin/stash.c:branch_stash -> builtin/checkout.c -> branch.c:validate_new_branchname -> refs.c:check_branch_ref";
29864
30588
  }];
29865
30589
  readonly source: "builtin/stash.c";
29866
30590
  readonly separator: true;
@@ -29889,6 +30613,9 @@ declare const commandSpec43: {
29889
30613
  };
29890
30614
  declare const commandSpec44: {
29891
30615
  readonly argv: readonly ["stash", "store"];
30616
+ readonly initial: {
30617
+ readonly 'empty-operand': "";
30618
+ };
29892
30619
  readonly options: {
29893
30620
  readonly '--quiet': {
29894
30621
  readonly key: "quiet";
@@ -29945,6 +30672,17 @@ declare const commandSpec44: {
29945
30672
  readonly key: "operands";
29946
30673
  readonly min: 1;
29947
30674
  readonly max: 1;
30675
+ }, {
30676
+ readonly id: "stash-store-empty-operand";
30677
+ readonly kind: "forbid";
30678
+ readonly origin: "git";
30679
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L1153-L1191";
30680
+ readonly reason: "An empty commit name never resolves (repo_get_oid), so store fails with or without --quiet; a help exit happens first.";
30681
+ readonly when: readonly [{
30682
+ readonly key: "operands";
30683
+ readonly test: "includes";
30684
+ readonly valueKey: "empty-operand";
30685
+ }];
29948
30686
  }];
29949
30687
  readonly source: "builtin/stash.c";
29950
30688
  readonly separator: true;
@@ -31332,6 +32070,9 @@ declare const commandSpec46: {
31332
32070
  };
31333
32071
  declare const commandSpec47: {
31334
32072
  readonly argv: readonly ["stash", "import"];
32073
+ readonly initial: {
32074
+ readonly 'empty-operand': "";
32075
+ };
31335
32076
  readonly options: {
31336
32077
  readonly '--help': {
31337
32078
  readonly key: "help";
@@ -31359,6 +32100,17 @@ declare const commandSpec47: {
31359
32100
  readonly key: "operands";
31360
32101
  readonly min: 1;
31361
32102
  readonly max: 1;
32103
+ }, {
32104
+ readonly id: "stash-import-empty-operand";
32105
+ readonly kind: "forbid";
32106
+ readonly origin: "git";
32107
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L2133-L2145";
32108
+ readonly reason: "An empty revision never resolves (do_import_stash: not a valid revision); a help exit happens first.";
32109
+ readonly when: readonly [{
32110
+ readonly key: "operands";
32111
+ readonly test: "includes";
32112
+ readonly valueKey: "empty-operand";
32113
+ }];
31362
32114
  }];
31363
32115
  readonly source: "builtin/stash.c";
31364
32116
  readonly separator: true;
@@ -31386,6 +32138,10 @@ declare const commandSpec47: {
31386
32138
  };
31387
32139
  declare const commandSpec48: {
31388
32140
  readonly argv: readonly ["stash", "export"];
32141
+ readonly initial: {
32142
+ readonly 'empty-stash-reference': "";
32143
+ readonly 'expanded-stash-reference': "refs/stash@{}";
32144
+ };
31389
32145
  readonly options: {
31390
32146
  readonly '--print': {
31391
32147
  readonly key: "print";
@@ -31443,6 +32199,58 @@ declare const commandSpec48: {
31443
32199
  readonly reason: "Stash export cannot print and update a ref together.";
31444
32200
  readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c";
31445
32201
  readonly keys: readonly ["print", "to-ref"];
32202
+ }, {
32203
+ readonly id: "stash-export-empty-stash-reference";
32204
+ readonly kind: "forbid";
32205
+ readonly origin: "git";
32206
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L2317-L2370";
32207
+ readonly reason: "An explicit empty stash entry expands to refs/stash@{}, which cannot be found (do_export_stash: unable to find stash entry); a help exit happens first.";
32208
+ readonly when: readonly [{
32209
+ readonly key: "operands";
32210
+ readonly test: "includes";
32211
+ readonly valueKey: "empty-stash-reference";
32212
+ }];
32213
+ }, {
32214
+ readonly id: "stash-export-expanded-stash-reference";
32215
+ readonly kind: "forbid";
32216
+ readonly origin: "git";
32217
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L2317-L2370";
32218
+ readonly reason: "An explicit refs/stash@{} is never a stash entry whatever the repository holds (do_export_stash: parse_stash_revision, repo_get_oid_with_flags), so the export cannot find it; a help exit happens first.";
32219
+ readonly when: readonly [{
32220
+ readonly key: "operands";
32221
+ readonly test: "includes";
32222
+ readonly valueKey: "expanded-stash-reference";
32223
+ }];
32224
+ }, {
32225
+ readonly id: "stash-export-to-ref";
32226
+ readonly kind: "scalar";
32227
+ readonly key: "to-ref";
32228
+ readonly parser: "refname-onelevel";
32229
+ readonly origin: "git";
32230
+ readonly reason: "refs_update_ref dies after writing the chain when --to-ref fails check_refname_format with REFNAME_ALLOW_ONELEVEL.";
32231
+ readonly source: "Git 2.55.0 builtin/stash.c:do_export_stash -> refs.c:ref_transaction_update/check_refname_format";
32232
+ }, {
32233
+ readonly id: "stash-export-to-ref-fetch-head";
32234
+ readonly kind: "forbid";
32235
+ readonly origin: "git";
32236
+ readonly source: "https://github.com/git/git/blob/v2.55.0/refs.c#L1367-L1372";
32237
+ readonly reason: "refs_update_ref refuses to update the pseudoref FETCH_HEAD; a help exit happens first.";
32238
+ readonly when: readonly [{
32239
+ readonly key: "to-ref";
32240
+ readonly test: "equals";
32241
+ readonly value: "FETCH_HEAD";
32242
+ }];
32243
+ }, {
32244
+ readonly id: "stash-export-to-ref-merge-head";
32245
+ readonly kind: "forbid";
32246
+ readonly origin: "git";
32247
+ readonly source: "https://github.com/git/git/blob/v2.55.0/refs.c#L1367-L1372";
32248
+ readonly reason: "refs_update_ref refuses to update the pseudoref MERGE_HEAD; a help exit happens first.";
32249
+ readonly when: readonly [{
32250
+ readonly key: "to-ref";
32251
+ readonly test: "equals";
32252
+ readonly value: "MERGE_HEAD";
32253
+ }];
31446
32254
  }];
31447
32255
  readonly source: "builtin/stash.c";
31448
32256
  readonly separator: true;
@@ -35811,6 +36619,33 @@ declare const commandSpec68: {
35811
36619
  readonly key: "stat-count";
35812
36620
  readonly test: "active";
35813
36621
  }];
36622
+ }, {
36623
+ readonly id: "log.line-range-syntax";
36624
+ readonly kind: "eachScalar";
36625
+ readonly key: "L";
36626
+ readonly parser: "log-line-range";
36627
+ readonly origin: "git";
36628
+ readonly reason: "Every -L value must scan as <start>,<end> or :<funcname> followed by ':' and a nonempty file name, and a numeric boundary must be a positive line number or a nonzero relative length. Regular expressions, function names, line counts and the file itself are checked against the repository by Git.";
36629
+ readonly source: "Git 2.55.0 line-log.c:parse_lines; line-range.c:skip_range_arg/parse_range_arg/parse_loc";
36630
+ }, {
36631
+ readonly id: "log.oldest-negative-count";
36632
+ readonly kind: "requiresAny";
36633
+ readonly origin: "git";
36634
+ readonly source: "Git 2.55.0 revision.c:handle_revision_opt (--max-count-oldest, -n, --max-count and -<n> set the count; only --max-count and --max-count-oldest change its mode) and the oldest-first limit in get_revision_internal";
36635
+ readonly reason: "In oldest-first mode a negative final count makes the walk crash (SIGSEGV) as soon as it yields a commit. Git parses the arguments, so this is not a parser refusal, but a native crash is never acceptance; a later -n or -<n> keeps oldest mode.";
36636
+ readonly when: {
36637
+ readonly key: "max-count-mode";
36638
+ readonly test: "equals";
36639
+ readonly value: "oldest";
36640
+ };
36641
+ readonly choices: readonly [{
36642
+ readonly key: "max-count";
36643
+ readonly test: "positive";
36644
+ }, {
36645
+ readonly key: "max-count";
36646
+ readonly test: "equals";
36647
+ readonly value: 0;
36648
+ }];
35814
36649
  }];
35815
36650
  readonly source: "builtin/log.c; revision.c; diff.c; diff-merges.c";
35816
36651
  readonly separator: true;
@@ -38270,6 +39105,33 @@ declare const commandSpec69: {
38270
39105
  readonly key: "stat-count";
38271
39106
  readonly test: "active";
38272
39107
  }];
39108
+ }, {
39109
+ readonly id: "show.line-range-syntax";
39110
+ readonly kind: "eachScalar";
39111
+ readonly key: "L";
39112
+ readonly parser: "log-line-range";
39113
+ readonly origin: "git";
39114
+ readonly reason: "Every -L value must scan as <start>,<end> or :<funcname> followed by ':' and a nonempty file name, and a numeric boundary must be a positive line number or a nonzero relative length. Regular expressions, function names, line counts and the file itself are checked against the repository by Git.";
39115
+ readonly source: "Git 2.55.0 line-log.c:parse_lines; line-range.c:skip_range_arg/parse_range_arg/parse_loc";
39116
+ }, {
39117
+ readonly id: "show.oldest-negative-count";
39118
+ readonly kind: "requiresAny";
39119
+ readonly origin: "git";
39120
+ readonly source: "Git 2.55.0 revision.c:handle_revision_opt (--max-count-oldest, -n, --max-count and -<n> set the count; only --max-count and --max-count-oldest change its mode) and the oldest-first limit in get_revision_internal";
39121
+ readonly reason: "In oldest-first mode a negative final count makes the walk crash (SIGSEGV) as soon as it yields a commit. Git parses the arguments, so this is not a parser refusal, but a native crash is never acceptance; a later -n or -<n> keeps oldest mode.";
39122
+ readonly when: {
39123
+ readonly key: "max-count-mode";
39124
+ readonly test: "equals";
39125
+ readonly value: "oldest";
39126
+ };
39127
+ readonly choices: readonly [{
39128
+ readonly key: "max-count";
39129
+ readonly test: "positive";
39130
+ }, {
39131
+ readonly key: "max-count";
39132
+ readonly test: "equals";
39133
+ readonly value: 0;
39134
+ }];
38273
39135
  }];
38274
39136
  readonly source: "builtin/log.c; revision.c; diff.c; diff-merges.c";
38275
39137
  readonly separator: true;
@@ -38495,6 +39357,9 @@ declare const commandSpec69: {
38495
39357
  };
38496
39358
  declare const commandSpec70: {
38497
39359
  readonly argv: readonly ["diff"];
39360
+ readonly initial: {
39361
+ readonly 'dash-word': "-";
39362
+ };
38498
39363
  readonly options: {
38499
39364
  readonly '--patch': {
38500
39365
  readonly key: "patch";
@@ -40486,6 +41351,34 @@ declare const commandSpec70: {
40486
41351
  };
40487
41352
  }];
40488
41353
  };
41354
+ readonly '--git-completion-helper': {
41355
+ readonly key: "completion-helper";
41356
+ readonly value: "flag";
41357
+ readonly checks: readonly [{
41358
+ readonly id: "cli.diff.completion-helper-one-word";
41359
+ readonly kind: "arity";
41360
+ readonly key: "argumentTokens";
41361
+ readonly min: 1;
41362
+ readonly max: 1;
41363
+ readonly origin: "git";
41364
+ readonly reason: "The typed API accepts this completion word only as the sole argument. Git also exits on it as the last word before the first \"--\" after other words; elsewhere it is a residual unknown word.";
41365
+ readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff; revision.c:setup_revisions/handle_revision_opt; diff.c:diff_opt_parse (PARSE_OPT_ONE_SHOT); parse-options.c:parse_options_step ctx.total == 1 completion shortcut";
41366
+ }];
41367
+ };
41368
+ readonly '--git-completion-helper-all': {
41369
+ readonly key: "completion-helper-all";
41370
+ readonly value: "flag";
41371
+ readonly checks: readonly [{
41372
+ readonly id: "cli.diff.completion-helper-all-one-word";
41373
+ readonly kind: "arity";
41374
+ readonly key: "argumentTokens";
41375
+ readonly min: 1;
41376
+ readonly max: 1;
41377
+ readonly origin: "git";
41378
+ readonly reason: "The typed API accepts this completion word only as the sole argument. Git also exits on it as the last word before the first \"--\" after other words; elsewhere it is a residual unknown word.";
41379
+ readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff; revision.c:setup_revisions/handle_revision_opt; diff.c:diff_opt_parse (PARSE_OPT_ONE_SHOT); parse-options.c:parse_options_step ctx.total == 1 completion shortcut";
41380
+ }];
41381
+ };
40489
41382
  };
40490
41383
  readonly numericOption: {
40491
41384
  readonly key: "max-count";
@@ -41026,6 +41919,122 @@ declare const commandSpec70: {
41026
41919
  readonly origin: "git";
41027
41920
  readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff/builtin_diff_files/builtin_diff_index; revision.c:setup_revisions";
41028
41921
  readonly reason: "The HEAD-by-hand diff-index branch rejects a final numeric age filter other than the timestamp default; approxidate text remains native-owned and -h exits first. Revision operands and pending-object options (--all, --branches, --tags, --remotes, --glob, --bisect, --reflog, --indexed-objects, --alternate-refs, --stdin, --default, --merge) select repository-dependent modes and are delegated.";
41922
+ }, {
41923
+ readonly id: "diff.cached-until";
41924
+ readonly kind: "forbid";
41925
+ readonly guard: readonly [{
41926
+ readonly key: "operandsBeforeSeparator";
41927
+ readonly test: "lengthEquals";
41928
+ readonly value: 0;
41929
+ }, {
41930
+ readonly key: "all";
41931
+ readonly test: "inactive";
41932
+ }, {
41933
+ readonly key: "branches";
41934
+ readonly test: "inactive";
41935
+ }, {
41936
+ readonly key: "bisect";
41937
+ readonly test: "inactive";
41938
+ }, {
41939
+ readonly key: "tags";
41940
+ readonly test: "inactive";
41941
+ }, {
41942
+ readonly key: "remotes";
41943
+ readonly test: "inactive";
41944
+ }, {
41945
+ readonly key: "glob";
41946
+ readonly test: "inactive";
41947
+ }, {
41948
+ readonly key: "reflog";
41949
+ readonly test: "inactive";
41950
+ }, {
41951
+ readonly key: "indexed-objects";
41952
+ readonly test: "inactive";
41953
+ }, {
41954
+ readonly key: "alternate-refs";
41955
+ readonly test: "inactive";
41956
+ }, {
41957
+ readonly key: "stdin";
41958
+ readonly test: "inactive";
41959
+ }, {
41960
+ readonly key: "default";
41961
+ readonly test: "inactive";
41962
+ }, {
41963
+ readonly key: "merge";
41964
+ readonly test: "inactive";
41965
+ }];
41966
+ readonly when: readonly [{
41967
+ readonly key: "cached";
41968
+ readonly test: "active";
41969
+ }, {
41970
+ readonly key: "diff-usage";
41971
+ readonly test: "inactive";
41972
+ }, {
41973
+ readonly key: "min-age";
41974
+ readonly test: "startsWith";
41975
+ readonly value: "";
41976
+ }];
41977
+ readonly origin: "git";
41978
+ readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff/builtin_diff_index; revision.c:handle_revision_opt (--since, --after, --until, --before call approxidate); date.c:approxidate_careful";
41979
+ readonly reason: "The HEAD-by-hand diff-index branch rejects a final --until or --before date, because approxidate leaves the age filter at its -1 default only for a text that names one second before the epoch in the local time zone (for example 1970-01-01 08:59:59 under TZ=JST-9). That exception depends on the environment, so every date text is refused; -h exits first. Revision operands and pending-object options (--all, --branches, --tags, --remotes, --glob, --bisect, --reflog, --indexed-objects, --alternate-refs, --stdin, --default, --merge) select repository-dependent modes and are delegated.";
41980
+ }, {
41981
+ readonly id: "diff.cached-since";
41982
+ readonly kind: "forbid";
41983
+ readonly guard: readonly [{
41984
+ readonly key: "operandsBeforeSeparator";
41985
+ readonly test: "lengthEquals";
41986
+ readonly value: 0;
41987
+ }, {
41988
+ readonly key: "all";
41989
+ readonly test: "inactive";
41990
+ }, {
41991
+ readonly key: "branches";
41992
+ readonly test: "inactive";
41993
+ }, {
41994
+ readonly key: "bisect";
41995
+ readonly test: "inactive";
41996
+ }, {
41997
+ readonly key: "tags";
41998
+ readonly test: "inactive";
41999
+ }, {
42000
+ readonly key: "remotes";
42001
+ readonly test: "inactive";
42002
+ }, {
42003
+ readonly key: "glob";
42004
+ readonly test: "inactive";
42005
+ }, {
42006
+ readonly key: "reflog";
42007
+ readonly test: "inactive";
42008
+ }, {
42009
+ readonly key: "indexed-objects";
42010
+ readonly test: "inactive";
42011
+ }, {
42012
+ readonly key: "alternate-refs";
42013
+ readonly test: "inactive";
42014
+ }, {
42015
+ readonly key: "stdin";
42016
+ readonly test: "inactive";
42017
+ }, {
42018
+ readonly key: "default";
42019
+ readonly test: "inactive";
42020
+ }, {
42021
+ readonly key: "merge";
42022
+ readonly test: "inactive";
42023
+ }];
42024
+ readonly when: readonly [{
42025
+ readonly key: "cached";
42026
+ readonly test: "active";
42027
+ }, {
42028
+ readonly key: "diff-usage";
42029
+ readonly test: "inactive";
42030
+ }, {
42031
+ readonly key: "max-age";
42032
+ readonly test: "startsWith";
42033
+ readonly value: "";
42034
+ }];
42035
+ readonly origin: "git";
42036
+ readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff/builtin_diff_index; revision.c:handle_revision_opt (--since, --after, --until, --before call approxidate); date.c:approxidate_careful";
42037
+ readonly reason: "The HEAD-by-hand diff-index branch rejects a final --since or --after date, because approxidate leaves the age filter at its -1 default only for a text that names one second before the epoch in the local time zone (for example 1970-01-01 08:59:59 under TZ=JST-9). That exception depends on the environment, so every date text is refused; -h exits first. Revision operands and pending-object options (--all, --branches, --tags, --remotes, --glob, --bisect, --reflog, --indexed-objects, --alternate-refs, --stdin, --default, --merge) select repository-dependent modes and are delegated.";
41029
42038
  }, {
41030
42039
  readonly id: "diff.follow-without-path";
41031
42040
  readonly kind: "forbid";
@@ -41216,9 +42225,27 @@ declare const commandSpec70: {
41216
42225
  readonly origin: "git";
41217
42226
  readonly source: "Git 2.55.0 diffcore-pickaxe.c:diffcore_pickaxe (BUG \"should have needle under -G or -S\"); diff.c:diff_opt_find_object, diff_setup_done";
41218
42227
  readonly reason: "--find-object with -i/--regexp-ignore-case sets a needle-requiring pickaxe bit without -S/-G, so Git aborts with BUG() when the diff is computed; a native crash is never acceptance. -h exits the residual loop first.";
42228
+ }, {
42229
+ readonly id: "diff.dash-word";
42230
+ readonly kind: "forbid";
42231
+ readonly when: readonly [{
42232
+ readonly key: "operandsBeforeSeparator";
42233
+ readonly test: "includes";
42234
+ readonly valueKey: "dash-word";
42235
+ }];
42236
+ readonly origin: "git";
42237
+ readonly source: "Git 2.55.0 revision.c:setup_revisions (a word starting with '-' goes to handle_revision_opt and is retained when unknown); builtin/diff.c:builtin_diff_files/builtin_diff_index/builtin_diff_tree/builtin_diff_b_f/builtin_diff_blobs/builtin_diff_combined";
42238
+ readonly reason: "Before \"--\" a bare - is an unknown option word that setup_revisions retains, and every diff mode refuses a retained word it does not know (diff-files reports an invalid option, the other modes print usage). After \"--\" it is a path. A -h that precedes it prints usage too; the typed API refuses the word in either order.";
41219
42239
  }];
41220
42240
  readonly source: "builtin/diff.c; revision.c; diff.c; diff-merges.c";
41221
42241
  readonly separator: true;
42242
+ readonly parserExit: {
42243
+ readonly flags: readonly [];
42244
+ readonly singleWordExits: readonly ["--git-completion-helper", "--git-completion-helper-all"];
42245
+ readonly origin: "git";
42246
+ readonly reason: "setup_revisions hands each unrecognized word to diff_opt_parse, whose ONE_SHOT parse_options run sees the words that remain before the first \"--\"; a completion word exits there when it is the last of them. The typed API accepts it as the sole word and refuses it after other words (a restriction: Git also exits when earlier words precede it). -h is a residual word of the selected diff mode, not a parser exit.";
42247
+ readonly source: "Git 2.55.0 builtin/diff.c:cmd_diff; revision.c:setup_revisions/handle_revision_opt; diff.c:diff_opt_parse (PARSE_OPT_ONE_SHOT); parse-options.c:parse_options_step ctx.total == 1 completion shortcut";
42248
+ };
41222
42249
  };
41223
42250
  declare const commandSpec71: {
41224
42251
  readonly argv: readonly ["diff-files"];
@@ -50354,6 +51381,7 @@ declare const commandSpec82: {
50354
51381
  readonly argv: readonly ["stash", "show"];
50355
51382
  readonly initial: {
50356
51383
  readonly 'empty-stash-reference': "";
51384
+ readonly 'expanded-stash-reference': "refs/stash@{}";
50357
51385
  };
50358
51386
  readonly options: {
50359
51387
  readonly '--include-untracked': {
@@ -52267,6 +53295,17 @@ declare const commandSpec82: {
52267
53295
  readonly test: "includes";
52268
53296
  readonly valueKey: "empty-stash-reference";
52269
53297
  }];
53298
+ }, {
53299
+ readonly id: "stash.show-expanded-reference";
53300
+ readonly kind: "forbid";
53301
+ readonly origin: "git";
53302
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/stash.c#L244-L279";
53303
+ readonly reason: "An explicit refs/stash@{}, the form an empty stash reference expands to, is not a valid revision whatever the repository holds (get_stash_info); a help exit happens first.";
53304
+ readonly when: readonly [{
53305
+ readonly key: "stash-operands";
53306
+ readonly test: "includes";
53307
+ readonly valueKey: "expanded-stash-reference";
53308
+ }];
52270
53309
  }];
52271
53310
  readonly source: "Git 2.55.0 builtin/stash.c:show_stash/get_stash_info";
52272
53311
  readonly separator: true;
@@ -52512,6 +53551,9 @@ declare const commandSpec82: {
52512
53551
  };
52513
53552
  declare const commandSpec83: {
52514
53553
  readonly argv: readonly ["merge"];
53554
+ readonly initial: {
53555
+ readonly 'empty-operand': "";
53556
+ };
52515
53557
  readonly options: {
52516
53558
  readonly '-n': {
52517
53559
  readonly key: "n";
@@ -52581,11 +53623,33 @@ declare const commandSpec83: {
52581
53623
  readonly key: "strategy";
52582
53624
  readonly value: "string";
52583
53625
  readonly repeat: true;
53626
+ readonly checks: readonly [{
53627
+ readonly id: "cli.merge.custom-strategy-reached";
53628
+ readonly kind: "elements";
53629
+ readonly key: "strategy";
53630
+ readonly withKey: "$value";
53631
+ readonly allowed: readonly ["recursive", "octopus", "ort", "resolve", "ours", "subtree"];
53632
+ readonly maxOutside: 1;
53633
+ readonly origin: "git";
53634
+ readonly source: "Git 2.55.0 builtin/merge.c:option_parse_strategy/get_strategy";
53635
+ readonly reason: "The -s callback resolves each strategy while options are parsed, so a second name outside the built-in table is refused before a later -h or --help is reached.";
53636
+ }];
52584
53637
  };
52585
53638
  readonly '-s': {
52586
53639
  readonly key: "strategy";
52587
53640
  readonly value: "string";
52588
53641
  readonly repeat: true;
53642
+ readonly checks: readonly [{
53643
+ readonly id: "cli.merge.custom-strategy-reached";
53644
+ readonly kind: "elements";
53645
+ readonly key: "strategy";
53646
+ readonly withKey: "$value";
53647
+ readonly allowed: readonly ["recursive", "octopus", "ort", "resolve", "ours", "subtree"];
53648
+ readonly maxOutside: 1;
53649
+ readonly origin: "git";
53650
+ readonly source: "Git 2.55.0 builtin/merge.c:option_parse_strategy/get_strategy";
53651
+ readonly reason: "The -s callback resolves each strategy while options are parsed, so a second name outside the built-in table is refused before a later -h or --help is reached.";
53652
+ }];
52589
53653
  };
52590
53654
  readonly '--strategy-option': {
52591
53655
  readonly key: "strategy-option";
@@ -52931,6 +53995,26 @@ declare const commandSpec83: {
52931
53995
  readonly key: "continue";
52932
53996
  readonly test: "active";
52933
53997
  };
53998
+ }, {
53999
+ readonly id: "cli.merge.empty-operand";
54000
+ readonly kind: "forbid";
54001
+ readonly origin: "git";
54002
+ readonly source: "Git 2.55.0 builtin/merge.c:collect_parents/cmd_merge";
54003
+ readonly reason: "An empty name never resolves to a commit, so collect_parents refuses it as not something Git can merge; the continuation operations refuse any operand first.";
54004
+ readonly when: readonly [{
54005
+ readonly key: "operands";
54006
+ readonly test: "includes";
54007
+ readonly valueKey: "empty-operand";
54008
+ }];
54009
+ }, {
54010
+ readonly id: "cli.merge.custom-strategies";
54011
+ readonly kind: "elements";
54012
+ readonly key: "strategy";
54013
+ readonly allowed: readonly ["recursive", "octopus", "ort", "resolve", "ours", "subtree"];
54014
+ readonly maxOutside: 1;
54015
+ readonly origin: "git";
54016
+ readonly source: "Git 2.55.0 builtin/merge.c:get_strategy";
54017
+ readonly reason: "Only one -s may name a strategy outside the built-in table: get_strategy releases the git-merge-* command lists after resolving the first custom strategy but keeps them marked loaded, so every later custom name is not found and Git exits 1 while parsing options.";
52934
54018
  }];
52935
54019
  readonly source: "builtin/merge.c";
52936
54020
  readonly separator: true;
@@ -53803,6 +54887,9 @@ declare const commandSpec83: {
53803
54887
  };
53804
54888
  declare const commandSpec84: {
53805
54889
  readonly argv: readonly ["rebase"];
54890
+ readonly initial: {
54891
+ readonly 'empty-operand': "";
54892
+ };
53806
54893
  readonly options: {
53807
54894
  readonly '--onto': {
53808
54895
  readonly key: "onto";
@@ -53862,18 +54949,26 @@ declare const commandSpec84: {
53862
54949
  readonly value: "flag";
53863
54950
  };
53864
54951
  readonly '-C': {
53865
- readonly key: "am-options";
54952
+ readonly key: "apply-context";
53866
54953
  readonly value: "string";
53867
54954
  readonly repeat: true;
54955
+ readonly effects: readonly [{
54956
+ readonly key: "apply-option";
54957
+ readonly set: true;
54958
+ }];
53868
54959
  };
53869
54960
  readonly '--ignore-whitespace': {
53870
54961
  readonly key: "ignore-whitespace";
53871
54962
  readonly value: "flag";
53872
54963
  };
53873
54964
  readonly '--whitespace': {
53874
- readonly key: "am-options";
54965
+ readonly key: "whitespace";
53875
54966
  readonly value: "string";
53876
54967
  readonly repeat: true;
54968
+ readonly effects: readonly [{
54969
+ readonly key: "apply-option";
54970
+ readonly set: true;
54971
+ }];
53877
54972
  };
53878
54973
  readonly '--force-rebase': {
53879
54974
  readonly key: "force-rebase";
@@ -54225,6 +55320,10 @@ declare const commandSpec84: {
54225
55320
  readonly value: "flag";
54226
55321
  readonly set: "--no-whitespace";
54227
55322
  readonly repeat: true;
55323
+ readonly effects: readonly [{
55324
+ readonly key: "apply-option";
55325
+ readonly set: true;
55326
+ }];
54228
55327
  };
54229
55328
  readonly '--no-force-rebase': {
54230
55329
  readonly key: "force-rebase";
@@ -54418,8 +55517,8 @@ declare const commandSpec84: {
54418
55517
  readonly test: "equals";
54419
55518
  readonly value: "apply";
54420
55519
  }, {
54421
- readonly key: "am-options";
54422
- readonly test: "nonempty";
55520
+ readonly key: "apply-option";
55521
+ readonly test: "active";
54423
55522
  }], readonly [{
54424
55523
  readonly key: "backend";
54425
55524
  readonly test: "equals";
@@ -54582,8 +55681,8 @@ declare const commandSpec84: {
54582
55681
  readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
54583
55682
  readonly reason: "Root without onto implies the merge backend.";
54584
55683
  readonly when: readonly [{
54585
- readonly key: "am-options";
54586
- readonly test: "nonempty";
55684
+ readonly key: "apply-option";
55685
+ readonly test: "active";
54587
55686
  }, {
54588
55687
  readonly key: "root";
54589
55688
  readonly test: "active";
@@ -54598,8 +55697,8 @@ declare const commandSpec84: {
54598
55697
  readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
54599
55698
  readonly reason: "Explicit reapply-cherry-picks, including its negation, implies merge unless keep-base is active.";
54600
55699
  readonly when: readonly [{
54601
- readonly key: "am-options";
54602
- readonly test: "nonempty";
55700
+ readonly key: "apply-option";
55701
+ readonly test: "active";
54603
55702
  }, {
54604
55703
  readonly key: "reapply-cherry-picks";
54605
55704
  readonly test: "present";
@@ -54614,8 +55713,8 @@ declare const commandSpec84: {
54614
55713
  readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
54615
55714
  readonly reason: "Rescheduling exec requires the merge backend, including when it is selected by default.";
54616
55715
  readonly when: readonly [{
54617
- readonly key: "am-options";
54618
- readonly test: "nonempty";
55716
+ readonly key: "apply-option";
55717
+ readonly test: "active";
54619
55718
  }, {
54620
55719
  readonly key: "reschedule-failed-exec";
54621
55720
  readonly test: "active";
@@ -54627,8 +55726,8 @@ declare const commandSpec84: {
54627
55726
  readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
54628
55727
  readonly reason: "Without an explicitly selected apply backend, ignore-whitespace adds a merge strategy option before apply arguments select their backend.";
54629
55728
  readonly when: readonly [{
54630
- readonly key: "am-options";
54631
- readonly test: "nonempty";
55729
+ readonly key: "apply-option";
55730
+ readonly test: "active";
54632
55731
  }, {
54633
55732
  readonly key: "backend";
54634
55733
  readonly test: "notEquals";
@@ -54650,6 +55749,60 @@ declare const commandSpec84: {
54650
55749
  readonly origin: "git";
54651
55750
  readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
54652
55751
  readonly reason: "Root mode accepts an optional branch but no upstream operand.";
55752
+ }, {
55753
+ readonly id: "cli.rebase.apply-context";
55754
+ readonly kind: "eachScalar";
55755
+ readonly key: "apply-context";
55756
+ readonly parser: "rebase-apply-context";
55757
+ readonly origin: "git";
55758
+ readonly reason: "Every character of a -C value must be a decimal digit; cmd_rebase checks this after option parsing.";
55759
+ readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
55760
+ }, {
55761
+ readonly id: "cli.rebase.whitespace";
55762
+ readonly kind: "eachScalar";
55763
+ readonly key: "whitespace";
55764
+ readonly parser: "rebase-whitespace";
55765
+ readonly origin: "git";
55766
+ readonly reason: "--whitespace accepts nowarn, warn, error, error-all, fix and strip; cmd_rebase refuses other nonempty values after option parsing.";
55767
+ readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
55768
+ }, {
55769
+ readonly id: "cli.rebase.trailer";
55770
+ readonly kind: "eachScalar";
55771
+ readonly key: "trailer";
55772
+ readonly parser: "rebase-trailer";
55773
+ readonly origin: "git";
55774
+ readonly reason: "validate_trailer_args refuses an empty trailer and one that starts with '=' before any other check.";
55775
+ readonly source: "Git 2.55.0 trailer.c:validate_trailer_args; builtin/rebase.c:cmd_rebase";
55776
+ }, {
55777
+ readonly id: "cli.rebase.exec";
55778
+ readonly kind: "eachScalar";
55779
+ readonly key: "exec";
55780
+ readonly parser: "rebase-exec";
55781
+ readonly origin: "git";
55782
+ readonly reason: "check_exec_cmd refuses a command that contains a newline or consists only of whitespace.";
55783
+ readonly source: "Git 2.55.0 builtin/rebase.c:check_exec_cmd";
55784
+ }, {
55785
+ readonly id: "cli.rebase.empty-onto";
55786
+ readonly kind: "forbid";
55787
+ readonly origin: "git";
55788
+ readonly reason: "An empty --onto never resolves to a commit.";
55789
+ readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
55790
+ readonly when: readonly [{
55791
+ readonly key: "onto";
55792
+ readonly test: "equals";
55793
+ readonly value: "";
55794
+ }];
55795
+ }, {
55796
+ readonly id: "cli.rebase.empty-operand";
55797
+ readonly kind: "forbid";
55798
+ readonly origin: "git";
55799
+ readonly reason: "An empty upstream or branch never resolves to a commit.";
55800
+ readonly source: "Git 2.55.0 builtin/rebase.c:cmd_rebase";
55801
+ readonly when: readonly [{
55802
+ readonly key: "operands";
55803
+ readonly test: "includes";
55804
+ readonly valueKey: "empty-operand";
55805
+ }];
54653
55806
  }];
54654
55807
  readonly source: "builtin/rebase.c:cmd_rebase";
54655
55808
  readonly separator: true;
@@ -102926,8 +104079,28 @@ declare const commandSpec208: {
102926
104079
  readonly key: "help";
102927
104080
  readonly value: "flag";
102928
104081
  };
104082
+ readonly '--help-all': {
104083
+ readonly key: "help";
104084
+ readonly value: "flag";
104085
+ };
104086
+ readonly '--git-completion-helper': {
104087
+ readonly key: "help";
104088
+ readonly value: "flag";
104089
+ };
104090
+ readonly '--git-completion-helper-all': {
104091
+ readonly key: "help";
104092
+ readonly value: "flag";
104093
+ };
102929
104094
  };
102930
104095
  readonly rules: readonly [{
104096
+ readonly id: "cli.pull.tag-shorthand";
104097
+ readonly kind: "scalar";
104098
+ readonly key: "operands";
104099
+ readonly parser: "fetch-refspec-operands";
104100
+ readonly origin: "git";
104101
+ readonly reason: "Refspec words must parse as refspecs, and a word 'tag' must be followed by a tag name that forms one.";
104102
+ readonly source: "https://github.com/git/git/blob/v2.55.0/builtin/fetch.c";
104103
+ }, {
102931
104104
  readonly id: "cli.pull.cleanup";
102932
104105
  readonly kind: "value";
102933
104106
  readonly key: "cleanup";
@@ -103036,11 +104209,1341 @@ declare const commandSpec208: {
103036
104209
  readonly source: "builtin/pull.c";
103037
104210
  readonly separator: true;
103038
104211
  readonly parserExit: {
103039
- readonly flags: readonly ["-h", "--help"];
104212
+ readonly flags: readonly ["-h", "--help", "--help-all"];
103040
104213
  readonly origin: "git";
103041
- readonly reason: "This single parse-options pass exits immediately at an internal help token, before subsequent callbacks or final semantic checks.";
103042
- readonly source: "Git 2.25.1/2.55.0 builtin/pull.c:parse_options; parse-options.c:parse_options_step/parse_options; git.c:handle_builtin";
104214
+ readonly reason: "The ordinary parser resolves native aliases, prefixes, clusters and callbacks before help and final semantic rules; pull consumes its own -- before forwarding the words to fetch.";
104215
+ readonly source: "Git 2.55.0 builtin/pull.c:cmd_pull; parse-options.c:preprocess_options/register_abbrev/parse_long_opt/parse_options; git.c:handle_builtin";
103043
104216
  readonly exceptFirst: readonly ["--help"];
104217
+ readonly unknownOptions: "error";
104218
+ readonly keepDashDash: false;
104219
+ readonly keepEndOfOptions: false;
104220
+ readonly remainingOperands: "all";
104221
+ readonly singleWordExits: readonly ["--git-completion-helper", "--git-completion-helper-all"];
104222
+ readonly longForms: {
104223
+ readonly plain: {
104224
+ readonly '--a': null;
104225
+ readonly '--al': null;
104226
+ readonly '--all': "--all";
104227
+ readonly '--allo': "--allow-unrelated-histories";
104228
+ readonly '--allow': "--allow-unrelated-histories";
104229
+ readonly '--allow-': "--allow-unrelated-histories";
104230
+ readonly '--allow-u': "--allow-unrelated-histories";
104231
+ readonly '--allow-un': "--allow-unrelated-histories";
104232
+ readonly '--allow-unr': "--allow-unrelated-histories";
104233
+ readonly '--allow-unre': "--allow-unrelated-histories";
104234
+ readonly '--allow-unrel': "--allow-unrelated-histories";
104235
+ readonly '--allow-unrela': "--allow-unrelated-histories";
104236
+ readonly '--allow-unrelat': "--allow-unrelated-histories";
104237
+ readonly '--allow-unrelate': "--allow-unrelated-histories";
104238
+ readonly '--allow-unrelated': "--allow-unrelated-histories";
104239
+ readonly '--allow-unrelated-': "--allow-unrelated-histories";
104240
+ readonly '--allow-unrelated-h': "--allow-unrelated-histories";
104241
+ readonly '--allow-unrelated-hi': "--allow-unrelated-histories";
104242
+ readonly '--allow-unrelated-his': "--allow-unrelated-histories";
104243
+ readonly '--allow-unrelated-hist': "--allow-unrelated-histories";
104244
+ readonly '--allow-unrelated-histo': "--allow-unrelated-histories";
104245
+ readonly '--allow-unrelated-histor': "--allow-unrelated-histories";
104246
+ readonly '--allow-unrelated-histori': "--allow-unrelated-histories";
104247
+ readonly '--allow-unrelated-historie': "--allow-unrelated-histories";
104248
+ readonly '--allow-unrelated-histories': "--allow-unrelated-histories";
104249
+ readonly '--ap': "--append";
104250
+ readonly '--app': "--append";
104251
+ readonly '--appe': "--append";
104252
+ readonly '--appen': "--append";
104253
+ readonly '--append': "--append";
104254
+ readonly '--au': "--autostash";
104255
+ readonly '--aut': "--autostash";
104256
+ readonly '--auto': "--autostash";
104257
+ readonly '--autos': "--autostash";
104258
+ readonly '--autost': "--autostash";
104259
+ readonly '--autosta': "--autostash";
104260
+ readonly '--autostas': "--autostash";
104261
+ readonly '--autostash': "--autostash";
104262
+ readonly '--c': null;
104263
+ readonly '--cl': "--cleanup";
104264
+ readonly '--cle': "--cleanup";
104265
+ readonly '--clea': "--cleanup";
104266
+ readonly '--clean': "--cleanup";
104267
+ readonly '--cleanu': "--cleanup";
104268
+ readonly '--cleanup': "--cleanup";
104269
+ readonly '--co': null;
104270
+ readonly '--com': null;
104271
+ readonly '--comm': "--commit";
104272
+ readonly '--commi': "--commit";
104273
+ readonly '--commit': "--commit";
104274
+ readonly '--comp': "--compact-summary";
104275
+ readonly '--compa': "--compact-summary";
104276
+ readonly '--compac': "--compact-summary";
104277
+ readonly '--compact': "--compact-summary";
104278
+ readonly '--compact-': "--compact-summary";
104279
+ readonly '--compact-s': "--compact-summary";
104280
+ readonly '--compact-su': "--compact-summary";
104281
+ readonly '--compact-sum': "--compact-summary";
104282
+ readonly '--compact-summ': "--compact-summary";
104283
+ readonly '--compact-summa': "--compact-summary";
104284
+ readonly '--compact-summar': "--compact-summary";
104285
+ readonly '--compact-summary': "--compact-summary";
104286
+ readonly '--d': null;
104287
+ readonly '--de': null;
104288
+ readonly '--dee': "--deepen";
104289
+ readonly '--deep': "--deepen";
104290
+ readonly '--deepe': "--deepen";
104291
+ readonly '--deepen': "--deepen";
104292
+ readonly '--dep': "--depth";
104293
+ readonly '--dept': "--depth";
104294
+ readonly '--depth': "--depth";
104295
+ readonly '--dr': "--dry-run";
104296
+ readonly '--dry': "--dry-run";
104297
+ readonly '--dry-': "--dry-run";
104298
+ readonly '--dry-r': "--dry-run";
104299
+ readonly '--dry-ru': "--dry-run";
104300
+ readonly '--dry-run': "--dry-run";
104301
+ readonly '--e': "--edit";
104302
+ readonly '--ed': "--edit";
104303
+ readonly '--edi': "--edit";
104304
+ readonly '--edit': "--edit";
104305
+ readonly '--f': null;
104306
+ readonly '--ff': "--ff";
104307
+ readonly '--ff-': "--ff-only";
104308
+ readonly '--ff-o': "--ff-only";
104309
+ readonly '--ff-on': "--ff-only";
104310
+ readonly '--ff-onl': "--ff-only";
104311
+ readonly '--ff-only': "--ff-only";
104312
+ readonly '--fo': "--force";
104313
+ readonly '--for': "--force";
104314
+ readonly '--forc': "--force";
104315
+ readonly '--force': "--force";
104316
+ readonly '--g': "--gpg-sign";
104317
+ readonly '--gp': "--gpg-sign";
104318
+ readonly '--gpg': "--gpg-sign";
104319
+ readonly '--gpg-': "--gpg-sign";
104320
+ readonly '--gpg-s': "--gpg-sign";
104321
+ readonly '--gpg-si': "--gpg-sign";
104322
+ readonly '--gpg-sig': "--gpg-sign";
104323
+ readonly '--gpg-sign': "--gpg-sign";
104324
+ readonly '--i': null;
104325
+ readonly '--ip': null;
104326
+ readonly '--ipv': null;
104327
+ readonly '--ipv4': "--ipv4";
104328
+ readonly '--ipv6': "--ipv6";
104329
+ readonly '--j': "--jobs";
104330
+ readonly '--jo': "--jobs";
104331
+ readonly '--job': "--jobs";
104332
+ readonly '--jobs': "--jobs";
104333
+ readonly '--k': "--keep";
104334
+ readonly '--ke': "--keep";
104335
+ readonly '--kee': "--keep";
104336
+ readonly '--keep': "--keep";
104337
+ readonly '--l': "--log";
104338
+ readonly '--lo': "--log";
104339
+ readonly '--log': "--log";
104340
+ readonly '--n': null;
104341
+ readonly '--ne': null;
104342
+ readonly '--neg': null;
104343
+ readonly '--nego': null;
104344
+ readonly '--negot': null;
104345
+ readonly '--negoti': null;
104346
+ readonly '--negotia': null;
104347
+ readonly '--negotiat': null;
104348
+ readonly '--negotiati': null;
104349
+ readonly '--negotiatio': null;
104350
+ readonly '--negotiation': null;
104351
+ readonly '--negotiation-': null;
104352
+ readonly '--negotiation-i': "--negotiation-include";
104353
+ readonly '--negotiation-in': "--negotiation-include";
104354
+ readonly '--negotiation-inc': "--negotiation-include";
104355
+ readonly '--negotiation-incl': "--negotiation-include";
104356
+ readonly '--negotiation-inclu': "--negotiation-include";
104357
+ readonly '--negotiation-includ': "--negotiation-include";
104358
+ readonly '--negotiation-include': "--negotiation-include";
104359
+ readonly '--negotiation-r': "--negotiation-restrict";
104360
+ readonly '--negotiation-re': "--negotiation-restrict";
104361
+ readonly '--negotiation-res': "--negotiation-restrict";
104362
+ readonly '--negotiation-rest': "--negotiation-restrict";
104363
+ readonly '--negotiation-restr': "--negotiation-restrict";
104364
+ readonly '--negotiation-restri': "--negotiation-restrict";
104365
+ readonly '--negotiation-restric': "--negotiation-restrict";
104366
+ readonly '--negotiation-restrict': "--negotiation-restrict";
104367
+ readonly '--negotiation-t': "--negotiation-tip";
104368
+ readonly '--negotiation-ti': "--negotiation-tip";
104369
+ readonly '--negotiation-tip': "--negotiation-tip";
104370
+ readonly '--no': null;
104371
+ readonly '--no-': null;
104372
+ readonly '--no-a': null;
104373
+ readonly '--no-al': null;
104374
+ readonly '--no-all': "--no-all";
104375
+ readonly '--no-allo': "--no-allow-unrelated-histories";
104376
+ readonly '--no-allow': "--no-allow-unrelated-histories";
104377
+ readonly '--no-allow-': "--no-allow-unrelated-histories";
104378
+ readonly '--no-allow-u': "--no-allow-unrelated-histories";
104379
+ readonly '--no-allow-un': "--no-allow-unrelated-histories";
104380
+ readonly '--no-allow-unr': "--no-allow-unrelated-histories";
104381
+ readonly '--no-allow-unre': "--no-allow-unrelated-histories";
104382
+ readonly '--no-allow-unrel': "--no-allow-unrelated-histories";
104383
+ readonly '--no-allow-unrela': "--no-allow-unrelated-histories";
104384
+ readonly '--no-allow-unrelat': "--no-allow-unrelated-histories";
104385
+ readonly '--no-allow-unrelate': "--no-allow-unrelated-histories";
104386
+ readonly '--no-allow-unrelated': "--no-allow-unrelated-histories";
104387
+ readonly '--no-allow-unrelated-': "--no-allow-unrelated-histories";
104388
+ readonly '--no-allow-unrelated-h': "--no-allow-unrelated-histories";
104389
+ readonly '--no-allow-unrelated-hi': "--no-allow-unrelated-histories";
104390
+ readonly '--no-allow-unrelated-his': "--no-allow-unrelated-histories";
104391
+ readonly '--no-allow-unrelated-hist': "--no-allow-unrelated-histories";
104392
+ readonly '--no-allow-unrelated-histo': "--no-allow-unrelated-histories";
104393
+ readonly '--no-allow-unrelated-histor': "--no-allow-unrelated-histories";
104394
+ readonly '--no-allow-unrelated-histori': "--no-allow-unrelated-histories";
104395
+ readonly '--no-allow-unrelated-historie': "--no-allow-unrelated-histories";
104396
+ readonly '--no-allow-unrelated-histories': "--no-allow-unrelated-histories";
104397
+ readonly '--no-ap': "--no-append";
104398
+ readonly '--no-app': "--no-append";
104399
+ readonly '--no-appe': "--no-append";
104400
+ readonly '--no-appen': "--no-append";
104401
+ readonly '--no-append': "--no-append";
104402
+ readonly '--no-au': "--no-autostash";
104403
+ readonly '--no-aut': "--no-autostash";
104404
+ readonly '--no-auto': "--no-autostash";
104405
+ readonly '--no-autos': "--no-autostash";
104406
+ readonly '--no-autost': "--no-autostash";
104407
+ readonly '--no-autosta': "--no-autostash";
104408
+ readonly '--no-autostas': "--no-autostash";
104409
+ readonly '--no-autostash': "--no-autostash";
104410
+ readonly '--no-c': null;
104411
+ readonly '--no-cl': "--no-cleanup";
104412
+ readonly '--no-cle': "--no-cleanup";
104413
+ readonly '--no-clea': "--no-cleanup";
104414
+ readonly '--no-clean': "--no-cleanup";
104415
+ readonly '--no-cleanu': "--no-cleanup";
104416
+ readonly '--no-cleanup': "--no-cleanup";
104417
+ readonly '--no-co': null;
104418
+ readonly '--no-com': null;
104419
+ readonly '--no-comm': "--no-commit";
104420
+ readonly '--no-commi': "--no-commit";
104421
+ readonly '--no-commit': "--no-commit";
104422
+ readonly '--no-comp': "--no-compact-summary";
104423
+ readonly '--no-compa': "--no-compact-summary";
104424
+ readonly '--no-compac': "--no-compact-summary";
104425
+ readonly '--no-compact': "--no-compact-summary";
104426
+ readonly '--no-compact-': "--no-compact-summary";
104427
+ readonly '--no-compact-s': "--no-compact-summary";
104428
+ readonly '--no-compact-su': "--no-compact-summary";
104429
+ readonly '--no-compact-sum': "--no-compact-summary";
104430
+ readonly '--no-compact-summ': "--no-compact-summary";
104431
+ readonly '--no-compact-summa': "--no-compact-summary";
104432
+ readonly '--no-compact-summar': "--no-compact-summary";
104433
+ readonly '--no-compact-summary': "--no-compact-summary";
104434
+ readonly '--no-d': null;
104435
+ readonly '--no-de': null;
104436
+ readonly '--no-dee': "--no-deepen";
104437
+ readonly '--no-deep': "--no-deepen";
104438
+ readonly '--no-deepe': "--no-deepen";
104439
+ readonly '--no-deepen': "--no-deepen";
104440
+ readonly '--no-dep': "--no-depth";
104441
+ readonly '--no-dept': "--no-depth";
104442
+ readonly '--no-depth': "--no-depth";
104443
+ readonly '--no-dr': "--no-dry-run";
104444
+ readonly '--no-dry': "--no-dry-run";
104445
+ readonly '--no-dry-': "--no-dry-run";
104446
+ readonly '--no-dry-r': "--no-dry-run";
104447
+ readonly '--no-dry-ru': "--no-dry-run";
104448
+ readonly '--no-dry-run': "--no-dry-run";
104449
+ readonly '--no-e': "--no-edit";
104450
+ readonly '--no-ed': "--no-edit";
104451
+ readonly '--no-edi': "--no-edit";
104452
+ readonly '--no-edit': "--no-edit";
104453
+ readonly '--no-f': null;
104454
+ readonly '--no-ff': "--no-ff";
104455
+ readonly '--no-fo': "--no-force";
104456
+ readonly '--no-for': "--no-force";
104457
+ readonly '--no-forc': "--no-force";
104458
+ readonly '--no-force': "--no-force";
104459
+ readonly '--no-g': "--no-gpg-sign";
104460
+ readonly '--no-gp': "--no-gpg-sign";
104461
+ readonly '--no-gpg': "--no-gpg-sign";
104462
+ readonly '--no-gpg-': "--no-gpg-sign";
104463
+ readonly '--no-gpg-s': "--no-gpg-sign";
104464
+ readonly '--no-gpg-si': "--no-gpg-sign";
104465
+ readonly '--no-gpg-sig': "--no-gpg-sign";
104466
+ readonly '--no-gpg-sign': "--no-gpg-sign";
104467
+ readonly '--no-i': null;
104468
+ readonly '--no-ip': null;
104469
+ readonly '--no-ipv': null;
104470
+ readonly '--no-ipv4': "--no-ipv4";
104471
+ readonly '--no-ipv6': "--no-ipv6";
104472
+ readonly '--no-j': "--no-jobs";
104473
+ readonly '--no-jo': "--no-jobs";
104474
+ readonly '--no-job': "--no-jobs";
104475
+ readonly '--no-jobs': "--no-jobs";
104476
+ readonly '--no-k': "--no-keep";
104477
+ readonly '--no-ke': "--no-keep";
104478
+ readonly '--no-kee': "--no-keep";
104479
+ readonly '--no-keep': "--no-keep";
104480
+ readonly '--no-l': "--no-log";
104481
+ readonly '--no-lo': "--no-log";
104482
+ readonly '--no-log': "--no-log";
104483
+ readonly '--no-n': null;
104484
+ readonly '--no-ne': null;
104485
+ readonly '--no-neg': null;
104486
+ readonly '--no-nego': null;
104487
+ readonly '--no-negot': null;
104488
+ readonly '--no-negoti': null;
104489
+ readonly '--no-negotia': null;
104490
+ readonly '--no-negotiat': null;
104491
+ readonly '--no-negotiati': null;
104492
+ readonly '--no-negotiatio': null;
104493
+ readonly '--no-negotiation': null;
104494
+ readonly '--no-negotiation-': null;
104495
+ readonly '--no-negotiation-i': "--no-negotiation-include";
104496
+ readonly '--no-negotiation-in': "--no-negotiation-include";
104497
+ readonly '--no-negotiation-inc': "--no-negotiation-include";
104498
+ readonly '--no-negotiation-incl': "--no-negotiation-include";
104499
+ readonly '--no-negotiation-inclu': "--no-negotiation-include";
104500
+ readonly '--no-negotiation-includ': "--no-negotiation-include";
104501
+ readonly '--no-negotiation-include': "--no-negotiation-include";
104502
+ readonly '--no-negotiation-r': "--no-negotiation-restrict";
104503
+ readonly '--no-negotiation-re': "--no-negotiation-restrict";
104504
+ readonly '--no-negotiation-res': "--no-negotiation-restrict";
104505
+ readonly '--no-negotiation-rest': "--no-negotiation-restrict";
104506
+ readonly '--no-negotiation-restr': "--no-negotiation-restrict";
104507
+ readonly '--no-negotiation-restri': "--no-negotiation-restrict";
104508
+ readonly '--no-negotiation-restric': "--no-negotiation-restrict";
104509
+ readonly '--no-negotiation-restrict': "--no-negotiation-restrict";
104510
+ readonly '--no-negotiation-t': "--no-negotiation-tip";
104511
+ readonly '--no-negotiation-ti': "--no-negotiation-tip";
104512
+ readonly '--no-negotiation-tip': "--no-negotiation-tip";
104513
+ readonly '--no-p': null;
104514
+ readonly '--no-pr': null;
104515
+ readonly '--no-pro': "--no-progress";
104516
+ readonly '--no-prog': "--no-progress";
104517
+ readonly '--no-progr': "--no-progress";
104518
+ readonly '--no-progre': "--no-progress";
104519
+ readonly '--no-progres': "--no-progress";
104520
+ readonly '--no-progress': "--no-progress";
104521
+ readonly '--no-pru': "--no-prune";
104522
+ readonly '--no-prun': "--no-prune";
104523
+ readonly '--no-prune': "--no-prune";
104524
+ readonly '--no-q': "--no-quiet";
104525
+ readonly '--no-qu': "--no-quiet";
104526
+ readonly '--no-qui': "--no-quiet";
104527
+ readonly '--no-quie': "--no-quiet";
104528
+ readonly '--no-quiet': "--no-quiet";
104529
+ readonly '--no-r': null;
104530
+ readonly '--no-re': null;
104531
+ readonly '--no-reb': "--no-rebase";
104532
+ readonly '--no-reba': "--no-rebase";
104533
+ readonly '--no-rebas': "--no-rebase";
104534
+ readonly '--no-rebase': "--no-rebase";
104535
+ readonly '--no-rec': "--no-recurse-submodules";
104536
+ readonly '--no-recu': "--no-recurse-submodules";
104537
+ readonly '--no-recur': "--no-recurse-submodules";
104538
+ readonly '--no-recurs': "--no-recurse-submodules";
104539
+ readonly '--no-recurse': "--no-recurse-submodules";
104540
+ readonly '--no-recurse-': "--no-recurse-submodules";
104541
+ readonly '--no-recurse-s': "--no-recurse-submodules";
104542
+ readonly '--no-recurse-su': "--no-recurse-submodules";
104543
+ readonly '--no-recurse-sub': "--no-recurse-submodules";
104544
+ readonly '--no-recurse-subm': "--no-recurse-submodules";
104545
+ readonly '--no-recurse-submo': "--no-recurse-submodules";
104546
+ readonly '--no-recurse-submod': "--no-recurse-submodules";
104547
+ readonly '--no-recurse-submodu': "--no-recurse-submodules";
104548
+ readonly '--no-recurse-submodul': "--no-recurse-submodules";
104549
+ readonly '--no-recurse-submodule': "--no-recurse-submodules";
104550
+ readonly '--no-recurse-submodules': "--no-recurse-submodules";
104551
+ readonly '--no-s': null;
104552
+ readonly '--no-se': null;
104553
+ readonly '--no-ser': "--no-server-option";
104554
+ readonly '--no-serv': "--no-server-option";
104555
+ readonly '--no-serve': "--no-server-option";
104556
+ readonly '--no-server': "--no-server-option";
104557
+ readonly '--no-server-': "--no-server-option";
104558
+ readonly '--no-server-o': "--no-server-option";
104559
+ readonly '--no-server-op': "--no-server-option";
104560
+ readonly '--no-server-opt': "--no-server-option";
104561
+ readonly '--no-server-opti': "--no-server-option";
104562
+ readonly '--no-server-optio': "--no-server-option";
104563
+ readonly '--no-server-option': "--no-server-option";
104564
+ readonly '--no-set': "--no-set-upstream";
104565
+ readonly '--no-set-': "--no-set-upstream";
104566
+ readonly '--no-set-u': "--no-set-upstream";
104567
+ readonly '--no-set-up': "--no-set-upstream";
104568
+ readonly '--no-set-ups': "--no-set-upstream";
104569
+ readonly '--no-set-upst': "--no-set-upstream";
104570
+ readonly '--no-set-upstr': "--no-set-upstream";
104571
+ readonly '--no-set-upstre': "--no-set-upstream";
104572
+ readonly '--no-set-upstrea': "--no-set-upstream";
104573
+ readonly '--no-set-upstream': "--no-set-upstream";
104574
+ readonly '--no-sh': null;
104575
+ readonly '--no-sha': null;
104576
+ readonly '--no-shal': null;
104577
+ readonly '--no-shall': null;
104578
+ readonly '--no-shallo': null;
104579
+ readonly '--no-shallow': null;
104580
+ readonly '--no-shallow-': null;
104581
+ readonly '--no-shallow-e': "--no-shallow-exclude";
104582
+ readonly '--no-shallow-ex': "--no-shallow-exclude";
104583
+ readonly '--no-shallow-exc': "--no-shallow-exclude";
104584
+ readonly '--no-shallow-excl': "--no-shallow-exclude";
104585
+ readonly '--no-shallow-exclu': "--no-shallow-exclude";
104586
+ readonly '--no-shallow-exclud': "--no-shallow-exclude";
104587
+ readonly '--no-shallow-exclude': "--no-shallow-exclude";
104588
+ readonly '--no-shallow-s': "--no-shallow-since";
104589
+ readonly '--no-shallow-si': "--no-shallow-since";
104590
+ readonly '--no-shallow-sin': "--no-shallow-since";
104591
+ readonly '--no-shallow-sinc': "--no-shallow-since";
104592
+ readonly '--no-shallow-since': "--no-shallow-since";
104593
+ readonly '--no-sho': "--no-show-forced-updates";
104594
+ readonly '--no-show': "--no-show-forced-updates";
104595
+ readonly '--no-show-': "--no-show-forced-updates";
104596
+ readonly '--no-show-f': "--no-show-forced-updates";
104597
+ readonly '--no-show-fo': "--no-show-forced-updates";
104598
+ readonly '--no-show-for': "--no-show-forced-updates";
104599
+ readonly '--no-show-forc': "--no-show-forced-updates";
104600
+ readonly '--no-show-force': "--no-show-forced-updates";
104601
+ readonly '--no-show-forced': "--no-show-forced-updates";
104602
+ readonly '--no-show-forced-': "--no-show-forced-updates";
104603
+ readonly '--no-show-forced-u': "--no-show-forced-updates";
104604
+ readonly '--no-show-forced-up': "--no-show-forced-updates";
104605
+ readonly '--no-show-forced-upd': "--no-show-forced-updates";
104606
+ readonly '--no-show-forced-upda': "--no-show-forced-updates";
104607
+ readonly '--no-show-forced-updat': "--no-show-forced-updates";
104608
+ readonly '--no-show-forced-update': "--no-show-forced-updates";
104609
+ readonly '--no-show-forced-updates': "--no-show-forced-updates";
104610
+ readonly '--no-si': "--no-signoff";
104611
+ readonly '--no-sig': "--no-signoff";
104612
+ readonly '--no-sign': "--no-signoff";
104613
+ readonly '--no-signo': "--no-signoff";
104614
+ readonly '--no-signof': "--no-signoff";
104615
+ readonly '--no-signoff': "--no-signoff";
104616
+ readonly '--no-sq': "--no-squash";
104617
+ readonly '--no-squ': "--no-squash";
104618
+ readonly '--no-squa': "--no-squash";
104619
+ readonly '--no-squas': "--no-squash";
104620
+ readonly '--no-squash': "--no-squash";
104621
+ readonly '--no-st': null;
104622
+ readonly '--no-sta': "--no-stat";
104623
+ readonly '--no-stat': "--no-stat";
104624
+ readonly '--no-str': null;
104625
+ readonly '--no-stra': null;
104626
+ readonly '--no-strat': null;
104627
+ readonly '--no-strate': null;
104628
+ readonly '--no-strateg': null;
104629
+ readonly '--no-strategy': "--no-strategy";
104630
+ readonly '--no-strategy-': "--no-strategy-option";
104631
+ readonly '--no-strategy-o': "--no-strategy-option";
104632
+ readonly '--no-strategy-op': "--no-strategy-option";
104633
+ readonly '--no-strategy-opt': "--no-strategy-option";
104634
+ readonly '--no-strategy-opti': "--no-strategy-option";
104635
+ readonly '--no-strategy-optio': "--no-strategy-option";
104636
+ readonly '--no-strategy-option': "--no-strategy-option";
104637
+ readonly '--no-su': "--no-summary";
104638
+ readonly '--no-sum': "--no-summary";
104639
+ readonly '--no-summ': "--no-summary";
104640
+ readonly '--no-summa': "--no-summary";
104641
+ readonly '--no-summar': "--no-summary";
104642
+ readonly '--no-summary': "--no-summary";
104643
+ readonly '--no-t': "--no-tags";
104644
+ readonly '--no-ta': "--no-tags";
104645
+ readonly '--no-tag': "--no-tags";
104646
+ readonly '--no-tags': "--no-tags";
104647
+ readonly '--no-u': null;
104648
+ readonly '--no-up': null;
104649
+ readonly '--no-upd': "--no-update-shallow";
104650
+ readonly '--no-upda': "--no-update-shallow";
104651
+ readonly '--no-updat': "--no-update-shallow";
104652
+ readonly '--no-update': "--no-update-shallow";
104653
+ readonly '--no-update-': "--no-update-shallow";
104654
+ readonly '--no-update-s': "--no-update-shallow";
104655
+ readonly '--no-update-sh': "--no-update-shallow";
104656
+ readonly '--no-update-sha': "--no-update-shallow";
104657
+ readonly '--no-update-shal': "--no-update-shallow";
104658
+ readonly '--no-update-shall': "--no-update-shallow";
104659
+ readonly '--no-update-shallo': "--no-update-shallow";
104660
+ readonly '--no-update-shallow': "--no-update-shallow";
104661
+ readonly '--no-upl': "--no-upload-pack";
104662
+ readonly '--no-uplo': "--no-upload-pack";
104663
+ readonly '--no-uploa': "--no-upload-pack";
104664
+ readonly '--no-upload': "--no-upload-pack";
104665
+ readonly '--no-upload-': "--no-upload-pack";
104666
+ readonly '--no-upload-p': "--no-upload-pack";
104667
+ readonly '--no-upload-pa': "--no-upload-pack";
104668
+ readonly '--no-upload-pac': "--no-upload-pack";
104669
+ readonly '--no-upload-pack': "--no-upload-pack";
104670
+ readonly '--no-v': null;
104671
+ readonly '--no-ve': null;
104672
+ readonly '--no-ver': null;
104673
+ readonly '--no-verb': "--no-verbose";
104674
+ readonly '--no-verbo': "--no-verbose";
104675
+ readonly '--no-verbos': "--no-verbose";
104676
+ readonly '--no-verbose': "--no-verbose";
104677
+ readonly '--no-veri': null;
104678
+ readonly '--no-verif': null;
104679
+ readonly '--no-verify': "--no-verify";
104680
+ readonly '--no-verify-': "--no-verify-signatures";
104681
+ readonly '--no-verify-s': "--no-verify-signatures";
104682
+ readonly '--no-verify-si': "--no-verify-signatures";
104683
+ readonly '--no-verify-sig': "--no-verify-signatures";
104684
+ readonly '--no-verify-sign': "--no-verify-signatures";
104685
+ readonly '--no-verify-signa': "--no-verify-signatures";
104686
+ readonly '--no-verify-signat': "--no-verify-signatures";
104687
+ readonly '--no-verify-signatu': "--no-verify-signatures";
104688
+ readonly '--no-verify-signatur': "--no-verify-signatures";
104689
+ readonly '--no-verify-signature': "--no-verify-signatures";
104690
+ readonly '--no-verify-signatures': "--no-verify-signatures";
104691
+ readonly '--p': null;
104692
+ readonly '--pr': null;
104693
+ readonly '--pro': "--progress";
104694
+ readonly '--prog': "--progress";
104695
+ readonly '--progr': "--progress";
104696
+ readonly '--progre': "--progress";
104697
+ readonly '--progres': "--progress";
104698
+ readonly '--progress': "--progress";
104699
+ readonly '--pru': "--prune";
104700
+ readonly '--prun': "--prune";
104701
+ readonly '--prune': "--prune";
104702
+ readonly '--q': "--quiet";
104703
+ readonly '--qu': "--quiet";
104704
+ readonly '--qui': "--quiet";
104705
+ readonly '--quie': "--quiet";
104706
+ readonly '--quiet': "--quiet";
104707
+ readonly '--r': null;
104708
+ readonly '--re': null;
104709
+ readonly '--reb': "--rebase";
104710
+ readonly '--reba': "--rebase";
104711
+ readonly '--rebas': "--rebase";
104712
+ readonly '--rebase': "--rebase";
104713
+ readonly '--rec': "--recurse-submodules";
104714
+ readonly '--recu': "--recurse-submodules";
104715
+ readonly '--recur': "--recurse-submodules";
104716
+ readonly '--recurs': "--recurse-submodules";
104717
+ readonly '--recurse': "--recurse-submodules";
104718
+ readonly '--recurse-': "--recurse-submodules";
104719
+ readonly '--recurse-s': "--recurse-submodules";
104720
+ readonly '--recurse-su': "--recurse-submodules";
104721
+ readonly '--recurse-sub': "--recurse-submodules";
104722
+ readonly '--recurse-subm': "--recurse-submodules";
104723
+ readonly '--recurse-submo': "--recurse-submodules";
104724
+ readonly '--recurse-submod': "--recurse-submodules";
104725
+ readonly '--recurse-submodu': "--recurse-submodules";
104726
+ readonly '--recurse-submodul': "--recurse-submodules";
104727
+ readonly '--recurse-submodule': "--recurse-submodules";
104728
+ readonly '--recurse-submodules': "--recurse-submodules";
104729
+ readonly '--ref': "--refmap";
104730
+ readonly '--refm': "--refmap";
104731
+ readonly '--refma': "--refmap";
104732
+ readonly '--refmap': "--refmap";
104733
+ readonly '--s': null;
104734
+ readonly '--se': null;
104735
+ readonly '--ser': "--server-option";
104736
+ readonly '--serv': "--server-option";
104737
+ readonly '--serve': "--server-option";
104738
+ readonly '--server': "--server-option";
104739
+ readonly '--server-': "--server-option";
104740
+ readonly '--server-o': "--server-option";
104741
+ readonly '--server-op': "--server-option";
104742
+ readonly '--server-opt': "--server-option";
104743
+ readonly '--server-opti': "--server-option";
104744
+ readonly '--server-optio': "--server-option";
104745
+ readonly '--server-option': "--server-option";
104746
+ readonly '--set': "--set-upstream";
104747
+ readonly '--set-': "--set-upstream";
104748
+ readonly '--set-u': "--set-upstream";
104749
+ readonly '--set-up': "--set-upstream";
104750
+ readonly '--set-ups': "--set-upstream";
104751
+ readonly '--set-upst': "--set-upstream";
104752
+ readonly '--set-upstr': "--set-upstream";
104753
+ readonly '--set-upstre': "--set-upstream";
104754
+ readonly '--set-upstrea': "--set-upstream";
104755
+ readonly '--set-upstream': "--set-upstream";
104756
+ readonly '--sh': null;
104757
+ readonly '--sha': null;
104758
+ readonly '--shal': null;
104759
+ readonly '--shall': null;
104760
+ readonly '--shallo': null;
104761
+ readonly '--shallow': null;
104762
+ readonly '--shallow-': null;
104763
+ readonly '--shallow-e': "--shallow-exclude";
104764
+ readonly '--shallow-ex': "--shallow-exclude";
104765
+ readonly '--shallow-exc': "--shallow-exclude";
104766
+ readonly '--shallow-excl': "--shallow-exclude";
104767
+ readonly '--shallow-exclu': "--shallow-exclude";
104768
+ readonly '--shallow-exclud': "--shallow-exclude";
104769
+ readonly '--shallow-exclude': "--shallow-exclude";
104770
+ readonly '--shallow-s': "--shallow-since";
104771
+ readonly '--shallow-si': "--shallow-since";
104772
+ readonly '--shallow-sin': "--shallow-since";
104773
+ readonly '--shallow-sinc': "--shallow-since";
104774
+ readonly '--shallow-since': "--shallow-since";
104775
+ readonly '--sho': "--show-forced-updates";
104776
+ readonly '--show': "--show-forced-updates";
104777
+ readonly '--show-': "--show-forced-updates";
104778
+ readonly '--show-f': "--show-forced-updates";
104779
+ readonly '--show-fo': "--show-forced-updates";
104780
+ readonly '--show-for': "--show-forced-updates";
104781
+ readonly '--show-forc': "--show-forced-updates";
104782
+ readonly '--show-force': "--show-forced-updates";
104783
+ readonly '--show-forced': "--show-forced-updates";
104784
+ readonly '--show-forced-': "--show-forced-updates";
104785
+ readonly '--show-forced-u': "--show-forced-updates";
104786
+ readonly '--show-forced-up': "--show-forced-updates";
104787
+ readonly '--show-forced-upd': "--show-forced-updates";
104788
+ readonly '--show-forced-upda': "--show-forced-updates";
104789
+ readonly '--show-forced-updat': "--show-forced-updates";
104790
+ readonly '--show-forced-update': "--show-forced-updates";
104791
+ readonly '--show-forced-updates': "--show-forced-updates";
104792
+ readonly '--si': "--signoff";
104793
+ readonly '--sig': "--signoff";
104794
+ readonly '--sign': "--signoff";
104795
+ readonly '--signo': "--signoff";
104796
+ readonly '--signof': "--signoff";
104797
+ readonly '--signoff': "--signoff";
104798
+ readonly '--sq': "--squash";
104799
+ readonly '--squ': "--squash";
104800
+ readonly '--squa': "--squash";
104801
+ readonly '--squas': "--squash";
104802
+ readonly '--squash': "--squash";
104803
+ readonly '--st': null;
104804
+ readonly '--sta': "--stat";
104805
+ readonly '--stat': "--stat";
104806
+ readonly '--str': null;
104807
+ readonly '--stra': null;
104808
+ readonly '--strat': null;
104809
+ readonly '--strate': null;
104810
+ readonly '--strateg': null;
104811
+ readonly '--strategy': "--strategy";
104812
+ readonly '--strategy-': "--strategy-option";
104813
+ readonly '--strategy-o': "--strategy-option";
104814
+ readonly '--strategy-op': "--strategy-option";
104815
+ readonly '--strategy-opt': "--strategy-option";
104816
+ readonly '--strategy-opti': "--strategy-option";
104817
+ readonly '--strategy-optio': "--strategy-option";
104818
+ readonly '--strategy-option': "--strategy-option";
104819
+ readonly '--su': "--summary";
104820
+ readonly '--sum': "--summary";
104821
+ readonly '--summ': "--summary";
104822
+ readonly '--summa': "--summary";
104823
+ readonly '--summar': "--summary";
104824
+ readonly '--summary': "--summary";
104825
+ readonly '--t': "--tags";
104826
+ readonly '--ta': "--tags";
104827
+ readonly '--tag': "--tags";
104828
+ readonly '--tags': "--tags";
104829
+ readonly '--u': null;
104830
+ readonly '--un': "--unshallow";
104831
+ readonly '--uns': "--unshallow";
104832
+ readonly '--unsh': "--unshallow";
104833
+ readonly '--unsha': "--unshallow";
104834
+ readonly '--unshal': "--unshallow";
104835
+ readonly '--unshall': "--unshallow";
104836
+ readonly '--unshallo': "--unshallow";
104837
+ readonly '--unshallow': "--unshallow";
104838
+ readonly '--up': null;
104839
+ readonly '--upd': "--update-shallow";
104840
+ readonly '--upda': "--update-shallow";
104841
+ readonly '--updat': "--update-shallow";
104842
+ readonly '--update': "--update-shallow";
104843
+ readonly '--update-': "--update-shallow";
104844
+ readonly '--update-s': "--update-shallow";
104845
+ readonly '--update-sh': "--update-shallow";
104846
+ readonly '--update-sha': "--update-shallow";
104847
+ readonly '--update-shal': "--update-shallow";
104848
+ readonly '--update-shall': "--update-shallow";
104849
+ readonly '--update-shallo': "--update-shallow";
104850
+ readonly '--update-shallow': "--update-shallow";
104851
+ readonly '--upl': "--upload-pack";
104852
+ readonly '--uplo': "--upload-pack";
104853
+ readonly '--uploa': "--upload-pack";
104854
+ readonly '--upload': "--upload-pack";
104855
+ readonly '--upload-': "--upload-pack";
104856
+ readonly '--upload-p': "--upload-pack";
104857
+ readonly '--upload-pa': "--upload-pack";
104858
+ readonly '--upload-pac': "--upload-pack";
104859
+ readonly '--upload-pack': "--upload-pack";
104860
+ readonly '--v': null;
104861
+ readonly '--ve': null;
104862
+ readonly '--ver': null;
104863
+ readonly '--verb': "--verbose";
104864
+ readonly '--verbo': "--verbose";
104865
+ readonly '--verbos': "--verbose";
104866
+ readonly '--verbose': "--verbose";
104867
+ readonly '--veri': null;
104868
+ readonly '--verif': null;
104869
+ readonly '--verify': "--verify";
104870
+ readonly '--verify-': "--verify-signatures";
104871
+ readonly '--verify-s': "--verify-signatures";
104872
+ readonly '--verify-si': "--verify-signatures";
104873
+ readonly '--verify-sig': "--verify-signatures";
104874
+ readonly '--verify-sign': "--verify-signatures";
104875
+ readonly '--verify-signa': "--verify-signatures";
104876
+ readonly '--verify-signat': "--verify-signatures";
104877
+ readonly '--verify-signatu': "--verify-signatures";
104878
+ readonly '--verify-signatur': "--verify-signatures";
104879
+ readonly '--verify-signature': "--verify-signatures";
104880
+ readonly '--verify-signatures': "--verify-signatures";
104881
+ };
104882
+ readonly attached: {
104883
+ readonly '--a': null;
104884
+ readonly '--al': null;
104885
+ readonly '--all': "--all";
104886
+ readonly '--allo': "--allow-unrelated-histories";
104887
+ readonly '--allow': "--allow-unrelated-histories";
104888
+ readonly '--allow-': "--allow-unrelated-histories";
104889
+ readonly '--allow-u': "--allow-unrelated-histories";
104890
+ readonly '--allow-un': "--allow-unrelated-histories";
104891
+ readonly '--allow-unr': "--allow-unrelated-histories";
104892
+ readonly '--allow-unre': "--allow-unrelated-histories";
104893
+ readonly '--allow-unrel': "--allow-unrelated-histories";
104894
+ readonly '--allow-unrela': "--allow-unrelated-histories";
104895
+ readonly '--allow-unrelat': "--allow-unrelated-histories";
104896
+ readonly '--allow-unrelate': "--allow-unrelated-histories";
104897
+ readonly '--allow-unrelated': "--allow-unrelated-histories";
104898
+ readonly '--allow-unrelated-': "--allow-unrelated-histories";
104899
+ readonly '--allow-unrelated-h': "--allow-unrelated-histories";
104900
+ readonly '--allow-unrelated-hi': "--allow-unrelated-histories";
104901
+ readonly '--allow-unrelated-his': "--allow-unrelated-histories";
104902
+ readonly '--allow-unrelated-hist': "--allow-unrelated-histories";
104903
+ readonly '--allow-unrelated-histo': "--allow-unrelated-histories";
104904
+ readonly '--allow-unrelated-histor': "--allow-unrelated-histories";
104905
+ readonly '--allow-unrelated-histori': "--allow-unrelated-histories";
104906
+ readonly '--allow-unrelated-historie': "--allow-unrelated-histories";
104907
+ readonly '--allow-unrelated-histories': "--allow-unrelated-histories";
104908
+ readonly '--ap': "--append";
104909
+ readonly '--app': "--append";
104910
+ readonly '--appe': "--append";
104911
+ readonly '--appen': "--append";
104912
+ readonly '--append': "--append";
104913
+ readonly '--au': "--autostash";
104914
+ readonly '--aut': "--autostash";
104915
+ readonly '--auto': "--autostash";
104916
+ readonly '--autos': "--autostash";
104917
+ readonly '--autost': "--autostash";
104918
+ readonly '--autosta': "--autostash";
104919
+ readonly '--autostas': "--autostash";
104920
+ readonly '--autostash': "--autostash";
104921
+ readonly '--c': null;
104922
+ readonly '--cl': "--cleanup";
104923
+ readonly '--cle': "--cleanup";
104924
+ readonly '--clea': "--cleanup";
104925
+ readonly '--clean': "--cleanup";
104926
+ readonly '--cleanu': "--cleanup";
104927
+ readonly '--cleanup': "--cleanup";
104928
+ readonly '--co': null;
104929
+ readonly '--com': null;
104930
+ readonly '--comm': "--commit";
104931
+ readonly '--commi': "--commit";
104932
+ readonly '--commit': "--commit";
104933
+ readonly '--comp': "--compact-summary";
104934
+ readonly '--compa': "--compact-summary";
104935
+ readonly '--compac': "--compact-summary";
104936
+ readonly '--compact': "--compact-summary";
104937
+ readonly '--compact-': "--compact-summary";
104938
+ readonly '--compact-s': "--compact-summary";
104939
+ readonly '--compact-su': "--compact-summary";
104940
+ readonly '--compact-sum': "--compact-summary";
104941
+ readonly '--compact-summ': "--compact-summary";
104942
+ readonly '--compact-summa': "--compact-summary";
104943
+ readonly '--compact-summar': "--compact-summary";
104944
+ readonly '--compact-summary': "--compact-summary";
104945
+ readonly '--d': null;
104946
+ readonly '--de': null;
104947
+ readonly '--dee': "--deepen";
104948
+ readonly '--deep': "--deepen";
104949
+ readonly '--deepe': "--deepen";
104950
+ readonly '--deepen': "--deepen";
104951
+ readonly '--dep': "--depth";
104952
+ readonly '--dept': "--depth";
104953
+ readonly '--depth': "--depth";
104954
+ readonly '--dr': "--dry-run";
104955
+ readonly '--dry': "--dry-run";
104956
+ readonly '--dry-': "--dry-run";
104957
+ readonly '--dry-r': "--dry-run";
104958
+ readonly '--dry-ru': "--dry-run";
104959
+ readonly '--dry-run': "--dry-run";
104960
+ readonly '--e': "--edit";
104961
+ readonly '--ed': "--edit";
104962
+ readonly '--edi': "--edit";
104963
+ readonly '--edit': "--edit";
104964
+ readonly '--f': null;
104965
+ readonly '--ff': "--ff";
104966
+ readonly '--ff-': "--ff-only";
104967
+ readonly '--ff-o': "--ff-only";
104968
+ readonly '--ff-on': "--ff-only";
104969
+ readonly '--ff-onl': "--ff-only";
104970
+ readonly '--ff-only': "--ff-only";
104971
+ readonly '--fo': "--force";
104972
+ readonly '--for': "--force";
104973
+ readonly '--forc': "--force";
104974
+ readonly '--force': "--force";
104975
+ readonly '--g': "--gpg-sign";
104976
+ readonly '--gp': "--gpg-sign";
104977
+ readonly '--gpg': "--gpg-sign";
104978
+ readonly '--gpg-': "--gpg-sign";
104979
+ readonly '--gpg-s': "--gpg-sign";
104980
+ readonly '--gpg-si': "--gpg-sign";
104981
+ readonly '--gpg-sig': "--gpg-sign";
104982
+ readonly '--gpg-sign': "--gpg-sign";
104983
+ readonly '--i': null;
104984
+ readonly '--ip': null;
104985
+ readonly '--ipv': null;
104986
+ readonly '--ipv4': "--ipv4";
104987
+ readonly '--ipv6': "--ipv6";
104988
+ readonly '--j': "--jobs";
104989
+ readonly '--jo': "--jobs";
104990
+ readonly '--job': "--jobs";
104991
+ readonly '--jobs': "--jobs";
104992
+ readonly '--k': "--keep";
104993
+ readonly '--ke': "--keep";
104994
+ readonly '--kee': "--keep";
104995
+ readonly '--keep': "--keep";
104996
+ readonly '--l': "--log";
104997
+ readonly '--lo': "--log";
104998
+ readonly '--log': "--log";
104999
+ readonly '--n': null;
105000
+ readonly '--ne': null;
105001
+ readonly '--neg': null;
105002
+ readonly '--nego': null;
105003
+ readonly '--negot': null;
105004
+ readonly '--negoti': null;
105005
+ readonly '--negotia': null;
105006
+ readonly '--negotiat': null;
105007
+ readonly '--negotiati': null;
105008
+ readonly '--negotiatio': null;
105009
+ readonly '--negotiation': null;
105010
+ readonly '--negotiation-': null;
105011
+ readonly '--negotiation-i': "--negotiation-include";
105012
+ readonly '--negotiation-in': "--negotiation-include";
105013
+ readonly '--negotiation-inc': "--negotiation-include";
105014
+ readonly '--negotiation-incl': "--negotiation-include";
105015
+ readonly '--negotiation-inclu': "--negotiation-include";
105016
+ readonly '--negotiation-includ': "--negotiation-include";
105017
+ readonly '--negotiation-include': "--negotiation-include";
105018
+ readonly '--negotiation-r': "--negotiation-restrict";
105019
+ readonly '--negotiation-re': "--negotiation-restrict";
105020
+ readonly '--negotiation-res': "--negotiation-restrict";
105021
+ readonly '--negotiation-rest': "--negotiation-restrict";
105022
+ readonly '--negotiation-restr': "--negotiation-restrict";
105023
+ readonly '--negotiation-restri': "--negotiation-restrict";
105024
+ readonly '--negotiation-restric': "--negotiation-restrict";
105025
+ readonly '--negotiation-restrict': "--negotiation-restrict";
105026
+ readonly '--negotiation-t': "--negotiation-tip";
105027
+ readonly '--negotiation-ti': "--negotiation-tip";
105028
+ readonly '--negotiation-tip': "--negotiation-tip";
105029
+ readonly '--no-': null;
105030
+ readonly '--no-a': null;
105031
+ readonly '--no-al': null;
105032
+ readonly '--no-all': "--no-all";
105033
+ readonly '--no-allo': "--no-allow-unrelated-histories";
105034
+ readonly '--no-allow': "--no-allow-unrelated-histories";
105035
+ readonly '--no-allow-': "--no-allow-unrelated-histories";
105036
+ readonly '--no-allow-u': "--no-allow-unrelated-histories";
105037
+ readonly '--no-allow-un': "--no-allow-unrelated-histories";
105038
+ readonly '--no-allow-unr': "--no-allow-unrelated-histories";
105039
+ readonly '--no-allow-unre': "--no-allow-unrelated-histories";
105040
+ readonly '--no-allow-unrel': "--no-allow-unrelated-histories";
105041
+ readonly '--no-allow-unrela': "--no-allow-unrelated-histories";
105042
+ readonly '--no-allow-unrelat': "--no-allow-unrelated-histories";
105043
+ readonly '--no-allow-unrelate': "--no-allow-unrelated-histories";
105044
+ readonly '--no-allow-unrelated': "--no-allow-unrelated-histories";
105045
+ readonly '--no-allow-unrelated-': "--no-allow-unrelated-histories";
105046
+ readonly '--no-allow-unrelated-h': "--no-allow-unrelated-histories";
105047
+ readonly '--no-allow-unrelated-hi': "--no-allow-unrelated-histories";
105048
+ readonly '--no-allow-unrelated-his': "--no-allow-unrelated-histories";
105049
+ readonly '--no-allow-unrelated-hist': "--no-allow-unrelated-histories";
105050
+ readonly '--no-allow-unrelated-histo': "--no-allow-unrelated-histories";
105051
+ readonly '--no-allow-unrelated-histor': "--no-allow-unrelated-histories";
105052
+ readonly '--no-allow-unrelated-histori': "--no-allow-unrelated-histories";
105053
+ readonly '--no-allow-unrelated-historie': "--no-allow-unrelated-histories";
105054
+ readonly '--no-allow-unrelated-histories': "--no-allow-unrelated-histories";
105055
+ readonly '--no-ap': "--no-append";
105056
+ readonly '--no-app': "--no-append";
105057
+ readonly '--no-appe': "--no-append";
105058
+ readonly '--no-appen': "--no-append";
105059
+ readonly '--no-append': "--no-append";
105060
+ readonly '--no-au': "--no-autostash";
105061
+ readonly '--no-aut': "--no-autostash";
105062
+ readonly '--no-auto': "--no-autostash";
105063
+ readonly '--no-autos': "--no-autostash";
105064
+ readonly '--no-autost': "--no-autostash";
105065
+ readonly '--no-autosta': "--no-autostash";
105066
+ readonly '--no-autostas': "--no-autostash";
105067
+ readonly '--no-autostash': "--no-autostash";
105068
+ readonly '--no-c': null;
105069
+ readonly '--no-cl': "--no-cleanup";
105070
+ readonly '--no-cle': "--no-cleanup";
105071
+ readonly '--no-clea': "--no-cleanup";
105072
+ readonly '--no-clean': "--no-cleanup";
105073
+ readonly '--no-cleanu': "--no-cleanup";
105074
+ readonly '--no-cleanup': "--no-cleanup";
105075
+ readonly '--no-co': null;
105076
+ readonly '--no-com': null;
105077
+ readonly '--no-comm': "--no-commit";
105078
+ readonly '--no-commi': "--no-commit";
105079
+ readonly '--no-commit': "--no-commit";
105080
+ readonly '--no-comp': "--no-compact-summary";
105081
+ readonly '--no-compa': "--no-compact-summary";
105082
+ readonly '--no-compac': "--no-compact-summary";
105083
+ readonly '--no-compact': "--no-compact-summary";
105084
+ readonly '--no-compact-': "--no-compact-summary";
105085
+ readonly '--no-compact-s': "--no-compact-summary";
105086
+ readonly '--no-compact-su': "--no-compact-summary";
105087
+ readonly '--no-compact-sum': "--no-compact-summary";
105088
+ readonly '--no-compact-summ': "--no-compact-summary";
105089
+ readonly '--no-compact-summa': "--no-compact-summary";
105090
+ readonly '--no-compact-summar': "--no-compact-summary";
105091
+ readonly '--no-compact-summary': "--no-compact-summary";
105092
+ readonly '--no-d': null;
105093
+ readonly '--no-de': null;
105094
+ readonly '--no-dee': "--no-deepen";
105095
+ readonly '--no-deep': "--no-deepen";
105096
+ readonly '--no-deepe': "--no-deepen";
105097
+ readonly '--no-deepen': "--no-deepen";
105098
+ readonly '--no-dep': "--no-depth";
105099
+ readonly '--no-dept': "--no-depth";
105100
+ readonly '--no-depth': "--no-depth";
105101
+ readonly '--no-dr': "--no-dry-run";
105102
+ readonly '--no-dry': "--no-dry-run";
105103
+ readonly '--no-dry-': "--no-dry-run";
105104
+ readonly '--no-dry-r': "--no-dry-run";
105105
+ readonly '--no-dry-ru': "--no-dry-run";
105106
+ readonly '--no-dry-run': "--no-dry-run";
105107
+ readonly '--no-e': "--no-edit";
105108
+ readonly '--no-ed': "--no-edit";
105109
+ readonly '--no-edi': "--no-edit";
105110
+ readonly '--no-edit': "--no-edit";
105111
+ readonly '--no-f': null;
105112
+ readonly '--no-ff': "--no-ff";
105113
+ readonly '--no-fo': "--no-force";
105114
+ readonly '--no-for': "--no-force";
105115
+ readonly '--no-forc': "--no-force";
105116
+ readonly '--no-force': "--no-force";
105117
+ readonly '--no-g': "--no-gpg-sign";
105118
+ readonly '--no-gp': "--no-gpg-sign";
105119
+ readonly '--no-gpg': "--no-gpg-sign";
105120
+ readonly '--no-gpg-': "--no-gpg-sign";
105121
+ readonly '--no-gpg-s': "--no-gpg-sign";
105122
+ readonly '--no-gpg-si': "--no-gpg-sign";
105123
+ readonly '--no-gpg-sig': "--no-gpg-sign";
105124
+ readonly '--no-gpg-sign': "--no-gpg-sign";
105125
+ readonly '--no-i': null;
105126
+ readonly '--no-ip': null;
105127
+ readonly '--no-ipv': null;
105128
+ readonly '--no-ipv4': "--no-ipv4";
105129
+ readonly '--no-ipv6': "--no-ipv6";
105130
+ readonly '--no-j': "--no-jobs";
105131
+ readonly '--no-jo': "--no-jobs";
105132
+ readonly '--no-job': "--no-jobs";
105133
+ readonly '--no-jobs': "--no-jobs";
105134
+ readonly '--no-k': "--no-keep";
105135
+ readonly '--no-ke': "--no-keep";
105136
+ readonly '--no-kee': "--no-keep";
105137
+ readonly '--no-keep': "--no-keep";
105138
+ readonly '--no-l': "--no-log";
105139
+ readonly '--no-lo': "--no-log";
105140
+ readonly '--no-log': "--no-log";
105141
+ readonly '--no-n': null;
105142
+ readonly '--no-ne': null;
105143
+ readonly '--no-neg': null;
105144
+ readonly '--no-nego': null;
105145
+ readonly '--no-negot': null;
105146
+ readonly '--no-negoti': null;
105147
+ readonly '--no-negotia': null;
105148
+ readonly '--no-negotiat': null;
105149
+ readonly '--no-negotiati': null;
105150
+ readonly '--no-negotiatio': null;
105151
+ readonly '--no-negotiation': null;
105152
+ readonly '--no-negotiation-': null;
105153
+ readonly '--no-negotiation-i': "--no-negotiation-include";
105154
+ readonly '--no-negotiation-in': "--no-negotiation-include";
105155
+ readonly '--no-negotiation-inc': "--no-negotiation-include";
105156
+ readonly '--no-negotiation-incl': "--no-negotiation-include";
105157
+ readonly '--no-negotiation-inclu': "--no-negotiation-include";
105158
+ readonly '--no-negotiation-includ': "--no-negotiation-include";
105159
+ readonly '--no-negotiation-include': "--no-negotiation-include";
105160
+ readonly '--no-negotiation-r': "--no-negotiation-restrict";
105161
+ readonly '--no-negotiation-re': "--no-negotiation-restrict";
105162
+ readonly '--no-negotiation-res': "--no-negotiation-restrict";
105163
+ readonly '--no-negotiation-rest': "--no-negotiation-restrict";
105164
+ readonly '--no-negotiation-restr': "--no-negotiation-restrict";
105165
+ readonly '--no-negotiation-restri': "--no-negotiation-restrict";
105166
+ readonly '--no-negotiation-restric': "--no-negotiation-restrict";
105167
+ readonly '--no-negotiation-restrict': "--no-negotiation-restrict";
105168
+ readonly '--no-negotiation-t': "--no-negotiation-tip";
105169
+ readonly '--no-negotiation-ti': "--no-negotiation-tip";
105170
+ readonly '--no-negotiation-tip': "--no-negotiation-tip";
105171
+ readonly '--no-p': null;
105172
+ readonly '--no-pr': null;
105173
+ readonly '--no-pro': "--no-progress";
105174
+ readonly '--no-prog': "--no-progress";
105175
+ readonly '--no-progr': "--no-progress";
105176
+ readonly '--no-progre': "--no-progress";
105177
+ readonly '--no-progres': "--no-progress";
105178
+ readonly '--no-progress': "--no-progress";
105179
+ readonly '--no-pru': "--no-prune";
105180
+ readonly '--no-prun': "--no-prune";
105181
+ readonly '--no-prune': "--no-prune";
105182
+ readonly '--no-q': "--no-quiet";
105183
+ readonly '--no-qu': "--no-quiet";
105184
+ readonly '--no-qui': "--no-quiet";
105185
+ readonly '--no-quie': "--no-quiet";
105186
+ readonly '--no-quiet': "--no-quiet";
105187
+ readonly '--no-r': null;
105188
+ readonly '--no-re': null;
105189
+ readonly '--no-reb': "--no-rebase";
105190
+ readonly '--no-reba': "--no-rebase";
105191
+ readonly '--no-rebas': "--no-rebase";
105192
+ readonly '--no-rebase': "--no-rebase";
105193
+ readonly '--no-rec': "--no-recurse-submodules";
105194
+ readonly '--no-recu': "--no-recurse-submodules";
105195
+ readonly '--no-recur': "--no-recurse-submodules";
105196
+ readonly '--no-recurs': "--no-recurse-submodules";
105197
+ readonly '--no-recurse': "--no-recurse-submodules";
105198
+ readonly '--no-recurse-': "--no-recurse-submodules";
105199
+ readonly '--no-recurse-s': "--no-recurse-submodules";
105200
+ readonly '--no-recurse-su': "--no-recurse-submodules";
105201
+ readonly '--no-recurse-sub': "--no-recurse-submodules";
105202
+ readonly '--no-recurse-subm': "--no-recurse-submodules";
105203
+ readonly '--no-recurse-submo': "--no-recurse-submodules";
105204
+ readonly '--no-recurse-submod': "--no-recurse-submodules";
105205
+ readonly '--no-recurse-submodu': "--no-recurse-submodules";
105206
+ readonly '--no-recurse-submodul': "--no-recurse-submodules";
105207
+ readonly '--no-recurse-submodule': "--no-recurse-submodules";
105208
+ readonly '--no-recurse-submodules': "--no-recurse-submodules";
105209
+ readonly '--no-s': null;
105210
+ readonly '--no-se': null;
105211
+ readonly '--no-ser': "--no-server-option";
105212
+ readonly '--no-serv': "--no-server-option";
105213
+ readonly '--no-serve': "--no-server-option";
105214
+ readonly '--no-server': "--no-server-option";
105215
+ readonly '--no-server-': "--no-server-option";
105216
+ readonly '--no-server-o': "--no-server-option";
105217
+ readonly '--no-server-op': "--no-server-option";
105218
+ readonly '--no-server-opt': "--no-server-option";
105219
+ readonly '--no-server-opti': "--no-server-option";
105220
+ readonly '--no-server-optio': "--no-server-option";
105221
+ readonly '--no-server-option': "--no-server-option";
105222
+ readonly '--no-set': "--no-set-upstream";
105223
+ readonly '--no-set-': "--no-set-upstream";
105224
+ readonly '--no-set-u': "--no-set-upstream";
105225
+ readonly '--no-set-up': "--no-set-upstream";
105226
+ readonly '--no-set-ups': "--no-set-upstream";
105227
+ readonly '--no-set-upst': "--no-set-upstream";
105228
+ readonly '--no-set-upstr': "--no-set-upstream";
105229
+ readonly '--no-set-upstre': "--no-set-upstream";
105230
+ readonly '--no-set-upstrea': "--no-set-upstream";
105231
+ readonly '--no-set-upstream': "--no-set-upstream";
105232
+ readonly '--no-sh': null;
105233
+ readonly '--no-sha': null;
105234
+ readonly '--no-shal': null;
105235
+ readonly '--no-shall': null;
105236
+ readonly '--no-shallo': null;
105237
+ readonly '--no-shallow': null;
105238
+ readonly '--no-shallow-': null;
105239
+ readonly '--no-shallow-e': "--no-shallow-exclude";
105240
+ readonly '--no-shallow-ex': "--no-shallow-exclude";
105241
+ readonly '--no-shallow-exc': "--no-shallow-exclude";
105242
+ readonly '--no-shallow-excl': "--no-shallow-exclude";
105243
+ readonly '--no-shallow-exclu': "--no-shallow-exclude";
105244
+ readonly '--no-shallow-exclud': "--no-shallow-exclude";
105245
+ readonly '--no-shallow-exclude': "--no-shallow-exclude";
105246
+ readonly '--no-shallow-s': "--no-shallow-since";
105247
+ readonly '--no-shallow-si': "--no-shallow-since";
105248
+ readonly '--no-shallow-sin': "--no-shallow-since";
105249
+ readonly '--no-shallow-sinc': "--no-shallow-since";
105250
+ readonly '--no-shallow-since': "--no-shallow-since";
105251
+ readonly '--no-sho': "--no-show-forced-updates";
105252
+ readonly '--no-show': "--no-show-forced-updates";
105253
+ readonly '--no-show-': "--no-show-forced-updates";
105254
+ readonly '--no-show-f': "--no-show-forced-updates";
105255
+ readonly '--no-show-fo': "--no-show-forced-updates";
105256
+ readonly '--no-show-for': "--no-show-forced-updates";
105257
+ readonly '--no-show-forc': "--no-show-forced-updates";
105258
+ readonly '--no-show-force': "--no-show-forced-updates";
105259
+ readonly '--no-show-forced': "--no-show-forced-updates";
105260
+ readonly '--no-show-forced-': "--no-show-forced-updates";
105261
+ readonly '--no-show-forced-u': "--no-show-forced-updates";
105262
+ readonly '--no-show-forced-up': "--no-show-forced-updates";
105263
+ readonly '--no-show-forced-upd': "--no-show-forced-updates";
105264
+ readonly '--no-show-forced-upda': "--no-show-forced-updates";
105265
+ readonly '--no-show-forced-updat': "--no-show-forced-updates";
105266
+ readonly '--no-show-forced-update': "--no-show-forced-updates";
105267
+ readonly '--no-show-forced-updates': "--no-show-forced-updates";
105268
+ readonly '--no-si': "--no-signoff";
105269
+ readonly '--no-sig': "--no-signoff";
105270
+ readonly '--no-sign': "--no-signoff";
105271
+ readonly '--no-signo': "--no-signoff";
105272
+ readonly '--no-signof': "--no-signoff";
105273
+ readonly '--no-signoff': "--no-signoff";
105274
+ readonly '--no-sq': "--no-squash";
105275
+ readonly '--no-squ': "--no-squash";
105276
+ readonly '--no-squa': "--no-squash";
105277
+ readonly '--no-squas': "--no-squash";
105278
+ readonly '--no-squash': "--no-squash";
105279
+ readonly '--no-st': null;
105280
+ readonly '--no-sta': "--no-stat";
105281
+ readonly '--no-stat': "--no-stat";
105282
+ readonly '--no-str': null;
105283
+ readonly '--no-stra': null;
105284
+ readonly '--no-strat': null;
105285
+ readonly '--no-strate': null;
105286
+ readonly '--no-strateg': null;
105287
+ readonly '--no-strategy': "--no-strategy";
105288
+ readonly '--no-strategy-': "--no-strategy-option";
105289
+ readonly '--no-strategy-o': "--no-strategy-option";
105290
+ readonly '--no-strategy-op': "--no-strategy-option";
105291
+ readonly '--no-strategy-opt': "--no-strategy-option";
105292
+ readonly '--no-strategy-opti': "--no-strategy-option";
105293
+ readonly '--no-strategy-optio': "--no-strategy-option";
105294
+ readonly '--no-strategy-option': "--no-strategy-option";
105295
+ readonly '--no-su': "--no-summary";
105296
+ readonly '--no-sum': "--no-summary";
105297
+ readonly '--no-summ': "--no-summary";
105298
+ readonly '--no-summa': "--no-summary";
105299
+ readonly '--no-summar': "--no-summary";
105300
+ readonly '--no-summary': "--no-summary";
105301
+ readonly '--no-t': "--no-tags";
105302
+ readonly '--no-ta': "--no-tags";
105303
+ readonly '--no-tag': "--no-tags";
105304
+ readonly '--no-tags': "--no-tags";
105305
+ readonly '--no-u': null;
105306
+ readonly '--no-up': null;
105307
+ readonly '--no-upd': "--no-update-shallow";
105308
+ readonly '--no-upda': "--no-update-shallow";
105309
+ readonly '--no-updat': "--no-update-shallow";
105310
+ readonly '--no-update': "--no-update-shallow";
105311
+ readonly '--no-update-': "--no-update-shallow";
105312
+ readonly '--no-update-s': "--no-update-shallow";
105313
+ readonly '--no-update-sh': "--no-update-shallow";
105314
+ readonly '--no-update-sha': "--no-update-shallow";
105315
+ readonly '--no-update-shal': "--no-update-shallow";
105316
+ readonly '--no-update-shall': "--no-update-shallow";
105317
+ readonly '--no-update-shallo': "--no-update-shallow";
105318
+ readonly '--no-update-shallow': "--no-update-shallow";
105319
+ readonly '--no-upl': "--no-upload-pack";
105320
+ readonly '--no-uplo': "--no-upload-pack";
105321
+ readonly '--no-uploa': "--no-upload-pack";
105322
+ readonly '--no-upload': "--no-upload-pack";
105323
+ readonly '--no-upload-': "--no-upload-pack";
105324
+ readonly '--no-upload-p': "--no-upload-pack";
105325
+ readonly '--no-upload-pa': "--no-upload-pack";
105326
+ readonly '--no-upload-pac': "--no-upload-pack";
105327
+ readonly '--no-upload-pack': "--no-upload-pack";
105328
+ readonly '--no-v': null;
105329
+ readonly '--no-ve': null;
105330
+ readonly '--no-ver': null;
105331
+ readonly '--no-verb': "--no-verbose";
105332
+ readonly '--no-verbo': "--no-verbose";
105333
+ readonly '--no-verbos': "--no-verbose";
105334
+ readonly '--no-verbose': "--no-verbose";
105335
+ readonly '--no-veri': null;
105336
+ readonly '--no-verif': null;
105337
+ readonly '--no-verify': "--no-verify";
105338
+ readonly '--no-verify-': "--no-verify-signatures";
105339
+ readonly '--no-verify-s': "--no-verify-signatures";
105340
+ readonly '--no-verify-si': "--no-verify-signatures";
105341
+ readonly '--no-verify-sig': "--no-verify-signatures";
105342
+ readonly '--no-verify-sign': "--no-verify-signatures";
105343
+ readonly '--no-verify-signa': "--no-verify-signatures";
105344
+ readonly '--no-verify-signat': "--no-verify-signatures";
105345
+ readonly '--no-verify-signatu': "--no-verify-signatures";
105346
+ readonly '--no-verify-signatur': "--no-verify-signatures";
105347
+ readonly '--no-verify-signature': "--no-verify-signatures";
105348
+ readonly '--no-verify-signatures': "--no-verify-signatures";
105349
+ readonly '--p': null;
105350
+ readonly '--pr': null;
105351
+ readonly '--pro': "--progress";
105352
+ readonly '--prog': "--progress";
105353
+ readonly '--progr': "--progress";
105354
+ readonly '--progre': "--progress";
105355
+ readonly '--progres': "--progress";
105356
+ readonly '--progress': "--progress";
105357
+ readonly '--pru': "--prune";
105358
+ readonly '--prun': "--prune";
105359
+ readonly '--prune': "--prune";
105360
+ readonly '--q': "--quiet";
105361
+ readonly '--qu': "--quiet";
105362
+ readonly '--qui': "--quiet";
105363
+ readonly '--quie': "--quiet";
105364
+ readonly '--quiet': "--quiet";
105365
+ readonly '--r': null;
105366
+ readonly '--re': null;
105367
+ readonly '--reb': "--rebase";
105368
+ readonly '--reba': "--rebase";
105369
+ readonly '--rebas': "--rebase";
105370
+ readonly '--rebase': "--rebase";
105371
+ readonly '--rec': "--recurse-submodules";
105372
+ readonly '--recu': "--recurse-submodules";
105373
+ readonly '--recur': "--recurse-submodules";
105374
+ readonly '--recurs': "--recurse-submodules";
105375
+ readonly '--recurse': "--recurse-submodules";
105376
+ readonly '--recurse-': "--recurse-submodules";
105377
+ readonly '--recurse-s': "--recurse-submodules";
105378
+ readonly '--recurse-su': "--recurse-submodules";
105379
+ readonly '--recurse-sub': "--recurse-submodules";
105380
+ readonly '--recurse-subm': "--recurse-submodules";
105381
+ readonly '--recurse-submo': "--recurse-submodules";
105382
+ readonly '--recurse-submod': "--recurse-submodules";
105383
+ readonly '--recurse-submodu': "--recurse-submodules";
105384
+ readonly '--recurse-submodul': "--recurse-submodules";
105385
+ readonly '--recurse-submodule': "--recurse-submodules";
105386
+ readonly '--recurse-submodules': "--recurse-submodules";
105387
+ readonly '--ref': "--refmap";
105388
+ readonly '--refm': "--refmap";
105389
+ readonly '--refma': "--refmap";
105390
+ readonly '--refmap': "--refmap";
105391
+ readonly '--s': null;
105392
+ readonly '--se': null;
105393
+ readonly '--ser': "--server-option";
105394
+ readonly '--serv': "--server-option";
105395
+ readonly '--serve': "--server-option";
105396
+ readonly '--server': "--server-option";
105397
+ readonly '--server-': "--server-option";
105398
+ readonly '--server-o': "--server-option";
105399
+ readonly '--server-op': "--server-option";
105400
+ readonly '--server-opt': "--server-option";
105401
+ readonly '--server-opti': "--server-option";
105402
+ readonly '--server-optio': "--server-option";
105403
+ readonly '--server-option': "--server-option";
105404
+ readonly '--set': "--set-upstream";
105405
+ readonly '--set-': "--set-upstream";
105406
+ readonly '--set-u': "--set-upstream";
105407
+ readonly '--set-up': "--set-upstream";
105408
+ readonly '--set-ups': "--set-upstream";
105409
+ readonly '--set-upst': "--set-upstream";
105410
+ readonly '--set-upstr': "--set-upstream";
105411
+ readonly '--set-upstre': "--set-upstream";
105412
+ readonly '--set-upstrea': "--set-upstream";
105413
+ readonly '--set-upstream': "--set-upstream";
105414
+ readonly '--sh': null;
105415
+ readonly '--sha': null;
105416
+ readonly '--shal': null;
105417
+ readonly '--shall': null;
105418
+ readonly '--shallo': null;
105419
+ readonly '--shallow': null;
105420
+ readonly '--shallow-': null;
105421
+ readonly '--shallow-e': "--shallow-exclude";
105422
+ readonly '--shallow-ex': "--shallow-exclude";
105423
+ readonly '--shallow-exc': "--shallow-exclude";
105424
+ readonly '--shallow-excl': "--shallow-exclude";
105425
+ readonly '--shallow-exclu': "--shallow-exclude";
105426
+ readonly '--shallow-exclud': "--shallow-exclude";
105427
+ readonly '--shallow-exclude': "--shallow-exclude";
105428
+ readonly '--shallow-s': "--shallow-since";
105429
+ readonly '--shallow-si': "--shallow-since";
105430
+ readonly '--shallow-sin': "--shallow-since";
105431
+ readonly '--shallow-sinc': "--shallow-since";
105432
+ readonly '--shallow-since': "--shallow-since";
105433
+ readonly '--sho': "--show-forced-updates";
105434
+ readonly '--show': "--show-forced-updates";
105435
+ readonly '--show-': "--show-forced-updates";
105436
+ readonly '--show-f': "--show-forced-updates";
105437
+ readonly '--show-fo': "--show-forced-updates";
105438
+ readonly '--show-for': "--show-forced-updates";
105439
+ readonly '--show-forc': "--show-forced-updates";
105440
+ readonly '--show-force': "--show-forced-updates";
105441
+ readonly '--show-forced': "--show-forced-updates";
105442
+ readonly '--show-forced-': "--show-forced-updates";
105443
+ readonly '--show-forced-u': "--show-forced-updates";
105444
+ readonly '--show-forced-up': "--show-forced-updates";
105445
+ readonly '--show-forced-upd': "--show-forced-updates";
105446
+ readonly '--show-forced-upda': "--show-forced-updates";
105447
+ readonly '--show-forced-updat': "--show-forced-updates";
105448
+ readonly '--show-forced-update': "--show-forced-updates";
105449
+ readonly '--show-forced-updates': "--show-forced-updates";
105450
+ readonly '--si': "--signoff";
105451
+ readonly '--sig': "--signoff";
105452
+ readonly '--sign': "--signoff";
105453
+ readonly '--signo': "--signoff";
105454
+ readonly '--signof': "--signoff";
105455
+ readonly '--signoff': "--signoff";
105456
+ readonly '--sq': "--squash";
105457
+ readonly '--squ': "--squash";
105458
+ readonly '--squa': "--squash";
105459
+ readonly '--squas': "--squash";
105460
+ readonly '--squash': "--squash";
105461
+ readonly '--st': null;
105462
+ readonly '--sta': "--stat";
105463
+ readonly '--stat': "--stat";
105464
+ readonly '--str': null;
105465
+ readonly '--stra': null;
105466
+ readonly '--strat': null;
105467
+ readonly '--strate': null;
105468
+ readonly '--strateg': null;
105469
+ readonly '--strategy': "--strategy";
105470
+ readonly '--strategy-': "--strategy-option";
105471
+ readonly '--strategy-o': "--strategy-option";
105472
+ readonly '--strategy-op': "--strategy-option";
105473
+ readonly '--strategy-opt': "--strategy-option";
105474
+ readonly '--strategy-opti': "--strategy-option";
105475
+ readonly '--strategy-optio': "--strategy-option";
105476
+ readonly '--strategy-option': "--strategy-option";
105477
+ readonly '--su': "--summary";
105478
+ readonly '--sum': "--summary";
105479
+ readonly '--summ': "--summary";
105480
+ readonly '--summa': "--summary";
105481
+ readonly '--summar': "--summary";
105482
+ readonly '--summary': "--summary";
105483
+ readonly '--t': "--tags";
105484
+ readonly '--ta': "--tags";
105485
+ readonly '--tag': "--tags";
105486
+ readonly '--tags': "--tags";
105487
+ readonly '--u': null;
105488
+ readonly '--un': "--unshallow";
105489
+ readonly '--uns': "--unshallow";
105490
+ readonly '--unsh': "--unshallow";
105491
+ readonly '--unsha': "--unshallow";
105492
+ readonly '--unshal': "--unshallow";
105493
+ readonly '--unshall': "--unshallow";
105494
+ readonly '--unshallo': "--unshallow";
105495
+ readonly '--unshallow': "--unshallow";
105496
+ readonly '--up': null;
105497
+ readonly '--upd': "--update-shallow";
105498
+ readonly '--upda': "--update-shallow";
105499
+ readonly '--updat': "--update-shallow";
105500
+ readonly '--update': "--update-shallow";
105501
+ readonly '--update-': "--update-shallow";
105502
+ readonly '--update-s': "--update-shallow";
105503
+ readonly '--update-sh': "--update-shallow";
105504
+ readonly '--update-sha': "--update-shallow";
105505
+ readonly '--update-shal': "--update-shallow";
105506
+ readonly '--update-shall': "--update-shallow";
105507
+ readonly '--update-shallo': "--update-shallow";
105508
+ readonly '--update-shallow': "--update-shallow";
105509
+ readonly '--upl': "--upload-pack";
105510
+ readonly '--uplo': "--upload-pack";
105511
+ readonly '--uploa': "--upload-pack";
105512
+ readonly '--upload': "--upload-pack";
105513
+ readonly '--upload-': "--upload-pack";
105514
+ readonly '--upload-p': "--upload-pack";
105515
+ readonly '--upload-pa': "--upload-pack";
105516
+ readonly '--upload-pac': "--upload-pack";
105517
+ readonly '--upload-pack': "--upload-pack";
105518
+ readonly '--v': null;
105519
+ readonly '--ve': null;
105520
+ readonly '--ver': null;
105521
+ readonly '--verb': "--verbose";
105522
+ readonly '--verbo': "--verbose";
105523
+ readonly '--verbos': "--verbose";
105524
+ readonly '--verbose': "--verbose";
105525
+ readonly '--veri': null;
105526
+ readonly '--verif': null;
105527
+ readonly '--verify': "--verify";
105528
+ readonly '--verify-': "--verify-signatures";
105529
+ readonly '--verify-s': "--verify-signatures";
105530
+ readonly '--verify-si': "--verify-signatures";
105531
+ readonly '--verify-sig': "--verify-signatures";
105532
+ readonly '--verify-sign': "--verify-signatures";
105533
+ readonly '--verify-signa': "--verify-signatures";
105534
+ readonly '--verify-signat': "--verify-signatures";
105535
+ readonly '--verify-signatu': "--verify-signatures";
105536
+ readonly '--verify-signatur': "--verify-signatures";
105537
+ readonly '--verify-signature': "--verify-signatures";
105538
+ readonly '--verify-signatures': "--verify-signatures";
105539
+ };
105540
+ };
105541
+ readonly firstPassOptions: readonly ["--all", "--allow-unrelated-histories", "--append", "--autostash", "--cleanup", "--commit", "--compact-summary", "--deepen", "--depth", "--dry-run", "--edit", "--ff", "--ff-only", "--force", "--gpg-sign", "--help", "--help-all", "--ipv4", "--ipv6", "--jobs", "--keep", "--log", "--negotiation-include", "--negotiation-restrict", "--negotiation-tip", "--no-all", "--no-allow-unrelated-histories", "--no-append", "--no-autostash", "--no-cleanup", "--no-commit", "--no-compact-summary", "--no-deepen", "--no-depth", "--no-dry-run", "--no-edit", "--no-ff", "--no-force", "--no-gpg-sign", "--no-ipv4", "--no-ipv6", "--no-jobs", "--no-keep", "--no-log", "--no-negotiation-include", "--no-negotiation-restrict", "--no-negotiation-tip", "--no-progress", "--no-prune", "--no-quiet", "--no-rebase", "--no-recurse-submodules", "--no-server-option", "--no-set-upstream", "--no-shallow-exclude", "--no-shallow-since", "--no-show-forced-updates", "--no-signoff", "--no-squash", "--no-stat", "--no-strategy", "--no-strategy-option", "--no-summary", "--no-tags", "--no-update-shallow", "--no-upload-pack", "--no-verbose", "--no-verify", "--no-verify-signatures", "--progress", "--prune", "--quiet", "--rebase", "--recurse-submodules", "--refmap", "--server-option", "--set-upstream", "--shallow-exclude", "--shallow-since", "--show-forced-updates", "--signoff", "--squash", "--stat", "--strategy", "--strategy-option", "--summary", "--tags", "--unshallow", "--update-shallow", "--upload-pack", "--verbose", "--verify", "--verify-signatures", "-4", "-6", "-S", "-X", "-a", "-f", "-h", "-j", "-k", "-n", "-o", "-p", "-q", "-r", "-s", "-t", "-v"];
105542
+ readonly firstPassLongNames: readonly ["all", "allow-unrelated-histories", "append", "autostash", "cleanup", "commit", "compact-summary", "deepen", "depth", "dry-run", "edit", "ff", "ff-only", "force", "gpg-sign", "ipv4", "ipv6", "jobs", "keep", "log", "negotiation-include", "negotiation-restrict", "negotiation-tip", "progress", "prune", "quiet", "rebase", "recurse-submodules", "refmap", "server-option", "set-upstream", "shallow-exclude", "shallow-since", "show-forced-updates", "signoff", "squash", "stat", "strategy", "strategy-option", "summary", "tags", "unshallow", "update-shallow", "upload-pack", "verbose", "verify", "verify-signatures"];
105543
+ readonly remainingOptions: RemainingOptions0Type;
105544
+ readonly remainingShortOptions: readonly [];
105545
+ readonly remainingLongNames: readonly [];
105546
+ readonly remainingDetachedOptions: readonly [];
103044
105547
  };
103045
105548
  readonly forwardedOperands: {
103046
105549
  readonly origin: "type-git";
@@ -132845,7 +135348,6 @@ type LegacyDocumentationCommand = 'shell' | 'filter-branch' | 'merge-recursive'
132845
135348
  type LegacyDocumentationArgument<C extends GitCommandName> = C extends LegacyDocumentationCommand ? readonly [keyof typeof GLOBAL_HELP_DISPATCH_OPTIONS] : never;
132846
135349
  type GitCommandArgument<C extends GitCommandName> = LocalCommandArgument<C> | LocalCommandArgument<DispatchTarget<C>> | LegacyDocumentationArgument<C> | LegacyDocumentationArgument<DispatchTarget<C>>;
132847
135350
  type GitCommandExecOpts<Mode extends GitOutputMode = 'text'> = CommandExecOpts & {
132848
- stdin?: string | Uint8Array;
132849
135351
  stdout?: Mode;
132850
135352
  };
132851
135353
  type OptionKeys<D> = D extends {
@@ -133254,12 +135756,17 @@ type ApplyForEachRepoOption<S, D, T extends readonly unknown[], R extends readon
133254
135756
  type ApplyMailinfoOption<S, D, T extends readonly unknown[], R extends readonly unknown[], F extends boolean> = D extends OptionSpec ? ApplyOption<S, ProfiledOption<S, D>, T, R, F> extends infer Next ? [Next] extends [never] ? InvalidPass : Next : InvalidPass : InvalidPass;
133255
135757
  /** A forwarded operand starting with a dash becomes a child option, even after `--`. */
133256
135758
  type ForwardedOperandRejected<C extends GitCommandName, S, V extends string> = Spec<C> extends {
133257
- forwardedOperands: object;
135759
+ forwardedOperands: infer F;
133258
135760
  } ? S extends {
133259
135761
  help: true;
133260
135762
  } | {
133261
135763
  parserExited: true;
133262
- } ? false : V extends `-${infer Rest}` ? Rest extends '' ? false : true : false : false;
135764
+ } ? false : F extends {
135765
+ firstForwarded: 1;
135766
+ } ? S extends {
135767
+ operands: readonly [];
135768
+ } ? false : ForwardedDashWord<V> : ForwardedDashWord<V> : false;
135769
+ type ForwardedDashWord<V extends string> = V extends `-${infer Rest}` ? Rest extends '' ? false : true : false;
133263
135770
  type ApplyToken<C extends GitCommandName, S, T, Remaining extends readonly unknown[], First extends boolean, O = Options<C>> = T extends readonly ['--'] ? ('--end-of-options' extends keyof O ? S extends {
133264
135771
  ended: true;
133265
135772
  } ? true : false : ParsingEnded<C, S>) extends true ? never : Put<Put<S, 'ended', true>, 'hasSeparator', true> : T extends {
@@ -133352,13 +135859,40 @@ type RevisionPassState<C extends GitCommandName, E extends readonly unknown[], R
133352
135859
  tokens: infer T extends readonly unknown[];
133353
135860
  } ? State<C, T, State<C, E, InitialState>, true, RemainingOptions<C>> extends infer S ? [S] extends [never] ? InvalidPass : P extends {
133354
135861
  exited: true;
133355
- } ? S & {
135862
+ } ? PartitionRulesValid<C, S> extends true ? S & {
133356
135863
  parserExited: true;
133357
- } : S : InvalidPass : P extends {
135864
+ } : InvalidPass : S : InvalidPass : P extends {
133358
135865
  dynamic: true;
133359
135866
  } ? {
133360
135867
  parserExited: true;
133361
135868
  } : InvalidPass : InvalidPass;
135869
+ /** Rules that read only a partitioned operand key run before the revision parser can exit. */
135870
+ type PartitionRuleKeysOnly<H, K extends string> = H extends {
135871
+ keys: unknown;
135872
+ } | {
135873
+ others: unknown;
135874
+ } | {
135875
+ guard: unknown;
135876
+ } ? false : H extends {
135877
+ when: readonly (infer P)[];
135878
+ } ? [P] extends [{
135879
+ key: K;
135880
+ }] ? H extends {
135881
+ key: infer X;
135882
+ } ? [X] extends [K] ? true : false : true : false : H extends {
135883
+ key: K;
135884
+ } ? true : false;
135885
+ type PartitionRules<R, K extends string> = R extends readonly [
135886
+ infer H extends Constraint,
135887
+ ...infer Rest
135888
+ ] ? PartitionRuleKeysOnly<H, K> extends true ? readonly [H, ...PartitionRules<Rest, K>] : PartitionRules<Rest, K> : readonly [];
135889
+ type PartitionRulesValid<C extends GitCommandName, S> = Spec<C> extends {
135890
+ parserExit: {
135891
+ remainingPartition: {
135892
+ operandKey: infer K extends string;
135893
+ };
135894
+ };
135895
+ } ? CheckRules<S, PartitionRules<Spec<C>['rules'], K>> : true;
133362
135896
  type RemainingState<C extends GitCommandName, E extends readonly unknown[], R extends readonly string[], InitialState> = Spec<C> extends {
133363
135897
  parserExit: {
133364
135898
  remainingOperands: string;