Skip to content

Commit b0e1585

Browse files
committed
Autogenerated HTML docs for v2.51.0-414-g5099f6
1 parent 8d8d743 commit b0e1585

14 files changed

+197
-67
lines changed

‎BreakingChanges.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ These features will be removed.
241241
equivalent `git log --raw`. We have nominated the command for
242242
removal, have changed the command to refuse to work unless the
243243
`--i-still-use-this` option is given, and asked the users to report
244-
when they do so. So far there hasn't been a single complaint.
244+
when they do so.
245245
+
246246
The command will be removed.
247247

‎BreakingChanges.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ <h3 id="_removals">Removals</h3>
789789
equivalent <code>git</code><code>log</code><code>--raw</code>. We have nominated the command for
790790
removal, have changed the command to refuse to work unless the
791791
<code>--i-still-use-this</code> option is given, and asked the users to report
792-
when they do so. So far there hasn&#8217;t been a single complaint.</p>
792+
when they do so.</p>
793793
<divclass="paragraph">
794794
<p>The command will be removed.</p>
795795
</div>
@@ -839,7 +839,7 @@ <h2 id="_superseded_features_that_will_not_be_deprecated">Superseded features th
839839
</div>
840840
<divid="footer">
841841
<divid="footer-text">
842-
Last updated 2025-09-29 13:02:52 -0700
842+
Last updated 2025-10-02 14:07:14 -0700
843843
</div>
844844
</div>
845845
</body>

‎RelNotes/2.52.0.adoc‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ UI, Workflows & Features
4444
* The stash.index configuration variable can be set to make "git stash
4545
pop/apply" pretend that it was invoked with "--index".
4646

47+
* "git fast-import" learned that "--signed-commits=<how>" option that
48+
corresponds to that of "git fast-export".
49+
4750

4851
Performance, Internal Implementation, Development Support etc.
4952
--------------------------------------------------------------
@@ -83,6 +86,10 @@ Performance, Internal Implementation, Development Support etc.
8386
singleton variable, which has been updated to pass an instance
8487
throughout the callchain.
8588
89+
* The work to build on the bulk-checkin infrastructure to create many
90+
objects at once in a transaction and to abstract it into the
91+
generic object layer continues.
92+
8693
* CodingGuidelines now spells out how bitfields are to be written.
8794
8895
* Adjust to the way newer versions of cURL selectivel enables tracing
@@ -102,6 +109,10 @@ Performance, Internal Implementation, Development Support etc.
102109
while the code has been cleaned up to prevent similar bugs in the
103110
future.
104111
112+
* The build procedure based on meson learned a target to only build
113+
documentation, similar to "make doc".
114+
(merge ff4ec8ded0 ps/meson-build-docs later to maint).
115+
105116
106117
Fixes since v2.51
107118
-----------------
@@ -259,6 +270,16 @@ including security updates, are included in this release.
259270
* "git last-modified" operating in non-recursive mode used to trigger
260271
a BUG(), which has been corrected.
261272

273+
* The use of "git config get" command to learn how ANSI color
274+
sequence is for a particular type, e.g., "git config get
275+
--type=color --default=reset no.such.thing", isn't very ergonomic.
276+
(merge e4dabf4fd6 ps/config-get-color-fixes later to maint).
277+
278+
* The "do you still use it?" message given by a command that is
279+
deeply deprecated and allow us to suggest alternatives has been
280+
updated.
281+
(merge 54a60e5b38 kh/you-still-use-whatchanged-fix later to maint).
282+
262283
* Other code cleanup, docfix, build fix, etc.
263284
(merge 823d537fa7 kh/doc-git-log-markup-fix later to maint).
264285
(merge cf7efa4f33 rj/t6137-cygwin-fix later to maint).

‎git-config.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,8 @@ <h3 id="_variables">Variables</h3>
19941994
after defining <code>alias.last</code><code>=</code><code>cat-file</code><code>commit</code><code>HEAD</code>, the invocation
19951995
<code>git</code><code>last</code> is equivalent to <code>git</code><code>cat-file</code><code>commit</code><code>HEAD</code>. To avoid
19961996
confusion and troubles with script usage, aliases that
1997-
hide existing Git commands are ignored. Arguments are split by
1997+
hide existing Git commands are ignored except for deprecated
1998+
commands. Arguments are split by
19981999
spaces, the usual shell quoting and escaping are supported.
19992000
A quote pair or a backslash can be used to quote them.</p>
20002001
<divclass="paragraph">

‎git-fast-import.adoc‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ fast-import stream! This option is enabled automatically for
6666
remote-helpers that use the `import` capability, as they are
6767
already trusted to run their own code.
6868

69+
--signed-commits=(verbatim|warn-verbatim|warn-strip|strip|abort)::
70+
Specify how to handle signed commits. Behaves in the same way
71+
as the same option in linkgit:git-fast-export[1], except that
72+
default is 'verbatim' (instead of 'abort').
73+
6974
Options for Frontends
7075
~~~~~~~~~~~~~~~~~~~~~
7176

‎git-fast-import.html‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,12 @@ <h2 id="_options">OPTIONS</h2>
523523
already trusted to run their own code.</p>
524524
</div>
525525
</dd>
526+
<dtclass="hdlist1">--signed-commits=(verbatim|warn-verbatim|warn-strip|strip|abort)</dt>
527+
<dd>
528+
<p>Specify how to handle signed commits. Behaves in the same way
529+
as the same option in <ahref="git-fast-export.html">git-fast-export(1)</a>, except that
530+
default is <em>verbatim</em> (instead of <em>abort</em>).</p>
531+
</dd>
526532
</dl>
527533
</div>
528534
<divclass="sect2">
@@ -2607,7 +2613,7 @@ <h2 id="_git">GIT</h2>
26072613
</div>
26082614
<divid="footer">
26092615
<divid="footer-text">
2610-
Last updated 2025-09-23 13:59:22 -0700
2616+
Last updated 2025-10-02 14:07:14 -0700
26112617
</div>
26122618
</div>
26132619
</body>

‎git-pack-refs.adoc‎

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -45,58 +45,7 @@ unpacked.
4545
OPTIONS
4646
-------
4747

48-
--all::
49-
50-
The command by default packs all tags and refs that are already
51-
packed, and leaves other refs
52-
alone. This is because branches are expected to be actively
53-
developed and packing their tips does not help performance.
54-
This option causes all refs to be packed as well, with the exception
55-
of hidden refs, broken refs, and symbolic refs. Useful for a repository
56-
with many branches of historical interests.
57-
58-
--no-prune::
59-
60-
The command usually removes loose refs under `$GIT_DIR/refs`
61-
hierarchy after packing them. This option tells it not to.
62-
63-
--auto::
64-
65-
Pack refs as needed depending on the current state of the ref database. The
66-
behavior depends on the ref format used by the repository and may change in the
67-
future.
68-
+
69-
- "files": Loose references are packed into the `packed-refs` file
70-
based on the ratio of loose references to the size of the
71-
`packed-refs` file. The bigger the `packed-refs` file, the more loose
72-
references need to exist before we repack.
73-
+
74-
- "reftable": Tables are compacted such that they form a geometric
75-
sequence. For two tables N and N+1, where N+1 is newer, this
76-
maintains the property that N is at least twice as big as N+1. Only
77-
tables that violate this property are compacted.
78-
79-
--include <pattern>::
80-
81-
Pack refs based on a `glob(7)` pattern. Repetitions of this option
82-
accumulate inclusion patterns. If a ref is both included in `--include` and
83-
`--exclude`, `--exclude` takes precedence. Using `--include` will preclude all
84-
tags from being included by default. Symbolic refs and broken refs will never
85-
be packed. When used with `--all`, it will be a noop. Use `--no-include` to clear
86-
and reset the list of patterns.
87-
88-
--exclude <pattern>::
89-
90-
Do not pack refs matching the given `glob(7)` pattern. Repetitions of this option
91-
accumulate exclusion patterns. Use `--no-exclude` to clear and reset the list of
92-
patterns. If a ref is already packed, including it with `--exclude` will not
93-
unpack it.
94-
+
95-
When used with `--all`, pack only loose refs which do not match any of
96-
the provided `--exclude` patterns.
97-
+
98-
When used with `--include`, refs provided to `--include`, minus refs that are
99-
provided to `--exclude` will be packed.
48+
include::pack-refs-options.adoc[]
10049

10150

10251
BUGS

‎git-refs.adoc‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ git refs list [--count=<count>] [--shell|--perl|--python|--tcl]
1919
[(--exclude=<pattern>)...] [--start-after=<marker>]
2020
[ --stdin | (<pattern>...)]
2121
git refs exists <ref>
22+
git refs optimize [--all] [--no-prune] [--auto] [--include <pattern>] [--exclude <pattern>]
2223

2324
DESCRIPTION
2425
-----------
@@ -45,6 +46,11 @@ exists::
4546
failed with an error other than the reference being missing. This does
4647
not verify whether the reference resolves to an actual object.
4748

49+
optimize::
50+
Optimizes references to improve repository performance and reduce disk
51+
usage. This subcommand is an alias for linkgit:git-pack-refs[1] and
52+
offers identical functionality.
53+
4854
OPTIONS
4955
-------
5056

@@ -80,6 +86,10 @@ The following options are specific to 'git refs list':
8086

8187
include::for-each-ref-options.adoc[]
8288

89+
The following options are specific to 'git refs optimize':
90+
91+
include::pack-refs-options.adoc[]
92+
8393
KNOWN LIMITATIONS
8494
-----------------
8595

‎git-refs.html‎

Lines changed: 77 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@ <h2 id="_synopsis">SYNOPSIS</h2>
461461
[<code>--contains</code>[<code>=</code><em>&lt;object&gt;</em>]] [<code>--no-contains</code>[<code>=</code><em>&lt;object&gt;</em>]]
462462
[(<code>--exclude=</code><em>&lt;pattern&gt;</em>)&#8230;&#8203;] [<code>--start-after=</code><em>&lt;marker&gt;</em>]
463463
[ <code>--stdin</code> | (<em>&lt;pattern&gt;</em><code>...</code>)]
464-
<code>git</code><code>refs</code><code>exists</code><em>&lt;ref&gt;</em></pre>
464+
<code>git</code><code>refs</code><code>exists</code><em>&lt;ref&gt;</em>
465+
<code>git</code><code>refs</code><code>optimize</code> [<code>--all</code>] [<code>--no-prune</code>] [<code>--auto</code>] [<code>--include</code><em>&lt;pattern&gt;</em>] [<code>--exclude</code><em>&lt;pattern&gt;</em>]</pre>
465466
</div>
466467
</div>
467468
</div>
@@ -499,6 +500,12 @@ <h2 id="_commands">COMMANDS</h2>
499500
failed with an error other than the reference being missing. This does
500501
not verify whether the reference resolves to an actual object.</p>
501502
</dd>
503+
<dtclass="hdlist1">optimize</dt>
504+
<dd>
505+
<p>Optimizes references to improve repository performance and reduce disk
506+
usage. This subcommand is an alias for <ahref="git-pack-refs.html">git-pack-refs(1)</a> and
507+
offers identical functionality.</p>
508+
</dd>
502509
</dl>
503510
</div>
504511
</div>
@@ -673,6 +680,74 @@ <h2 id="_options">OPTIONS</h2>
673680
</dd>
674681
</dl>
675682
</div>
683+
<divclass="paragraph">
684+
<p>The following options are specific to <em>git refs optimize</em>:</p>
685+
</div>
686+
<divclass="dlist">
687+
<dl>
688+
<dtclass="hdlist1">--all</dt>
689+
<dd>
690+
<p>The command by default packs all tags and refs that are already
691+
packed, and leaves other refs
692+
alone. This is because branches are expected to be actively
693+
developed and packing their tips does not help performance.
694+
This option causes all refs to be packed as well, with the exception
695+
of hidden refs, broken refs, and symbolic refs. Useful for a repository
696+
with many branches of historical interests.</p>
697+
</dd>
698+
<dtclass="hdlist1">--no-prune</dt>
699+
<dd>
700+
<p>The command usually removes loose refs under <code>$GIT_DIR/refs</code>
701+
hierarchy after packing them. This option tells it not to.</p>
702+
</dd>
703+
<dtclass="hdlist1">--auto</dt>
704+
<dd>
705+
<p>Pack refs as needed depending on the current state of the ref database. The
706+
behavior depends on the ref format used by the repository and may change in the
707+
future.</p>
708+
<divclass="ulist">
709+
<ul>
710+
<li>
711+
<p>"files": Loose references are packed into the <code>packed-refs</code> file
712+
based on the ratio of loose references to the size of the
713+
<code>packed-refs</code> file. The bigger the <code>packed-refs</code> file, the more loose
714+
references need to exist before we repack.</p>
715+
</li>
716+
<li>
717+
<p>"reftable": Tables are compacted such that they form a geometric
718+
sequence. For two tables N and N+1, where N+1 is newer, this
719+
maintains the property that N is at least twice as big as N+1. Only
720+
tables that violate this property are compacted.</p>
721+
</li>
722+
</ul>
723+
</div>
724+
</dd>
725+
<dtclass="hdlist1">--include &lt;pattern&gt;</dt>
726+
<dd>
727+
<p>Pack refs based on a <code>glob</code>(<code>7</code>) pattern. Repetitions of this option
728+
accumulate inclusion patterns. If a ref is both included in <code>--include</code> and
729+
<code>--exclude</code>, <code>--exclude</code> takes precedence. Using <code>--include</code> will preclude all
730+
tags from being included by default. Symbolic refs and broken refs will never
731+
be packed. When used with <code>--all</code>, it will be a noop. Use <code>--no-include</code> to clear
732+
and reset the list of patterns.</p>
733+
</dd>
734+
<dtclass="hdlist1">--exclude &lt;pattern&gt;</dt>
735+
<dd>
736+
<p>Do not pack refs matching the given <code>glob</code>(<code>7</code>) pattern. Repetitions of this option
737+
accumulate exclusion patterns. Use <code>--no-exclude</code> to clear and reset the list of
738+
patterns. If a ref is already packed, including it with <code>--exclude</code> will not
739+
unpack it.</p>
740+
<divclass="paragraph">
741+
<p>When used with <code>--all</code>, pack only loose refs which do not match any of
742+
the provided <code>--exclude</code> patterns.</p>
743+
</div>
744+
<divclass="paragraph">
745+
<p>When used with <code>--include</code>, refs provided to <code>--include</code>, minus refs that are
746+
provided to <code>--exclude</code> will be packed.</p>
747+
</div>
748+
</dd>
749+
</dl>
750+
</div>
676751
</div>
677752
</div>
678753
<divclass="sect1">
@@ -711,7 +786,7 @@ <h2 id="_git">GIT</h2>
711786
</div>
712787
<divid="footer">
713788
<divid="footer-text">
714-
Last updated 2025-09-12 12:13:52 -0700
789+
Last updated 2025-10-02 14:07:14 -0700
715790
</div>
716791
</div>
717792
</body>

‎git-whatchanged.adoc‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ WARNING
1515
-------
1616
`git whatchanged` has been deprecated and is scheduled for removal in
1717
a future version of Git, as it is merely `git log` with different
18-
default; `whatchanged` is not even shorter to type than `log --raw`.
18+
defaults.
1919

2020
DESCRIPTION
2121
-----------
@@ -24,7 +24,11 @@ Shows commit logs and diff output each commit introduces.
2424

2525
New users are encouraged to use linkgit:git-log[1] instead. The
2626
`whatchanged` command is essentially the same as linkgit:git-log[1]
27-
but defaults to showing the raw format diff output and skipping merges.
27+
but defaults to showing the raw format diff output and skipping merges:
28+
29+
----
30+
git log --raw --no-merges
31+
----
2832

2933
The command is primarily kept for historical reasons; fingers of
3034
many people who learned Git long before `git log` was invented by

0 commit comments

Comments
(0)