Skip to content

Commit 77a3e61

Browse files
committed
Autogenerated HTML docs for v2.52.0-rc0-28-g4cf91
1 parent 6666614 commit 77a3e61

11 files changed

+205
-10
lines changed

MyFirstContribution.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,11 @@ NOTE: When you are sending a real patch, it will go to [email protected] - but
11531153
please don't send your patchset from the tutorial to the real mailing list! For
11541154
now, you can send it to yourself, to make sure you understand how it will look.
11551155

1156+
NOTE: After sending your patches, you can confirm that they reached the mailing
1157+
list by visiting https://lore.kernel.org/git/. Use the search bar to find your
1158+
name or the subject of your patch. If it appears, your email was successfully
1159+
delivered.
1160+
11561161
After you run the command above, you will be presented with an interactive
11571162
prompt for each patch that's about to go out. This gives you one last chance to
11581163
edit or quit sending something (but again, don't edit code this way). Once you

MyFirstContribution.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,21 @@ <h3 id="sending-git-send-email"><a class="anchor" href="#sending-git-send-email"
19511951
</tr>
19521952
</table>
19531953
</div>
1954+
<div class="admonitionblock note">
1955+
<table>
1956+
<tr>
1957+
<td class="icon">
1958+
<div class="title">Note</div>
1959+
</td>
1960+
<td class="content">
1961+
After sending your patches, you can confirm that they reached the mailing
1962+
list by visiting <a href="https://lore.kernel.org/git/" class="bare">https://lore.kernel.org/git/</a>. Use the search bar to find your
1963+
name or the subject of your patch. If it appears, your email was successfully
1964+
delivered.
1965+
</td>
1966+
</tr>
1967+
</table>
1968+
</div>
19541969
<div class="paragraph">
19551970
<p>After you run the command above, you will be presented with an interactive
19561971
prompt for each patch that&#8217;s about to go out. This gives you one last chance to
@@ -2273,7 +2288,7 @@ <h3 id="after-approval"><a class="anchor" href="#after-approval"></a>After Revie
22732288
</div>
22742289
<div id="footer">
22752290
<div id="footer-text">
2276-
Last updated 2025-09-02 11:08:10 -0700
2291+
Last updated 2025-11-04 11:37:22 -0800
22772292
</div>
22782293
</div>
22792294
</body>

RelNotes/2.52.0.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ UI, Workflows & Features
7474
avoids doing maintenance tasks that rebuilds everything from
7575
scratch.
7676

77+
* "git repo structure", a new command.
78+
7779

7880
Performance, Internal Implementation, Development Support etc.
7981
--------------------------------------------------------------
@@ -165,6 +167,18 @@ Performance, Internal Implementation, Development Support etc.
165167
* The code to walk revision graph to compute merge base has been
166168
optimized.
167169
170+
* AI guidelines has been added to our documentation set.
171+
172+
* Contributed credential helpers (obviously in contrib/) now have "cd
173+
$there && make install" target.
174+
175+
* The "MyFirstContribution" tutorial tells the reader how to send out
176+
their patches; the section gained a hint to verify the message
177+
reached the mailing list.
178+
179+
* The "debug" ref-backend was missing a method implementation, which
180+
has been corrected.
181+
168182
169183
Fixes since v2.51
170184
-----------------
@@ -397,6 +411,15 @@ including security updates, are included in this release.
397411
"foo**/bar" match with "foobar", which has been corrected.
398412
(merge 1940a02dc1 jk/match-pathname-fix later to maint).
399413

414+
* Tests did not set up GNUPGHOME correctly, which is fixed but some
415+
flaky tests are exposed in t1016, which needs to be addressed
416+
before this topic can move forward.
417+
(merge 6cd8369ef3 tz/test-prepare-gnupghome later to maint).
418+
419+
* The patterns used in the .gitignore files use backslash in the way
420+
documented for fnmatch(3); document as such to reduce confusion.
421+
(merge 8a6d158a1d jk/doc-backslash-in-exclude later to maint).
422+
400423
* Other code cleanup, docfix, build fix, etc.
401424
(merge 529a60a885 ua/t1517-short-help-tests later to maint).
402425
(merge 22d421fed9 ac/deglobal-fmt-merge-log-config later to maint).
@@ -409,3 +432,5 @@ including security updates, are included in this release.
409432
(merge 15b8abde07 js/mingw-includes-cleanup later to maint).
410433
(merge 2cebca0582 tb/cat-file-objectmode-update later to maint).
411434
(merge 8f487db07a kh/doc-patch-id-1 later to maint).
435+
(merge f711f37b05 eb/t1016-hash-transition-fix later to maint).
436+
(merge 85333aa1af jk/test-delete-gpgsig-leakfix later to maint).

SubmittingPatches.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,34 @@ highlighted above.
446446
Only capitalize the very first letter of the trailer, i.e. favor
447447
"Signed-off-by" over "Signed-Off-By" and "Acked-by:" over "Acked-By".
448448

449+
[[ai]]
450+
=== Use of Artificial Intelligence (AI)
451+
452+
The Developer's Certificate of Origin requires contributors to certify
453+
that they know the origin of their contributions to the project and
454+
that they have the right to submit it under the project's license.
455+
It's not yet clear that this can be legally satisfied when submitting
456+
significant amount of content that has been generated by AI tools.
457+
458+
Another issue with AI generated content is that AIs still often
459+
hallucinate or just produce bad code, commit messages, documentation
460+
or output, even when you point out their mistakes.
461+
462+
To avoid these issues, we will reject anything that looks AI
463+
generated, that sounds overly formal or bloated, that looks like AI
464+
slop, that looks good on the surface but makes no sense, or that
465+
senders don’t understand or cannot explain.
466+
467+
We strongly recommend using AI tools carefully and responsibly.
468+
469+
Contributors would often benefit more from AI by using it to guide and
470+
help them step by step towards producing a solution by themselves
471+
rather than by asking for a full solution that they would then mostly
472+
copy-paste. They can also use AI to help with debugging, or with
473+
checking for obvious mistakes, things that can be improved, things
474+
that don’t match our style, guidelines or our feedback, before sending
475+
it to us.
476+
449477
[[git-tools]]
450478
=== Generate your patch using Git tools out of your commits.
451479

SubmittingPatches.html

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,39 @@ <h3 id="sign-off">Certify your work by adding your <code>Signed-off-by</code> tr
10231023
</div>
10241024
</div>
10251025
<div class="sect2">
1026+
<h3 id="ai">Use of Artificial Intelligence (AI)</h3>
1027+
<div class="paragraph">
1028+
<p>The Developer&#8217;s Certificate of Origin requires contributors to certify
1029+
that they know the origin of their contributions to the project and
1030+
that they have the right to submit it under the project&#8217;s license.
1031+
It&#8217;s not yet clear that this can be legally satisfied when submitting
1032+
significant amount of content that has been generated by AI tools.</p>
1033+
</div>
1034+
<div class="paragraph">
1035+
<p>Another issue with AI generated content is that AIs still often
1036+
hallucinate or just produce bad code, commit messages, documentation
1037+
or output, even when you point out their mistakes.</p>
1038+
</div>
1039+
<div class="paragraph">
1040+
<p>To avoid these issues, we will reject anything that looks AI
1041+
generated, that sounds overly formal or bloated, that looks like AI
1042+
slop, that looks good on the surface but makes no sense, or that
1043+
senders don’t understand or cannot explain.</p>
1044+
</div>
1045+
<div class="paragraph">
1046+
<p>We strongly recommend using AI tools carefully and responsibly.</p>
1047+
</div>
1048+
<div class="paragraph">
1049+
<p>Contributors would often benefit more from AI by using it to guide and
1050+
help them step by step towards producing a solution by themselves
1051+
rather than by asking for a full solution that they would then mostly
1052+
copy-paste. They can also use AI to help with debugging, or with
1053+
checking for obvious mistakes, things that can be improved, things
1054+
that don’t match our style, guidelines or our feedback, before sending
1055+
it to us.</p>
1056+
</div>
1057+
</div>
1058+
<div class="sect2">
10261059
<h3 id="git-tools">Generate your patch using Git tools out of your commits.</h3>
10271060
<div class="paragraph">
10281061
<p>Git based diff tools generate unidiff which is the preferred format.</p>
@@ -1605,7 +1638,7 @@ <h3 id="_gnus">Gnus</h3>
16051638
</div>
16061639
<div id="footer">
16071640
<div id="footer-text">
1608-
Last updated 2025-11-03 07:28:57 -0800
1641+
Last updated 2025-11-04 11:37:22 -0800
16091642
</div>
16101643
</div>
16111644
</body>

git-checkout.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ uncommitted changes.
6161
`git checkout -B <branch> [<start-point>]`::
6262
6363
The same as `-b`, except that if the branch already exists it
64-
resets `_<branch>_` to the start point instead of failing.
64+
resets _<branch>_ to the start point instead of failing.
6565
6666
`git checkout --detach [<branch>]`::
6767
`git checkout [--detach] <commit>`::
@@ -155,7 +155,7 @@ of it").
155155
156156
`-B <new-branch>`::
157157
The same as `-b`, except that if the branch already exists it
158-
resets `_<branch>_` to the start point instead of failing.
158+
resets _<branch>_ to the start point instead of failing.
159159
160160
`-t`::
161161
`--track[=(direct|inherit)]`::

git-checkout.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ <h2 id="_description">DESCRIPTION</h2>
523523
<dt class="hdlist1"><code>git</code> <code>checkout</code> <code>-B</code> <em>&lt;branch&gt;</em> [<em>&lt;start-point&gt;</em>]</dt>
524524
<dd>
525525
<p>The same as <code>-b</code>, except that if the branch already exists it
526-
resets <code>_</code><em>&lt;branch&gt;</em><code>_</code> to the start point instead of failing.</p>
526+
resets <em>&lt;branch&gt;</em> to the start point instead of failing.</p>
527527
</dd>
528528
<dt class="hdlist1"><code>git</code> <code>checkout</code> <code>--detach</code> [<em>&lt;branch&gt;</em>]</dt>
529529
<dt class="hdlist1"><code>git</code> <code>checkout</code> [<code>--detach</code>] <em>&lt;commit&gt;</em></dt>
@@ -638,7 +638,7 @@ <h2 id="_options">OPTIONS</h2>
638638
<dt class="hdlist1"><code>-B</code> <em>&lt;new-branch&gt;</em></dt>
639639
<dd>
640640
<p>The same as <code>-b</code>, except that if the branch already exists it
641-
resets <code>_</code><em>&lt;branch&gt;</em><code>_</code> to the start point instead of failing.</p>
641+
resets <em>&lt;branch&gt;</em> to the start point instead of failing.</p>
642642
</dd>
643643
<dt class="hdlist1"><code>-t</code></dt>
644644
<dt class="hdlist1"><code>--track</code>[<code>=</code>(<code>direct</code>|<code>inherit</code>)]</dt>
@@ -1311,7 +1311,7 @@ <h2 id="_git">GIT</h2>
13111311
</div>
13121312
<div id="footer">
13131313
<div id="footer-text">
1314-
Last updated 2025-09-29 13:02:52 -0700
1314+
Last updated 2025-11-04 11:37:22 -0800
13151315
</div>
13161316
</div>
13171317
</body>

git-repo.adoc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ SYNOPSIS
99
--------
1010
[synopsis]
1111
git repo info [--format=(keyvalue|nul)] [-z] [<key>...]
12+
git repo structure [--format=(table|keyvalue|nul)]
1213

1314
DESCRIPTION
1415
-----------
@@ -43,6 +44,35 @@ supported:
4344
+
4445
`-z` is an alias for `--format=nul`.
4546

47+
`structure [--format=(table|keyvalue|nul)]`::
48+
Retrieve statistics about the current repository structure. The
49+
following kinds of information are reported:
50+
+
51+
* Reference counts categorized by type
52+
* Reachable object counts categorized by type
53+
54+
+
55+
The output format can be chosen through the flag `--format`. Three formats are
56+
supported:
57+
+
58+
`table`:::
59+
Outputs repository stats in a human-friendly table. This format may
60+
change and is not intended for machine parsing. This is the default
61+
format.
62+
63+
`keyvalue`:::
64+
Each line of output contains a key-value pair for a repository stat.
65+
The '=' character is used to delimit between the key and the value.
66+
Values containing "unusual" characters are quoted as explained for the
67+
configuration variable `core.quotePath` (see linkgit:git-config[1]).
68+
69+
`nul`:::
70+
Similar to `keyvalue`, but uses a NUL character to delimit between
71+
key-value pairs instead of a newline. Also uses a newline character as
72+
the delimiter between the key and value instead of '='. Unlike the
73+
`keyvalue` format, values containing "unusual" characters are never
74+
quoted.
75+
4676
INFO KEYS
4777
---------
4878
In order to obtain a set of values from `git repo info`, you should provide

git-repo.html

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,8 @@ <h2 id="_name">NAME</h2>
452452
<h2 id="_synopsis">SYNOPSIS</h2>
453453
<div class="sectionbody">
454454
<div class="verseblock">
455-
<pre class="content"><code>git</code> <code>repo</code> <code>info</code> [<code>--format=</code>(<code>keyvalue</code>|<code>nul</code>)] [<code>-z</code>] [<em>&lt;key&gt;</em>&#8230;&#8203;]</pre>
455+
<pre class="content"><code>git</code> <code>repo</code> <code>info</code> [<code>--format=</code>(<code>keyvalue</code>|<code>nul</code>)] [<code>-z</code>] [<em>&lt;key&gt;</em>&#8230;&#8203;]
456+
<code>git</code> <code>repo</code> <code>structure</code> [<code>--format=</code>(<code>table</code>|<code>keyvalue</code>|<code>nul</code>)]</pre>
456457
</div>
457458
</div>
458459
</div>
@@ -507,6 +508,53 @@ <h2 id="_commands">COMMANDS</h2>
507508
</dl>
508509
</div>
509510
</dd>
511+
<dt class="hdlist1"><code>structure</code> [<code>--format=</code>(<code>table</code>|<code>keyvalue</code>|<code>nul</code>)]</dt>
512+
<dd>
513+
<p>Retrieve statistics about the current repository structure. The
514+
following kinds of information are reported:</p>
515+
<div class="ulist">
516+
<ul>
517+
<li>
518+
<p>Reference counts categorized by type</p>
519+
</li>
520+
<li>
521+
<p>Reachable object counts categorized by type</p>
522+
</li>
523+
</ul>
524+
</div>
525+
<div class="paragraph">
526+
<p>The output format can be chosen through the flag <code>--format</code>. Three formats are
527+
supported:</p>
528+
</div>
529+
<div class="paragraph">
530+
<p>+</p>
531+
</div>
532+
<div class="dlist">
533+
<dl>
534+
<dt class="hdlist1"><code>table</code></dt>
535+
<dd>
536+
<p>Outputs repository stats in a human-friendly table. This format may
537+
change and is not intended for machine parsing. This is the default
538+
format.</p>
539+
</dd>
540+
<dt class="hdlist1"><code>keyvalue</code></dt>
541+
<dd>
542+
<p>Each line of output contains a key-value pair for a repository stat.
543+
The <em>=</em> character is used to delimit between the key and the value.
544+
Values containing "unusual" characters are quoted as explained for the
545+
configuration variable <code>core.quotePath</code> (see <a href="git-config.html">git-config(1)</a>).</p>
546+
</dd>
547+
<dt class="hdlist1"><code>nul</code></dt>
548+
<dd>
549+
<p>Similar to <code>keyvalue</code>, but uses a NUL character to delimit between
550+
key-value pairs instead of a newline. Also uses a newline character as
551+
the delimiter between the key and value instead of <em>=</em>. Unlike the
552+
<code>keyvalue</code> format, values containing "unusual" characters are never
553+
quoted.</p>
554+
</dd>
555+
</dl>
556+
</div>
557+
</dd>
510558
</dl>
511559
</div>
512560
</div>
@@ -597,7 +645,7 @@ <h2 id="_git">GIT</h2>
597645
</div>
598646
<div id="footer">
599647
<div id="footer-text">
600-
Last updated 2025-09-15 10:47:08 -0700
648+
Last updated 2025-11-04 11:37:22 -0800
601649
</div>
602650
</div>
603651
</body>

gitignore.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ PATTERN FORMAT
111111
one of the characters in a range. See fnmatch(3) and the
112112
FNM_PATHNAME flag for a more detailed description.
113113
114+
- A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
115+
matches a literal asterisk (and "`\a`" matches "`a`", even though
116+
there is no need for escaping there). As with fnmatch(3), a backslash
117+
at the end of a pattern is an invalid pattern that never matches.
118+
114119
Two consecutive asterisks ("`**`") in patterns matched against
115120
full pathname may have special meaning:
116121

0 commit comments

Comments
 (0)