diff --git a/RelNotes/2.45.0.txt b/RelNotes/2.45.0.txt
index e75e5ca36..321da04dd 100644
--- a/RelNotes/2.45.0.txt
+++ b/RelNotes/2.45.0.txt
@@ -15,6 +15,8 @@ UI, Workflows & Features
* Variants of vimdiff learned to honor mergetool..layout
settings.
+ * "git reflog" learned a "list" subcommand that enumerates known reflogs.
+
Performance, Internal Implementation, Development Support etc.
@@ -27,6 +29,10 @@ Performance, Internal Implementation, Development Support etc.
* Some parts of command line completion script (in contrib/) have
been micro-optimized.
+ * The way placeholders are to be marked-up in documentation have been
+ specified; use "__" to typeset the word inside a pair
+ of emphasized.
+
Fixes since v2.44
-----------------
@@ -55,7 +61,16 @@ Fixes since v2.44
to handle an empty password correctly.
(merge 8f1f2023b7 mh/libsecret-empty-password-fix later to maint).
+ * "git difftool --dir-diff" learned to honor the "--trust-exit-code"
+ option; it used to always exit with 0 and signalled success.
+ (merge eb84c8b6ce ps/difftool-dir-diff-exit-code later to maint).
+
* Other code cleanup, docfix, build fix, etc.
(merge f0e578c69c rs/use-xstrncmpz later to maint).
(merge 83e6eb7d7a ba/credential-test-clean-fix later to maint).
(merge 64562d784d jb/doc-interactive-singlekey-do-not-need-perl later to maint).
+ (merge c431a235e2 cp/t9146-use-test-path-helpers later to maint).
+ (merge 82d75402d5 ds/doc-send-email-capitalization later to maint).
+ (merge 41bff66e35 jc/doc-add-placeholder-fix later to maint).
+ (merge 6835f0efe9 jw/remote-doc-typofix later to maint).
+ (merge 244001aa20 hs/rebase-not-in-progress later to maint).
diff --git a/ReviewingGuidelines.html b/ReviewingGuidelines.html
index d08eb4b8c..232d3fb22 100644
--- a/ReviewingGuidelines.html
+++ b/ReviewingGuidelines.html
@@ -735,7 +735,7 @@ asciidoc.install();
to ignore removed files; use --no-all option if you want
to add modified or new files but ignore removed ones.
-
For more details about the <pathspec> syntax, see the pathspec entry
+
For more details about the <pathspec> syntax, see the pathspec entry
in gitglossary(7).
@@ -916,10 +916,10 @@ apply to the index. See EDITING PATCHES below.
Update the index just where it already has an entry matching
- <pathspec>. This removes as well as modifies index entries to
+ <pathspec>. This removes as well as modifies index entries to
match the working tree, but adds no new files.
-
If no <pathspec> is given when -u option is used, all
+
If no <pathspec> is given when -u option is used, all
tracked files in the entire working tree are updated (old versions
of Git used to limit the update to the current directory and its
subdirectories).
@@ -936,11 +936,11 @@ subdirectories).
Update the index not only where the working tree has a file
- matching <pathspec> but also where the index already has an
+ matching <pathspec> but also where the index already has an
entry. This adds, modifies, and removes index entries to
match the working tree.
-
If no <pathspec> is given when -A option is used, all
+
If no <pathspec> is given when -A option is used, all
files in the entire working tree are updated (old versions
of Git used to limit the update to the current directory and its
subdirectories).
@@ -956,11 +956,11 @@ subdirectories).
Update the index by adding new files that are unknown to the
index and files modified in the working tree, but ignore
files that have been removed from the working tree. This
- option is a no-op when no <pathspec> is used.
+ option is a no-op when no <pathspec> is used.
This option is primarily to help users who are used to older
-versions of Git, whose "git add <pathspec>…" was a synonym
-for "git add --no-all <pathspec>…", i.e. ignored removed files.
+versions of Git, whose "git add <pathspec>…" was a synonym
+for "git add --no-all <pathspec>…", i.e. ignored removed files.
-N
@@ -1050,8 +1050,8 @@ for "git add --no-all <pathspec>…", i.e. ignored removed files.<
- Pathspec is passed in <file> instead of commandline args. If
- <file> is exactly - then standard input is used. Pathspec
+ Pathspec is passed in <file> instead of commandline args. If
+ <file> is exactly - then standard input is used. Pathspec
elements are separated by LF or CR/LF. Pathspec elements can be
quoted as explained for the configuration variable core.quotePath
(see git-config(1)). See also --pathspec-file-nul and
@@ -1425,7 +1425,7 @@ add.interactive.useBuiltin
diff --git a/git-add.txt b/git-add.txt
index 3d2e67071..14a371fff 100644
--- a/git-add.txt
+++ b/git-add.txt
@@ -63,7 +63,7 @@ OPTIONS
to ignore removed files; use `--no-all` option if you want
to add modified or new files but ignore removed ones.
+
-For more details about the syntax, see the 'pathspec' entry
+For more details about the __ syntax, see the 'pathspec' entry
in linkgit:gitglossary[7].
-n::
@@ -119,10 +119,10 @@ apply to the index. See EDITING PATCHES below.
-u::
--update::
Update the index just where it already has an entry matching
- . This removes as well as modifies index entries to
+ __. This removes as well as modifies index entries to
match the working tree, but adds no new files.
+
-If no is given when `-u` option is used, all
+If no __ is given when `-u` option is used, all
tracked files in the entire working tree are updated (old versions
of Git used to limit the update to the current directory and its
subdirectories).
@@ -131,11 +131,11 @@ subdirectories).
--all::
--no-ignore-removal::
Update the index not only where the working tree has a file
- matching but also where the index already has an
+ matching __ but also where the index already has an
entry. This adds, modifies, and removes index entries to
match the working tree.
+
-If no is given when `-A` option is used, all
+If no __ is given when `-A` option is used, all
files in the entire working tree are updated (old versions
of Git used to limit the update to the current directory and its
subdirectories).
@@ -145,11 +145,11 @@ subdirectories).
Update the index by adding new files that are unknown to the
index and files modified in the working tree, but ignore
files that have been removed from the working tree. This
- option is a no-op when no is used.
+ option is a no-op when no __ is used.
+
This option is primarily to help users who are used to older
-versions of Git, whose "git add ..." was a synonym
-for "git add --no-all ...", i.e. ignored removed files.
+versions of Git, whose "git add __..." was a synonym
+for "git add --no-all __...", i.e. ignored removed files.
-N::
--intent-to-add::
@@ -198,8 +198,8 @@ for "git add --no-all ...", i.e. ignored removed files.
unchanged.
--pathspec-from-file=::
- Pathspec is passed in `` instead of commandline args. If
- `` is exactly `-` then standard input is used. Pathspec
+ Pathspec is passed in __ instead of commandline args. If
+ __ is exactly `-` then standard input is used. Pathspec
elements are separated by LF or CR/LF. Pathspec elements can be
quoted as explained for the configuration variable `core.quotePath`
(see linkgit:git-config[1]). See also `--pathspec-file-nul` and
diff --git a/git-clone.html b/git-clone.html
index 7571b443d..6e42518f8 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -1213,7 +1213,7 @@ or --mirror is given)
diff --git a/git-clone.txt b/git-clone.txt
index 6e43eb9c2..0c07720c6 100644
--- a/git-clone.txt
+++ b/git-clone.txt
@@ -311,7 +311,7 @@ or `--mirror` is given)
The result is Git repository can be separated from working
tree.
---ref-format=::
Specify the given ref storage format for the repository. The valid values are:
+
diff --git a/git-config.html b/git-config.html
index adfb8b18d..5a700404f 100644
--- a/git-config.html
+++ b/git-config.html
@@ -5309,8 +5309,8 @@ diff.colorMovedWS
When moved lines are colored using e.g. the diff.colorMoved setting,
- this option controls the <mode> how spaces are treated
- for details of valid modes see --color-moved-ws in git-diff(1).
+ this option controls the <mode> how spaces are treated.
+ For details of valid modes see --color-moved-ws in git-diff(1).
@@ -9058,14 +9058,10 @@ pack.allowPackReuse
reachability bitmap is available, pack-objects will try to send
parts of all packs in the MIDX.
-
-
-
If only a single pack bitmap is available, and
-`pack.allowPackReuse` is set to "multi", reuse parts of just the
-bitmapped packfile. This can reduce memory and CPU usage to
-serve fetches, but might result in sending a slightly larger
-pack. Defaults to true.
-
+
If only a single pack bitmap is available, and pack.allowPackReuse
+is set to "multi", reuse parts of just the bitmapped packfile. This
+can reduce memory and CPU usage to serve fetches, but might result in
+sending a slightly larger pack. Defaults to true.
When moved lines are colored using e.g. the diff.colorMoved setting,
- this option controls the <mode> how spaces are treated
- for details of valid modes see --color-moved-ws in git-diff(1).
+ this option controls the <mode> how spaces are treated.
+ For details of valid modes see --color-moved-ws in git-diff(1).
diff --git a/git-difftool.html b/git-difftool.html
index b2e108736..364d59308 100644
--- a/git-difftool.html
+++ b/git-difftool.html
@@ -912,7 +912,6 @@ instead. --no-symlinks is the default on Windows.
- git-difftool invokes a diff tool individually on each file.
Errors reported by the diff tool are ignored by default.
Use --trust-exit-code to make git-difftool exit when an
invoked diff tool returns a non-zero exit code.
@@ -1055,7 +1054,7 @@ difftool.guiDefault
diff --git a/git-difftool.txt b/git-difftool.txt
index c05f97aca..a616f8b2e 100644
--- a/git-difftool.txt
+++ b/git-difftool.txt
@@ -105,7 +105,6 @@ instead. `--no-symlinks` is the default on Windows.
`merge.tool` until a tool is found.
--[no-]trust-exit-code::
- 'git-difftool' invokes a diff tool individually on each file.
Errors reported by the diff tool are ignored by default.
Use `--trust-exit-code` to make 'git-difftool' exit when an
invoked diff tool returns a non-zero exit code.
diff --git a/git-fast-export.html b/git-fast-export.html
index fa7da2179..f5af0f46f 100644
--- a/git-fast-export.html
+++ b/git-fast-export.html
@@ -807,7 +807,7 @@ warning.
when encountering such a tag. With drop it will omit such tags from
the output. With rewrite, if the tagged object is a commit, it will
rewrite the tag to tag an ancestor commit (via parent rewriting; see
-git-rev-list(1))
-M
@@ -1120,7 +1120,7 @@ a tag referencing a tree instead of a commit.
diff --git a/git-fast-export.txt b/git-fast-export.txt
index 4643ddbe6..752e4b9b0 100644
--- a/git-fast-export.txt
+++ b/git-fast-export.txt
@@ -48,7 +48,7 @@ When asking to 'abort' (which is the default), this program will die
when encountering such a tag. With 'drop' it will omit such tags from
the output. With 'rewrite', if the tagged object is a commit, it will
rewrite the tag to tag an ancestor commit (via parent rewriting; see
-linkgit:git-rev-list[1])
+linkgit:git-rev-list[1]).
-M::
-C::
diff --git a/git-reflog.html b/git-reflog.html
index a6265b239..fa50398eb 100644
--- a/git-reflog.html
+++ b/git-reflog.html
@@ -750,6 +750,7 @@ git-reflog(1) Manual Page
git reflog [show] [<log-options>] [<ref>]
+git reflog listgit reflog expire [--expire=<time>] [--expire-unreachable=<time>]
[--rewrite] [--updateref] [--stale-fix]
[--dry-run | -n] [--verbose] [--all [--single-worktree] | <refs>…]
@@ -779,6 +780,7 @@ command-line (or HEAD, by default). The reflog covers all recent
actions, and in addition the HEAD reflog records branch switching.
git reflog show is an alias for git log -g --abbrev-commit
--pretty=oneline; see git-log(1) for more information.
+
The "list" subcommand lists all refs which have a corresponding reflog.
The "expire" subcommand prunes older reflog entries. Entries older
than expire time, or entries older than expire-unreachable time
and not reachable from the current tip, are removed from the reflog.
@@ -925,7 +927,7 @@ used with expire.
@@ -1284,10 +1284,10 @@ print a message to stderr and exit with nonzero status.
Other Options
---since=datestring
+--since=<datestring>
---after=datestring
+--after=<datestring>
@@ -1296,10 +1296,10 @@ print a message to stderr and exit with nonzero status.
---until=datestring
+--until=<datestring>
---before=datestring
+--before=<datestring>
@@ -1308,7 +1308,7 @@ print a message to stderr and exit with nonzero status.
-<args>…
+<arg>…
@@ -2159,7 +2159,7 @@ Similar to above:
diff --git a/git-rev-parse.txt b/git-rev-parse.txt
index 546faf901..5d83dd36d 100644
--- a/git-rev-parse.txt
+++ b/git-rev-parse.txt
@@ -9,7 +9,7 @@ git-rev-parse - Pick out and massage parameters
SYNOPSIS
--------
[verse]
-'git rev-parse' [] ...
+'git rev-parse' [] ...
DESCRIPTION
-----------
@@ -130,7 +130,7 @@ for another option.
'git diff-{asterisk}'). In contrast to the `--sq-quote` option,
the command input is still interpreted as usual.
---short[=length]::
+--short[=]::
Same as `--verify` but shortens the object name to a unique
prefix with at least `length` characters. The minimum length
is 4, the default is the effective value of the `core.abbrev`
@@ -165,9 +165,9 @@ Options for Objects
--all::
Show all refs found in `refs/`.
---branches[=pattern]::
---tags[=pattern]::
---remotes[=pattern]::
+--branches[=]::
+--tags[=]::
+--remotes[=]::
Show all branches, tags, or remote-tracking branches,
respectively (i.e., refs found in `refs/heads`,
`refs/tags`, or `refs/remotes`, respectively).
@@ -176,7 +176,7 @@ If a `pattern` is given, only refs matching the given shell glob are
shown. If the pattern does not contain a globbing character (`?`,
`*`, or `[`), it is turned into a prefix match by appending `/*`.
---glob=pattern::
+--glob=::
Show all refs matching the shell glob pattern `pattern`. If
the pattern does not start with `refs/`, this is automatically
prepended. If the pattern does not contain a globbing
@@ -197,7 +197,7 @@ respectively, and they must begin with `refs/` when applied to `--glob`
or `--all`. If a trailing '/{asterisk}' is intended, it must be given
explicitly.
---exclude-hidden=[fetch|receive|uploadpack]::
+--exclude-hidden=(fetch|receive|uploadpack)::
Do not include refs that would be hidden by `git-fetch`,
`git-receive-pack` or `git-upload-pack` by consulting the appropriate
`fetch.hideRefs`, `receive.hideRefs` or `uploadpack.hideRefs`
@@ -314,17 +314,17 @@ The following options are unaffected by `--path-format`:
Other Options
~~~~~~~~~~~~~
---since=datestring::
---after=datestring::
+--since=::
+--after=::
Parse the date string, and output the corresponding
--max-age= parameter for 'git rev-list'.
---until=datestring::
---before=datestring::
+--until=::
+--before=::
Parse the date string, and output the corresponding
--min-age= parameter for 'git rev-list'.
-...::
+...::
Flags and parameters to be parsed.
diff --git a/git-send-email.html b/git-send-email.html
index 53c5d23bd..92b917a0b 100644
--- a/git-send-email.html
+++ b/git-send-email.html
@@ -932,7 +932,7 @@ is not set, this will be prompted for.
Specify encoding of compose message. Default is the value of the
- sendemail.composeencoding; if that is unspecified, UTF-8 is assumed.
+ sendemail.composeEncoding; if that is unspecified, UTF-8 is assumed.
@@ -991,7 +991,7 @@ value; if that is unspecified, default to auto.
Specify a command to run to send the email. The command should
be sendmail-like; specifically, it must support the -i option.
The command will be executed in the shell if necessary. Default
- is the value of sendemail.sendmailcmd. If unspecified, and if
+ is the value of sendemail.sendmailCmd. If unspecified, and if
--smtp-server is also unspecified, git-send-email will search
for sendmail in /usr/sbin, /usr/lib and $PATH.
@@ -1132,7 +1132,7 @@ must be used for each option.
certificates concatenated together: see verify(1) -CAfile and
-CApath for more information on these). Set it to an empty string
to disable certificate verification. Defaults to the value of the
- sendemail.smtpsslcertpath configuration variable, if set, or the
+ sendemail.smtpSSLCertPath configuration variable, if set, or the
backing SSL library’s compiled-in default otherwise (which should
be the best choice on most platforms).
@@ -1213,7 +1213,7 @@ must be used for each option.
Specify a command to execute once per patch file which
should generate patch file specific "To:" entries.
Output of this command must be single email address per line.
- Default is the value of sendemail.tocmd configuration value.
+ Default is the value of sendemail.toCmd configuration value.
@@ -1278,7 +1278,7 @@ must be used for each option.
If this is set, add emails found in the Signed-off-by trailer or Cc: lines to the
- cc list. Default is the value of sendemail.signedoffbycc configuration
+ cc list. Default is the value of sendemail.signedOffByCc configuration
value; if that is unspecified, default to --signed-off-by-cc.
@@ -1289,7 +1289,7 @@ must be used for each option.
If this is set, emails found in Cc: headers in the first patch of
the series (typically the cover letter) are added to the cc list
- for each email set. Default is the value of sendemail.cccover
+ for each email set. Default is the value of sendemail.ccCover
configuration value; if that is unspecified, default to --no-cc-cover.
@@ -1300,7 +1300,7 @@ must be used for each option.
If this is set, emails found in To: headers in the first patch of
the series (typically the cover letter) are added to the to list
- for each email set. Default is the value of sendemail.tocover
+ for each email set. Default is the value of sendemail.toCover
configuration value; if that is unspecified, default to --no-to-cover.
@@ -1367,7 +1367,7 @@ must be used for each option.
-
Default is the value of sendemail.suppresscc configuration value; if
+
Default is the value of sendemail.suppressCc configuration value; if
that is unspecified, default to self if --suppress-from is
specified, as well as body if --no-signed-off-cc is specified.
@@ -1528,7 +1528,7 @@ default to --validate.
Instead of the normal operation, dump the shorthand alias names from
the configured alias file(s), one per line in alphabetical order. Note
that this only includes the alias name and not its expanded email addresses.
- See sendemail.aliasesfile for more information about aliases.
+ See sendemail.aliasesFile for more information about aliases.
@@ -1563,7 +1563,7 @@ sendemail.smtpEncryption