Skip to content

Commit 6340999

Browse files
committed
Autogenerated HTML docs for v2.51.0-122-gf814d
1 parent ca8e07c commit 6340999

File tree

108 files changed

+1847
-547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1847
-547
lines changed

RelNotes/1.6.2.4.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ exec >/var/tmp/1
3737
echo O=$(git describe maint)
3838
O=v1.6.2.3-38-g318b847
3939
git shortlog --no-merges $O..maint
40+
---

RelNotes/2.52.0.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ UI, Workflows & Features
77
* The "list" subcommand of "git refs" acts as a front-end for
88
"git for-each-ref".
99

10+
* "git cmd --help-all" now works outside repositories.
11+
12+
* "git diff-tree" learned "--max-depth" option.
13+
14+
* A new subcommand "git repo" gives users a way to grab various
15+
repository characteristics.
16+
1017

1118
Performance, Internal Implementation, Development Support etc.
1219
--------------------------------------------------------------
@@ -24,6 +31,12 @@ Performance, Internal Implementation, Development Support etc.
2431
contained wildcards; now they take advantage of the filter when
2532
they can.
2633
34+
* Doc lint updates to encourage the newer and easier-to-use
35+
`synopsis` format, with fixes to a handful of existing uses.
36+
37+
* Remove dependency on the_repository and other globals from the
38+
commit-graph code, and other changes unrelated to de-globaling.
39+
2740
2841
Fixes since v2.51
2942
-----------------
@@ -79,3 +92,5 @@ including security updates, are included in this release.
7992
(merge 529a60a885 ua/t1517-short-help-tests later to maint).
8093
(merge 22d421fed9 ac/deglobal-fmt-merge-log-config later to maint).
8194
(merge 741f36c7d9 kr/clone-synopsis-fix later to maint).
95+
(merge a60203a015 dk/t7005-editor-updates later to maint).
96+
(merge 7d4a5fef7d ds/doc-count-objects-fix later to maint).

blame-options.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ include::line-range-format.adoc[]
7575
iso format is used. For supported values, see the discussion
7676
of the --date option at linkgit:git-log[1].
7777

78-
--[no-]progress::
78+
--progress::
79+
--no-progress::
7980
Progress status is reported on the standard error stream
8081
by default when it is attached to a terminal. This flag
8182
enables progress reporting even if not attached to a

cmds-plumbinginterrogators.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ linkgit:git-name-rev[1]::
4343
linkgit:git-pack-redundant[1]::
4444
Find redundant pack files.
4545

46+
linkgit:git-repo[1]::
47+
Retrieve information about the repository.
48+
4649
linkgit:git-rev-list[1]::
4750
Lists commit objects in reverse chronological order.
4851

diff-format.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ if the file was renamed on any side of history. With
103103
followed by the name of the path in the merge commit.
104104

105105
Examples for `-c` and `--cc` without `--combined-all-paths`:
106+
106107
------------------------------------------------
107108
::100644 100644 100644 fabadb8 cc95eb0 4866510 MM desc.c
108109
::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM bar.sh

diff-options.adoc

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ endif::git-format-patch[]
505505
Turn off rename detection, even when the configuration
506506
file gives the default to do so.
507507

508-
`--[no-]rename-empty`::
508+
`--rename-empty`::
509+
`--no-rename-empty`::
509510
Whether to use empty blobs as rename source.
510511

511512
ifndef::git-format-patch[]
@@ -893,5 +894,33 @@ endif::git-format-patch[]
893894
reverted with `--ita-visible-in-index`. Both options are
894895
experimental and could be removed in future.
895896

897+
--max-depth=<depth>::
898+
For each pathspec given on command line, descend at most `<depth>`
899+
levels of directories. A value of `-1` means no limit.
900+
Cannot be combined with wildcards in the pathspec.
901+
Given a tree containing `foo/bar/baz`, the following list shows the
902+
matches generated by each set of options:
903+
+
904+
--
905+
- `--max-depth=0 -- foo`: `foo`
906+
907+
- `--max-depth=1 -- foo`: `foo/bar`
908+
909+
- `--max-depth=1 -- foo/bar`: `foo/bar/baz`
910+
911+
- `--max-depth=1 -- foo foo/bar`: `foo/bar/baz`
912+
913+
- `--max-depth=2 -- foo`: `foo/bar/baz`
914+
--
915+
+
916+
If no pathspec is given, the depth is measured as if all
917+
top-level entries were specified. Note that this is different
918+
than measuring from the root, in that `--max-depth=0` would
919+
still return `foo`. This allows you to still limit depth while
920+
asking for a subset of the top-level entries.
921+
+
922+
Note that this option is only supported for diffs between tree objects,
923+
not against the index or working tree.
924+
896925
For more detailed explanation on these common options, see also
897926
linkgit:gitdiffcore[7].

fetch-options.adoc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
--[no-]all::
1+
--all::
2+
--no-all::
23
Fetch all remotes, except for the ones that has the
34
`remote.<name>.skipFetchAll` configuration variable set.
45
This overrides the configuration variable fetch.all`.
@@ -88,7 +89,8 @@ This is incompatible with `--recurse-submodules=[yes|on-demand]` and takes
8889
precedence over the `fetch.output` config option.
8990

9091
ifndef::git-pull[]
91-
--[no-]write-fetch-head::
92+
--write-fetch-head::
93+
--no-write-fetch-head::
9294
Write the list of remote refs fetched in the `FETCH_HEAD`
9395
file directly under `$GIT_DIR`. This is the default.
9496
Passing `--no-write-fetch-head` from the command line tells
@@ -118,13 +120,16 @@ ifndef::git-pull[]
118120
Allow several <repository> and <group> arguments to be
119121
specified. No <refspec>s may be specified.
120122

121-
--[no-]auto-maintenance::
122-
--[no-]auto-gc::
123+
--auto-maintenance::
124+
--no-auto-maintenance::
125+
--auto-gc::
126+
--no-auto-gc::
123127
Run `git maintenance run --auto` at the end to perform automatic
124128
repository maintenance if needed. (`--[no-]auto-gc` is a synonym.)
125129
This is enabled by default.
126130

127-
--[no-]write-commit-graph::
131+
--write-commit-graph::
132+
--no-write-commit-graph::
128133
Write a commit-graph after fetching. This overrides the config
129134
setting `fetch.writeCommitGraph`.
130135
endif::git-pull[]

for-each-ref-options.adoc

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,81 @@
1-
<pattern>...::
2-
If one or more patterns are given, only refs are shown that
3-
match against at least one pattern, either using fnmatch(3) or
1+
`<pattern>...`::
2+
If one or more _<pattern>_ parameters are given, only refs are shown that
3+
match against at least one pattern, either using `fnmatch`(3) or
44
literally, in the latter case matching completely or from the
55
beginning up to a slash.
66

7-
--stdin::
8-
If `--stdin` is supplied, then the list of patterns is read from
9-
standard input instead of from the argument list.
7+
`--stdin`::
8+
The list of patterns is read from standard input instead of from
9+
the argument list.
1010

11-
--count=<count>::
12-
By default the command shows all refs that match
13-
`<pattern>`. This option makes it stop after showing
14-
that many refs.
11+
`--count=<count>`::
12+
Stop after showing _<count>_ refs.
1513

16-
--sort=<key>::
17-
A field name to sort on. Prefix `-` to sort in
14+
`--sort=<key>`::
15+
Sort on the field name _<key>_. Prefix `-` to sort in
1816
descending order of the value. When unspecified,
19-
`refname` is used. You may use the --sort=<key> option
17+
`refname` is used. You may use the `--sort=<key>` option
2018
multiple times, in which case the last key becomes the primary
2119
key.
2220

23-
--format=<format>::
21+
`--format[=<format>]`::
2422
A string that interpolates `%(fieldname)` from a ref being shown and
2523
the object it points at. In addition, the string literal `%%`
2624
renders as `%` and `%xx` - where `xx` are hex digits - renders as
2725
the character with hex code `xx`. For example, `%00` interpolates to
28-
`\0` (NUL), `%09` to `\t` (TAB), and `%0a` to `\n` (LF).
29-
+
30-
When unspecified, `<format>` defaults to `%(objectname) SPC %(objecttype)
26+
`\0` (_NUL_), `%09` to `\t` (_TAB_), and `%0a` to `\n` (_LF_).
27+
28+
When unspecified, _<format>_ defaults to `%(objectname) SPC %(objecttype)
3129
TAB %(refname)`.
3230

33-
--color[=<when>]::
31+
`--color[=<when>]`::
3432
Respect any colors specified in the `--format` option. The
35-
`<when>` field must be one of `always`, `never`, or `auto` (if
33+
_<when__ field must be one of `always`, `never`, or `auto` (if
3634
`<when>` is absent, behave as if `always` was given).
3735

38-
--shell::
39-
--perl::
40-
--python::
41-
--tcl::
36+
`--shell`::
37+
`--perl`::
38+
`--python`::
39+
`--tcl`::
4240
If given, strings that substitute `%(fieldname)`
4341
placeholders are quoted as string literals suitable for
4442
the specified host language. This is meant to produce
45-
a scriptlet that can directly be `eval`ed.
43+
a scriptlet that can directly be "eval"ed.
4644

47-
--points-at=<object>::
45+
`--points-at=<object>`::
4846
Only list refs which points at the given object.
4947

50-
--merged[=<object>]::
48+
`--merged[=<object>]`::
5149
Only list refs whose tips are reachable from the
52-
specified commit (HEAD if not specified).
53-
54-
--no-merged[=<object>]::
55-
Only list refs whose tips are not reachable from the
56-
specified commit (HEAD if not specified).
50+
specified commit (`HEAD` if not specified).
5751

58-
--contains[=<object>]::
59-
Only list refs which contain the specified commit (HEAD if not
52+
`--no-merged[=<object>]`::
53+
Only list refs whose tips are not reachable from _<object>_(`HEAD` if not
6054
specified).
6155

62-
--no-contains[=<object>]::
63-
Only list refs which don't contain the specified commit (HEAD
56+
`--contains[=<object>]`::
57+
Only list refs which contain _<object>_(`HEAD` if not specified).
58+
59+
`--no-contains[=<object>]`::
60+
Only list refs which don't contain _<object>_ (`HEAD`
6461
if not specified).
6562

66-
--ignore-case::
63+
`--ignore-case`::
6764
Sorting and filtering refs are case insensitive.
6865

69-
--omit-empty::
66+
`--omit-empty`::
7067
Do not print a newline after formatted refs where the format expands
7168
to the empty string.
7269

73-
--exclude=<pattern>::
74-
If one or more patterns are given, only refs which do not match
75-
any excluded pattern(s) are shown. Matching is done using the
76-
same rules as `<pattern>` above.
70+
`--exclude=<excluded-pattern>`::
71+
If one or more `--exclude` options are given, only refs which do not
72+
match any _<excluded-pattern>_ parameters are shown. Matching is done
73+
using the same rules as _<pattern>_ above.
7774

78-
--include-root-refs::
79-
List root refs (HEAD and pseudorefs) apart from regular refs.
75+
`--include-root-refs`::
76+
List root refs (`HEAD` and pseudorefs) apart from regular refs.
8077

81-
--start-after=<marker>::
78+
`--start-after=<marker>`::
8279
Allows paginating the output by skipping references up to and including the
8380
specified marker. When paging, it should be noted that references may be
8481
deleted, modified or added between invocations. Output will only yield those

git-am.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ OPTIONS
4848
--keep-non-patch::
4949
Pass `-b` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]).
5050

51-
--[no-]keep-cr::
51+
--keep-cr::
52+
--no-keep-cr::
5253
With `--keep-cr`, call 'git mailsplit' (see linkgit:git-mailsplit[1])
5354
with the same option, to prevent it from stripping CR at the end of
5455
lines. `am.keepcr` configuration variable can be used to specify the

git-am.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ <h2 id="_options">OPTIONS</h2>
504504
<dd>
505505
<p>Pass <code>-b</code> flag to <em>git mailinfo</em> (see <a href="git-mailinfo.html">git-mailinfo(1)</a>).</p>
506506
</dd>
507-
<dt class="hdlist1">--[no-]keep-cr</dt>
507+
<dt class="hdlist1">--keep-cr</dt>
508+
<dt class="hdlist1">--no-keep-cr</dt>
508509
<dd>
509510
<p>With <code>--keep-cr</code>, call <em>git mailsplit</em> (see <a href="git-mailsplit.html">git-mailsplit(1)</a>)
510511
with the same option, to prevent it from stripping CR at the end of
@@ -869,7 +870,7 @@ <h2 id="_git">GIT</h2>
869870
</div>
870871
<div id="footer">
871872
<div id="footer-text">
872-
Last updated 2025-06-20 18:10:42 -0700
873+
Last updated 2025-08-25 14:46:08 -0700
873874
</div>
874875
</div>
875876
</body>

0 commit comments

Comments
 (0)