Skip to content

Commit 6f1a34d

Browse files
committed
Autogenerated HTML docs for v2.53.0-749-g536198
1 parent a427783 commit 6f1a34d

7 files changed

Lines changed: 391 additions & 309 deletions

File tree

RelNotes/2.54.0.adoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ UI, Workflows & Features
9797

9898
* "git history" learned the "split" subcommand.
9999

100+
* The reference-transaction hook was taught to be triggered before
101+
taking locks on references in the "preparing" phase.
102+
100103

101104
Performance, Internal Implementation, Development Support etc.
102105
--------------------------------------------------------------
@@ -231,6 +234,11 @@ Performance, Internal Implementation, Development Support etc.
231234
232235
* The logic to count objects has been cleaned up.
233236
237+
* Tweak the build infrastructure by moving tools around.
238+
239+
* Uses of prio_queue as a LIFO stack of commits have been written
240+
with commit_stack.
241+
234242
235243
Fixes since v2.53
236244
-----------------
@@ -388,6 +396,16 @@ Fixes since v2.53
388396
took an empty string as a valid <num>.
389397
(merge 4f6a803aba ty/doc-diff-u-wo-number later to maint).
390398

399+
* The handling of the incomplete lines at the end by "git
400+
diff-highlight" has been fixed.
401+
402+
* merge-file --object-id used to trigger a BUG when run in a linked
403+
worktree, which has been fixed.
404+
(merge 57246b7c62 mr/merge-file-object-id-worktree-fix later to maint).
405+
406+
* "git apply -p<n>" parses <n> more carefully now.
407+
(merge d05d84c5f5 mf/apply-p-no-atoi later to maint).
408+
391409
* Other code cleanup, docfix, build fix, etc.
392410
(merge d79fff4a11 jk/remote-tracking-ref-leakfix later to maint).
393411
(merge 7a747f972d dd/t5403-modernise later to maint).
@@ -435,3 +453,6 @@ Fixes since v2.53
435453
(merge 2f05039717 rj/pack-refs-tests-path-is-helpers later to maint).
436454
(merge 2594747ad1 jk/transport-color-leakfix later to maint).
437455
(merge 48430e44ac mf/t0008-cleanup later to maint).
456+
(merge fc8a4f15e7 gi/doc-boolean-config-typofix later to maint).
457+
(merge 37182267a0 kh/doc-interpret-trailers-1 later to maint).
458+
(merge f64c50e768 jc/rerere-modern-strbuf-handling later to maint).

git-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Use `--no-value` to unset _<pattern>_.
221221
+
222222
Valid `<type>`'s include:
223223
+
224-
- 'bool': canonicalize values `true`, `yes`,`on`, and positive
224+
- 'bool': canonicalize values `true`, `yes`, `on`, and positive
225225
numbers as "true", and values `false`, `no`, `off` and `0` as
226226
"false".
227227
- 'int': canonicalize values as simple decimal numbers. An optional suffix of

git-config.html

Lines changed: 63 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ <h2 id="OPTIONS">OPTIONS</h2>
736736
<div class="ulist">
737737
<ul>
738738
<li>
739-
<p><em>bool</em>: canonicalize values <code>true</code>, <code>yes</code>,<code>on</code>, and positive
739+
<p><em>bool</em>: canonicalize values <code>true</code>, <code>yes</code>, <code>on</code>, and positive
740740
numbers as "true", and values <code>false</code>, <code>no</code>, <code>off</code> and <code>0</code> as
741741
"false".</p>
742742
</li>
@@ -9711,27 +9711,27 @@ <h3 id="_variables">Variables</h3>
97119711
write a sentinel file that will block further tracing to this
97129712
directory. Defaults to 0, which disables this check.</p>
97139713
</dd>
9714-
<dt class="hdlist1">trailer.separators</dt>
9714+
<dt class="hdlist1"><code>trailer.separators</code></dt>
97159715
<dd>
97169716
<p>This option tells which characters are recognized as trailer
9717-
separators. By default only <em>:</em> is recognized as a trailer
9718-
separator, except that <em>=</em> is always accepted on the command
9717+
separators. By default only <code>:</code> is recognized as a trailer
9718+
separator, except that <code>=</code> is always accepted on the command
97199719
line for compatibility with other git commands.</p>
97209720
<div class="paragraph">
97219721
<p>The first character given by this option will be the default character
97229722
used when another separator is not specified in the config for this
97239723
trailer.</p>
97249724
</div>
97259725
<div class="paragraph">
9726-
<p>For example, if the value for this option is "%=$", then only lines
9727-
using the format <em>&lt;key&gt;&lt;sep&gt;&lt;value&gt;</em> with &lt;sep&gt; containing <em>%</em>, <em>=</em>
9728-
or <em>$</em> and then spaces will be considered trailers. And <em>%</em> will be
9726+
<p>For example, if the value for this option is <code>%=$</code>, then only lines
9727+
using the format <em>&lt;key&gt;&lt;sep&gt;&lt;value&gt;</em> with <em>&lt;sep&gt;</em> containing <code>%</code>, <code>=</code>
9728+
or <code>$</code> and then spaces will be considered trailers. And <code>%</code> will be
97299729
the default separator used, so by default trailers will appear like:
9730-
<em>&lt;key&gt;% &lt;value&gt;</em> (one percent sign and one space will appear between
9730+
<em>&lt;key&gt;</em><code>%</code> <em>&lt;value&gt;</em> (one percent sign and one space will appear between
97319731
the key and the value).</p>
97329732
</div>
97339733
</dd>
9734-
<dt class="hdlist1">trailer.where</dt>
9734+
<dt class="hdlist1"><code>trailer.where</code></dt>
97359735
<dd>
97369736
<p>This option tells where a new trailer will be added.</p>
97379737
<div class="paragraph">
@@ -9747,51 +9747,51 @@ <h3 id="_variables">Variables</h3>
97479747
</div>
97489748
<div class="paragraph">
97499749
<p>If it is <code>after</code>, then each new trailer will appear just after the
9750-
last trailer with the same &lt;key&gt;.</p>
9750+
last trailer with the same <em>&lt;key&gt;</em>.</p>
97519751
</div>
97529752
<div class="paragraph">
97539753
<p>If it is <code>before</code>, then each new trailer will appear just before the
9754-
first trailer with the same &lt;key&gt;.</p>
9754+
first trailer with the same <em>&lt;key&gt;</em>.</p>
97559755
</div>
97569756
</dd>
9757-
<dt class="hdlist1">trailer.ifexists</dt>
9757+
<dt class="hdlist1"><code>trailer.ifexists</code></dt>
97589758
<dd>
97599759
<p>This option makes it possible to choose what action will be
97609760
performed when there is already at least one trailer with the
9761-
same &lt;key&gt; in the input.</p>
9761+
same <em>&lt;key&gt;</em> in the input.</p>
97629762
<div class="paragraph">
97639763
<p>The valid values for this option are: <code>addIfDifferentNeighbor</code> (this
97649764
is the default), <code>addIfDifferent</code>, <code>add</code>, <code>replace</code> or <code>doNothing</code>.</p>
97659765
</div>
97669766
<div class="paragraph">
97679767
<p>With <code>addIfDifferentNeighbor</code>, a new trailer will be added only if no
9768-
trailer with the same (&lt;key&gt;, &lt;value&gt;) pair is above or below the line
9768+
trailer with the same (<em>&lt;key&gt;</em>, <em>&lt;value&gt;</em>) pair is above or below the line
97699769
where the new trailer will be added.</p>
97709770
</div>
97719771
<div class="paragraph">
97729772
<p>With <code>addIfDifferent</code>, a new trailer will be added only if no trailer
9773-
with the same (&lt;key&gt;, &lt;value&gt;) pair is already in the input.</p>
9773+
with the same (<em>&lt;key&gt;</em>, <em>&lt;value&gt;</em>) pair is already in the input.</p>
97749774
</div>
97759775
<div class="paragraph">
97769776
<p>With <code>add</code>, a new trailer will be added, even if some trailers with
9777-
the same (&lt;key&gt;, &lt;value&gt;) pair are already in the input.</p>
9777+
the same (<em>&lt;key&gt;</em>, <em>&lt;value&gt;</em>) pair are already in the input.</p>
97789778
</div>
97799779
<div class="paragraph">
9780-
<p>With <code>replace</code>, an existing trailer with the same &lt;key&gt; will be
9780+
<p>With <code>replace</code>, an existing trailer with the same <em>&lt;key&gt;</em> will be
97819781
deleted and the new trailer will be added. The deleted trailer will be
9782-
the closest one (with the same &lt;key&gt;) to the place where the new one
9782+
the closest one (with the same <em>&lt;key&gt;</em>) to the place where the new one
97839783
will be added.</p>
97849784
</div>
97859785
<div class="paragraph">
97869786
<p>With <code>doNothing</code>, nothing will be done; that is no new trailer will be
9787-
added if there is already one with the same &lt;key&gt; in the input.</p>
9787+
added if there is already one with the same <em>&lt;key&gt;</em> in the input.</p>
97889788
</div>
97899789
</dd>
9790-
<dt class="hdlist1">trailer.ifmissing</dt>
9790+
<dt class="hdlist1"><code>trailer.ifmissing</code></dt>
97919791
<dd>
97929792
<p>This option makes it possible to choose what action will be
97939793
performed when there is not yet any trailer with the same
9794-
&lt;key&gt; in the input.</p>
9794+
<em>&lt;key&gt;</em> in the input.</p>
97959795
<div class="paragraph">
97969796
<p>The valid values for this option are: <code>add</code> (this is the default) and
97979797
<code>doNothing</code>.</p>
@@ -9803,17 +9803,17 @@ <h3 id="_variables">Variables</h3>
98039803
<p>With <code>doNothing</code>, nothing will be done.</p>
98049804
</div>
98059805
</dd>
9806-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.key</dt>
9806+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.key</code></dt>
98079807
<dd>
9808-
<p>Defines a &lt;keyAlias&gt; for the &lt;key&gt;. The &lt;keyAlias&gt; must be a
9809-
prefix (case does not matter) of the &lt;key&gt;. For example, in <code>git</code>
9810-
<code>config</code> <code>trailer.ack.key</code> "Acked-by" the "Acked-by" is the &lt;key&gt; and
9811-
the "ack" is the &lt;keyAlias&gt;. This configuration allows the shorter
9808+
<p>Defines a <em>&lt;key-alias&gt;</em> for the <em>&lt;key&gt;</em>. The <em>&lt;key-alias&gt;</em> must be a
9809+
prefix (case does not matter) of the <em>&lt;key&gt;</em>. For example, in <code>git</code>
9810+
<code>config</code> <code>trailer.ack.key</code> "Acked-by" the <code>Acked-by</code> is the <em>&lt;key&gt;</em> and
9811+
the <code>ack</code> is the <em>&lt;key-alias&gt;</em>. This configuration allows the shorter
98129812
<code>--trailer</code> "ack:<code>...</code>" invocation on the command line using the "ack"
9813-
&lt;keyAlias&gt; instead of the longer <code>--trailer</code> "Acked-by:<code>...</code>".</p>
9813+
<em>&lt;key-alias&gt;</em> instead of the longer <code>--trailer</code> "Acked-by:<code>...</code>".</p>
98149814
<div class="paragraph">
9815-
<p>At the end of the &lt;key&gt;, a separator can appear and then some
9816-
space characters. By default the only valid separator is <em>:</em>,
9815+
<p>At the end of the <em>&lt;key&gt;</em>, a separator can appear and then some
9816+
space characters. By default the only valid separator is <code>:</code>,
98179817
but this can be changed using the <code>trailer.separators</code> config
98189818
variable.</p>
98199819
</div>
@@ -9822,62 +9822,63 @@ <h3 id="_variables">Variables</h3>
98229822
separator when adding the trailer.</p>
98239823
</div>
98249824
</dd>
9825-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.where</dt>
9825+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.where</code></dt>
98269826
<dd>
9827-
<p>This option takes the same values as the <em>trailer.where</em>
9827+
<p>This option takes the same values as the <code>trailer.where</code>
98289828
configuration variable and it overrides what is specified by
9829-
that option for trailers with the specified &lt;keyAlias&gt;.</p>
9829+
that option for trailers with the specified <em>&lt;key-alias&gt;</em>.</p>
98309830
</dd>
9831-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.ifexists</dt>
9831+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.ifexists</code></dt>
98329832
<dd>
9833-
<p>This option takes the same values as the <em>trailer.ifexists</em>
9833+
<p>This option takes the same values as the <code>trailer.ifexists</code>
98349834
configuration variable and it overrides what is specified by
9835-
that option for trailers with the specified &lt;keyAlias&gt;.</p>
9835+
that option for trailers with the specified <em>&lt;key-alias&gt;</em>.</p>
98369836
</dd>
9837-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.ifmissing</dt>
9837+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.ifmissing</code></dt>
98389838
<dd>
9839-
<p>This option takes the same values as the <em>trailer.ifmissing</em>
9839+
<p>This option takes the same values as the <code>trailer.ifmissing</code>
98409840
configuration variable and it overrides what is specified by
9841-
that option for trailers with the specified &lt;keyAlias&gt;.</p>
9841+
that option for trailers with the specified <em>&lt;key-alias&gt;</em>.</p>
98429842
</dd>
9843-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.command</dt>
9843+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.command</code></dt>
98449844
<dd>
9845-
<p>Deprecated in favor of <em>trailer.&lt;keyAlias&gt;.cmd</em>.
9846-
This option behaves in the same way as <em>trailer.&lt;keyAlias&gt;.cmd</em>, except
9845+
<p>Deprecated in favor of <code>trailer.</code><em>&lt;key-alias&gt;</em><code>.cmd</code>.
9846+
This option behaves in the same way as <code>trailer.</code><em>&lt;key-alias&gt;</em><code>.cmd</code>, except
98479847
that it doesn&#8217;t pass anything as argument to the specified command.
9848-
Instead the first occurrence of substring $ARG is replaced by the
9849-
&lt;value&gt; that would be passed as argument.</p>
9848+
Instead the first occurrence of substring <code>$ARG</code> is replaced by the
9849+
<em>&lt;value&gt;</em> that would be passed as argument.</p>
98509850
<div class="paragraph">
9851-
<p>Note that $ARG in the user&#8217;s command is
9852-
only replaced once and that the original way of replacing $ARG is not safe.</p>
9851+
<p>Note that <code>$ARG</code> in the user&#8217;s command is
9852+
only replaced once and that the original way of replacing <code>$ARG</code> is not safe.</p>
98539853
</div>
98549854
<div class="paragraph">
9855-
<p>When both <em>trailer.&lt;keyAlias&gt;.cmd</em> and <em>trailer.&lt;keyAlias&gt;.command</em> are given
9856-
for the same &lt;keyAlias&gt;, <em>trailer.&lt;keyAlias&gt;.cmd</em> is used and
9857-
<em>trailer.&lt;keyAlias&gt;.command</em> is ignored.</p>
9855+
<p>When both <code>trailer.</code><em>&lt;key-alias&gt;</em><code>.cmd</code> and <code>trailer.</code><em>&lt;key-alias&gt;</em><code>.command</code> are given
9856+
for the same <em>&lt;key-alias&gt;</em>, <code>trailer.</code><em>&lt;key-alias&gt;</em><code>.cmd</code> is used and
9857+
<code>trailer.</code><em>&lt;key-alias&gt;</em><code>.command</code> is ignored.</p>
98589858
</div>
98599859
</dd>
9860-
<dt class="hdlist1">trailer.&lt;keyAlias&gt;.cmd</dt>
9860+
<dt class="hdlist1"><code>trailer.</code><em>&lt;key-alias&gt;</em><code>.cmd</code></dt>
98619861
<dd>
98629862
<p>This option can be used to specify a shell command that will be called
9863-
once to automatically add a trailer with the specified &lt;keyAlias&gt;, and then
9864-
called each time a <em>--trailer &lt;keyAlias&gt;=&lt;value&gt;</em> argument is specified to
9865-
modify the &lt;value&gt; of the trailer that this option would produce.</p>
9863+
once to automatically add a trailer with the specified <em>&lt;key-alias&gt;</em>, and then
9864+
called each time a <code>--trailer</code> <em>&lt;key-alias&gt;</em><code>=</code><em>&lt;value&gt;</em> argument is specified to
9865+
modify the <em>&lt;value&gt;</em> of the trailer that this option would produce.</p>
98669866
<div class="paragraph">
98679867
<p>When the specified command is first called to add a trailer
9868-
with the specified &lt;keyAlias&gt;, the behavior is as if a special
9869-
<em>--trailer &lt;keyAlias&gt;=&lt;value&gt;</em> argument was added at the beginning
9870-
of the "git interpret-trailers" command, where &lt;value&gt;
9871-
is taken to be the standard output of the command with any
9872-
leading and trailing whitespace trimmed off.</p>
9868+
with the specified <em>&lt;key-alias&gt;</em>, the behavior is as if a special
9869+
<code>--trailer</code> <em>&lt;key-alias&gt;</em><code>=</code><em>&lt;value&gt;</em> argument was added at the beginning
9870+
of <a href="git-interpret-trailers.html">git-interpret-trailers(1)</a>, where <em>&lt;value&gt;</em> is taken to be the
9871+
standard output of the command with any leading and trailing whitespace
9872+
trimmed off.</p>
98739873
</div>
98749874
<div class="paragraph">
9875-
<p>If some <em>--trailer &lt;keyAlias&gt;=&lt;value&gt;</em> arguments are also passed
9875+
<p>If some <code>--trailer</code> <em>&lt;key-alias&gt;</em><code>=</code><em>&lt;value&gt;</em> arguments are also passed
98769876
on the command line, the command is called again once for each
9877-
of these arguments with the same &lt;keyAlias&gt;. And the &lt;value&gt; part
9877+
of these arguments with the same <em>&lt;key-alias&gt;</em>. And the <em>&lt;value&gt;</em> part
98789878
of these arguments, if any, will be passed to the command as its
9879-
first argument. This way the command can produce a &lt;value&gt; computed
9880-
from the &lt;value&gt; passed in the <em>--trailer &lt;keyAlias&gt;=&lt;value&gt;</em> argument.</p>
9879+
first argument. This way the command can produce a <em>&lt;value&gt;</em> computed
9880+
from the <em>&lt;value&gt;</em> passed in the <code>--trailer</code> <em>&lt;key-alias&gt;</em><code>=</code><em>&lt;value&gt;</em>
9881+
argument.</p>
98819882
</div>
98829883
</dd>
98839884
<dt class="hdlist1">transfer.credentialsInUrl</dt>
@@ -10347,7 +10348,7 @@ <h2 id="_git">GIT</h2>
1034710348
</div>
1034810349
<div id="footer">
1034910350
<div id="footer-text">
10350-
Last updated 2026-03-04 12:32:07 -0800
10351+
Last updated 2026-03-27 14:24:52 -0700
1035110352
</div>
1035210353
</div>
1035310354
</body>

0 commit comments

Comments
 (0)