Skip to content

Commit 2ef9494

Browse files
committed
Autogenerated HTML docs for v2.51.0-244-g92c87
1 parent 26e5ab0 commit 2ef9494

13 files changed

+82
-49
lines changed

‎RelNotes/2.52.0.adoc‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ UI, Workflows & Features
1717
* A new command "git last-modified" has been added to show the closest
1818
ancestor commit that touched each path.
1919

20+
* "git refs exists" that works like "git show-ref --exists" has been
21+
added.
22+
2023

2124
Performance, Internal Implementation, Development Support etc.
2225
--------------------------------------------------------------
@@ -47,6 +50,11 @@ Performance, Internal Implementation, Development Support etc.
4750
hash function implementation used to hash lines have been updated
4851
to the one used for ELF symbol lookup by Glibc.
4952
53+
* Instead of scanning for the remaining items to see if there are
54+
still commits to be explored in the queue, use khash to remember
55+
which items are still on the queue (an unacceptable alternative is
56+
to reserve one object flag bits).
57+
5058
5159
Fixes since v2.51
5260
-----------------
@@ -151,6 +159,11 @@ including security updates, are included in this release.
151159
this.
152160
(merge 681f26bccc ds/ls-files-lazy-unsparse later to maint).
153161

162+
* Windows "real-time monitoring" interferes with the execution of
163+
tests and affects negatively in both correctness and performance,
164+
which has been disabled in Gitlab CI.
165+
(merge 608cf5b793 ps/gitlab-ci-disable-windows-monitoring later to maint).
166+
154167
* Other code cleanup, docfix, build fix, etc.
155168
(merge 823d537fa7 kh/doc-git-log-markup-fix later to maint).
156169
(merge cf7efa4f33 rj/t6137-cygwin-fix later to maint).
@@ -164,3 +177,8 @@ including security updates, are included in this release.
164177
(merge 374579c6d4 kh/doc-interpret-trailers-markup-fix later to maint).
165178
(merge 44dce6541c kh/doc-config-typofix later to maint).
166179
(merge 785628b173 js/doc-sending-patch-via-thunderbird later to maint).
180+
(merge e5c27bd3d8 je/doc-add later to maint).
181+
(merge 13296ac909 ps/object-store-midx-dedup-info later to maint).
182+
(merge 2f4bf83ffc km/alias-doc-markup-fix later to maint).
183+
(merge b0d97aac19 kh/doc-markup-fixes later to maint).
184+
(merge f9a6705d9a tc/t0450-harden later to maint).

‎fetch-options.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--no-all::
33
Fetch all remotes, except for the ones that has the
44
`remote.<name>.skipFetchAll` configuration variable set.
5-
This overrides the configuration variable fetch.all`.
5+
This overrides the configuration variable `fetch.all`.
66

77
-a::
88
--append::

‎git-add.adoc‎

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ git add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [-
1616

1717
DESCRIPTION
1818
-----------
19-
This command updates the index using the current content found in
20-
the working tree, to prepare the content staged for the next commit.
21-
It typically adds the current content of existing paths as a whole,
22-
but with some options it can also be used to add content with
23-
only part of the changes made to the working tree files applied, or
24-
remove paths that do not exist in the working tree anymore.
25-
26-
The "index" holds a snapshot of the content of the working tree, and it
27-
is this snapshot that is taken as the contents of the next commit. Thus
28-
after making any changes to the working tree, and before running
29-
the commit command, you must use the `add` command to add any new or
30-
modified files to the index.
19+
Add contents of new or changed files to the index. The "index" (also
20+
known as the "staging area") is what you use to prepare the contents of
21+
the next commit.
22+
23+
When you run `git commit` without any other arguments, it will only
24+
commit staged changes. For example, if you've edited `file.c` and want
25+
to commit your changes to that file, you can run:
26+
27+
git add file.c
28+
git commit
29+
30+
You can also add only part of your changes to a file with `git add -p`.
3131

3232
This command can be performed multiple times before a commit. It only
3333
adds the content of the specified file(s) at the time the add command is
@@ -37,12 +37,10 @@ you must run `git add` again to add the new content to the index.
3737
The `git status` command can be used to obtain a summary of which
3838
files have changes that are staged for the next commit.
3939

40-
The `git add` command will not add ignored files by default. If any
41-
ignored files were explicitly specified on the command line, `git add`
42-
will fail with a list of ignored files. Ignored files reached by
43-
directory recursion or filename globbing performed by Git (quote your
44-
globs before the shell) will be silently ignored. The `git add` command can
45-
be used to add ignored files with the `-f` (force) option.
40+
The `git add` command will not add ignored files by default. You can
41+
use the `--force` option to add ignored files. If you specify the exact
42+
filename of an ignored file, `git add` will fail with a list of ignored
43+
files. Otherwise it will silently ignore the file.
4644

4745
Please see linkgit:git-commit[1] for alternative ways to add content to a
4846
commit.

‎git-add.html‎

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -464,19 +464,23 @@ <h2 id="_synopsis">SYNOPSIS</h2>
464464
<h2id="_description">DESCRIPTION</h2>
465465
<divclass="sectionbody">
466466
<divclass="paragraph">
467-
<p>This command updates the index using the current content found in
468-
the working tree, to prepare the content staged for the next commit.
469-
It typically adds the current content of existing paths as a whole,
470-
but with some options it can also be used to add content with
471-
only part of the changes made to the working tree files applied, or
472-
remove paths that do not exist in the working tree anymore.</p>
467+
<p>Add contents of new or changed files to the index. The "index" (also
468+
known as the "staging area") is what you use to prepare the contents of
469+
the next commit.</p>
473470
</div>
474471
<divclass="paragraph">
475-
<p>The "index" holds a snapshot of the content of the working tree, and it
476-
is this snapshot that is taken as the contents of the next commit. Thus
477-
after making any changes to the working tree, and before running
478-
the commit command, you must use the <code>add</code> command to add any new or
479-
modified files to the index.</p>
472+
<p>When you run <code>git</code><code>commit</code> without any other arguments, it will only
473+
commit staged changes. For example, if you&#8217;ve edited <code>file.c</code> and want
474+
to commit your changes to that file, you can run:</p>
475+
</div>
476+
<divclass="literalblock">
477+
<divclass="content">
478+
<pre>git add file.c
479+
git commit</pre>
480+
</div>
481+
</div>
482+
<divclass="paragraph">
483+
<p>You can also add only part of your changes to a file with <code>git</code><code>add</code><code>-p</code>.</p>
480484
</div>
481485
<divclass="paragraph">
482486
<p>This command can be performed multiple times before a commit. It only
@@ -489,12 +493,10 @@ <h2 id="_description">DESCRIPTION</h2>
489493
files have changes that are staged for the next commit.</p>
490494
</div>
491495
<divclass="paragraph">
492-
<p>The <code>git</code><code>add</code> command will not add ignored files by default. If any
493-
ignored files were explicitly specified on the command line, <code>git</code><code>add</code>
494-
will fail with a list of ignored files. Ignored files reached by
495-
directory recursion or filename globbing performed by Git (quote your
496-
globs before the shell) will be silently ignored. The <code>git</code><code>add</code> command can
497-
be used to add ignored files with the <code>-f</code> (force) option.</p>
496+
<p>The <code>git</code><code>add</code> command will not add ignored files by default. You can
497+
use the <code>--force</code> option to add ignored files. If you specify the exact
498+
filename of an ignored file, <code>git</code><code>add</code> will fail with a list of ignored
499+
files. Otherwise it will silently ignore the file.</p>
498500
</div>
499501
<divclass="paragraph">
500502
<p>Please see <ahref="git-commit.html">git-commit(1)</a> for alternative ways to add content to a
@@ -1043,7 +1045,7 @@ <h2 id="_git">GIT</h2>
10431045
</div>
10441046
<divid="footer">
10451047
<divid="footer-text">
1046-
Last updated 2025-08-04 09:35:46 -0700
1048+
Last updated 2025-09-12 12:13:52 -0700
10471049
</div>
10481050
</div>
10491051
</body>

‎git-config.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2041,8 +2041,8 @@ <h3 id="_variables">Variables</h3>
20412041
<li>
20422042
<p>A convenient way to deal with this is to write your script
20432043
operations in an inline function that is then called with any
2044-
arguments from the command-line. For example `alias.cmd = "!c(){
2045-
echo $1 | grep $2 }; c" will correctly execute the prior example.</p>
2044+
arguments from the command-line. For example <code>alias.cmd</code><code>=</code> "!c(){
2045+
<code>echo</code><code>$1</code> | <code>grep</code><code>$2</code> }; <code>c</code>" will correctly execute the prior example.</p>
20462046
</li>
20472047
<li>
20482048
<p>Setting <code>GIT_TRACE=1</code> can help you debug the command being run for

‎git-fast-import.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ External data format::
647647
+
648648
Here usually `<dataref>` must be either a mark reference (`:<idnum>`)
649649
set by a prior `blob` command, or a full 40-byte SHA-1 of an
650-
existing Git blob object. If `<mode>` is `040000`` then
650+
existing Git blob object. If `<mode>` is `040000` then
651651
`<dataref>` must be the full 40-byte SHA-1 of an existing
652652
Git tree object or a mark reference set with `--import-marks`.
653653

‎git-fast-import.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ <h4 id="_filemodify"><code>filemodify</code></h4>
12621262
<divclass="paragraph">
12631263
<p>Here usually <em>&lt;dataref&gt;</em> must be either a mark reference (<code>:</code><em>&lt;idnum&gt;</em>)
12641264
set by a prior <code>blob</code> command, or a full 40-byte SHA-1 of an
1265-
existing Git blob object. If <em>&lt;mode&gt;</em> is <code>040000</code>` then
1265+
existing Git blob object. If <em>&lt;mode&gt;</em> is <code>040000</code> then
12661266
<em>&lt;dataref&gt;</em> must be the full 40-byte SHA-1 of an existing
12671267
Git tree object or a mark reference set with <code>--import-marks</code>.</p>
12681268
</div>
@@ -2609,7 +2609,7 @@ <h2 id="_git">GIT</h2>
26092609
</div>
26102610
<divid="footer">
26112611
<divid="footer-text">
2612-
Last updated 2025-08-25 14:46:08 -0700
2612+
Last updated 2025-09-12 12:13:52 -0700
26132613
</div>
26142614
</div>
26152615
</body>

‎git-fetch.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ <h2 id="_options">OPTIONS</h2>
504504
<dd>
505505
<p>Fetch all remotes, except for the ones that has the
506506
<code>remote.</code><em>&lt;name&gt;</em><code>.skipFetchAll</code> configuration variable set.
507-
This overrides the configuration variable fetch.all`.</p>
507+
This overrides the configuration variable <code>fetch.all</code>.</p>
508508
</dd>
509509
<dtclass="hdlist1">-a</dt>
510510
<dtclass="hdlist1">--append</dt>

‎git-multi-pack-index.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ OPTIONS
2929
--no-progress::
3030
Turn progress on/off explicitly. If neither is specified, progress is
3131
shown if standard error is connected to a terminal. Supported by
32-
sub-commands `write`, `verify`, `expire`, and `repack.
32+
sub-commands `write`, `verify`, `expire`, and `repack`.
3333

3434
The following subcommands are available:
3535

‎git-multi-pack-index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ <h2 id="_options">OPTIONS</h2>
483483
<dd>
484484
<p>Turn progress on/off explicitly. If neither is specified, progress is
485485
shown if standard error is connected to a terminal. Supported by
486-
sub-commands <code>write</code>, <code>verify</code>, <code>expire</code>, and `repack.</p>
486+
sub-commands <code>write</code>, <code>verify</code>, <code>expire</code>, and <code>repack</code>.</p>
487487
</dd>
488488
</dl>
489489
</div>
@@ -674,7 +674,7 @@ <h2 id="_git">GIT</h2>
674674
</div>
675675
<divid="footer">
676676
<divid="footer-text">
677-
Last updated 2025-08-25 14:46:08 -0700
677+
Last updated 2025-09-12 12:13:52 -0700
678678
</div>
679679
</div>
680680
</body>

0 commit comments

Comments
(0)