]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: enforce dashes in placeholders
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 25 Dec 2023 21:21:26 +0000 (21:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Dec 2023 19:06:55 +0000 (11:06 -0800)
The CodingGuidelines documents stipulates that multi-word placeholders
are to be separated by dashes, not underscores nor spaces.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
34 files changed:
Documentation/git-blame.txt
Documentation/git-bugreport.txt
Documentation/git-commit-graph.txt
Documentation/git-cvsserver.txt
Documentation/git-daemon.txt
Documentation/git-diagnose.txt
Documentation/git-fast-import.txt
Documentation/git-fetch.txt
Documentation/git-filter-branch.txt
Documentation/git-format-patch.txt
Documentation/git-mv.txt
Documentation/git-notes.txt
Documentation/git-replace.txt
Documentation/git-revert.txt
Documentation/git-send-email.txt
Documentation/git-status.txt
Documentation/git-submodule.txt
Documentation/git-svn.txt
Documentation/git-tag.txt
Documentation/git.txt
Documentation/gitdiffcore.txt
Documentation/gitformat-index.txt
Documentation/githooks.txt
Documentation/gitk.txt
Documentation/gitprotocol-capabilities.txt
Documentation/gitprotocol-http.txt
Documentation/gitprotocol-v2.txt
Documentation/gitsubmodules.txt
Documentation/gitweb.conf.txt
Documentation/gitweb.txt
Documentation/trace2-target-values.txt
Documentation/urls.txt
Documentation/user-manual.txt
builtin/commit-graph.c

index 5720d04ffe4e7434c1798cad4833e233fc71f534..b1d7fb539d021664111276e33ed16dfcd2a91f3c 100644 (file)
@@ -210,7 +210,7 @@ annotated.
 
 . Each blame entry always starts with a line of:
 
-       <40-byte hex sha1> <sourceline> <resultline> <num_lines>
+       <40-byte-hex-sha1> <sourceline> <resultline> <num-lines>
 +
 Line numbers count from 1.
 
index 392d9eb6aec6b0d43930c93a322f415dc75b4c5c..ca626f7fc68611de05319d78ddcc16e94b3375e1 100644 (file)
@@ -52,7 +52,7 @@ OPTIONS
 -s <format>::
 --suffix <format>::
        Specify an alternate suffix for the bugreport name, to create a file
-       named 'git-bugreport-<formatted suffix>'. This should take the form of a
+       named 'git-bugreport-<formatted-suffix>'. This should take the form of a
        strftime(3) format string; the current local time will be used.
 
 --no-diagnose::
@@ -60,7 +60,7 @@ OPTIONS
        Create a zip archive of supplemental information about the user's
        machine, Git client, and repository state. The archive is written to the
        same output directory as the bug report and is named
-       'git-diagnostics-<formatted suffix>'.
+       'git-diagnostics-<formatted-suffix>'.
 +
 Without `mode` specified, the diagnostic archive will contain the default set of
 statistics reported by `git diagnose`. An optional `mode` value may be specified
index c8dbceba014639524ccf2b7b1897190a9fc3c0a0..903b16830ea22529f476f9fadbe0c7aac4b31c12 100644 (file)
@@ -13,7 +13,7 @@ SYNOPSIS
 'git commit-graph write' [--object-dir <dir>] [--append]
                        [--split[=<strategy>]] [--reachable | --stdin-packs | --stdin-commits]
                        [--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]
-                       <split options>
+                       <split-options>
 
 
 DESCRIPTION
index cf4a5a283ecd68f49fb3051b2f27007074eac4ef..4c475efeab976aefafa3dc64d41d3dcf303f63b6 100644 (file)
@@ -197,7 +197,7 @@ allowing access over SSH.
 5. Clients should now be able to check out the project. Use the CVS 'module'
    name to indicate what Git 'head' you want to check out.  This also sets the
    name of your newly checked-out directory, unless you tell it otherwise with
-   `-d <dir_name>`.  For example, this checks out 'master' branch to the
+   `-d <dir-name>`.  For example, this checks out 'master' branch to the
    `project-master` directory:
 +
 ------
@@ -224,7 +224,7 @@ the database to work reliably (otherwise you need to make sure
 that the database is up to date any time 'git-cvsserver' is executed).
 
 By default it uses SQLite databases in the Git directory, named
-`gitcvs.<module_name>.sqlite`. Note that the SQLite backend creates
+`gitcvs.<module-name>.sqlite`. Note that the SQLite backend creates
 temporary files in the same directory as the database file on
 write so it might not be enough to grant the users using
 'git-cvsserver' write access to the database file without granting
index e064f91c9e35899abd70f78a6f37158a0794f113..6ab792228a1045abbb4ba656b144a91f8b624148 100644 (file)
@@ -18,7 +18,7 @@ SYNOPSIS
             [--allow-override=<service>] [--forbid-override=<service>]
             [--access-hook=<path>] [--[no-]informative-errors]
             [--inetd |
-             [--listen=<host_or_ipaddr>] [--port=<n>]
+             [--listen=<host-or-ipaddr>] [--port=<n>]
              [--user=<user> [--group=<group>]]]
             [--log-destination=(stderr|syslog|none)]
             [<directory>...]
@@ -86,10 +86,10 @@ OPTIONS
        Incompatible with --detach, --port, --listen, --user and --group
        options.
 
---listen=<host_or_ipaddr>::
+--listen=<host-or-ipaddr>::
        Listen on a specific IP address or hostname.  IP addresses can
        be either an IPv4 address or an IPv6 address if supported.  If IPv6
-       is not supported, then --listen=hostname is also not supported and
+       is not supported, then --listen=<hostname> is also not supported and
        --listen must be given an IPv4 address.
        Can be given more than once.
        Incompatible with `--inetd` option.
index 3ec8cc7ad72374b9c82db916b95ac0f6d56d5f32..0711959e6f6eaa6af5b8931058760b47189e6ba5 100644 (file)
@@ -45,7 +45,7 @@ OPTIONS
 -s <format>::
 --suffix <format>::
        Specify an alternate suffix for the diagnostics archive name, to create
-       a file named 'git-diagnostics-<formatted suffix>'. This should take the
+       a file named 'git-diagnostics-<formatted-suffix>'. This should take the
        form of a strftime(3) format string; the current local time will be
        used.
 
index bd7b1e0a2eaf3ebf595475580d81d6771b8b4166..b2607366b91458aabefc5f2e4814959a5ba9555c 100644 (file)
@@ -745,11 +745,11 @@ paths for a commit are encouraged to do so.
 
 `notemodify`
 ^^^^^^^^^^^^
-Included in a `commit` `<notes_ref>` command to add a new note
+Included in a `commit` `<notes-ref>` command to add a new note
 annotating a `<commit-ish>` or change this annotation contents.
 Internally it is similar to filemodify 100644 on `<commit-ish>`
 path (maybe split into subdirectories). It's not advised to
-use any other commands to write to the `<notes_ref>` tree except
+use any other commands to write to the `<notes-ref>` tree except
 `filedeleteall` to delete all existing notes in this tree.
 This command has two different means of specifying the content
 of the note.
index f123139c581001d2bcbd94dcc187775e58e8fd6c..50900a50dabce9cd5fcee479461c42466359cad5 100644 (file)
@@ -186,8 +186,8 @@ origin:
 ------------------------------------------------
 $ git fetch origin --prune --prune-tags
 $ git fetch origin --prune 'refs/tags/*:refs/tags/*'
-$ git fetch <url of origin> --prune --prune-tags
-$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'
+$ git fetch <url-of-origin> --prune --prune-tags
+$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'
 ------------------------------------------------
 
 OUTPUT
index 62e482a95e23fd87aa0bc5496a0584a7a7285f85..5a4f853785d119884c41de7f51b4057510f1ccf3 100644 (file)
@@ -14,7 +14,7 @@ SYNOPSIS
        [--msg-filter <command>] [--commit-filter <command>]
        [--tag-name-filter <command>] [--prune-empty]
        [--original <namespace>] [-d <directory>] [-f | --force]
-       [--state-branch <branch>] [--] [<rev-list options>...]
+       [--state-branch <branch>] [--] [<rev-list-options>...]
 
 WARNING
 -------
@@ -32,7 +32,7 @@ listed there as reasonably possible.
 DESCRIPTION
 -----------
 Lets you rewrite Git revision history by rewriting the branches mentioned
-in the <rev-list options>, applying custom filters on each revision.
+in the <rev-list-options>, applying custom filters on each revision.
 Those filters can modify each tree (e.g. removing a file or running
 a perl rewrite on all files) or information about each commit.
 Otherwise, all information (including original commit times or merge
@@ -624,7 +624,7 @@ with:
      real backup; it dereferences tags first.)
 
   ** Running git-filter-branch with either --tags or --all in your
-     <rev-list options>.  In order to retain annotated tags as
+     <rev-list-options>.  In order to retain annotated tags as
      annotated, you must use --tag-name-filter (and must not have
      restored from refs/original/ in a previously botched rewrite).
 
index 414da6b73e7dc9bee177cd91227acb36c6ed070a..728bb3821c1729dffe7565fa812570c315d0f878 100644 (file)
@@ -17,10 +17,10 @@ SYNOPSIS
                   [--signature-file=<file>]
                   [-n | --numbered | -N | --no-numbered]
                   [--start-number <n>] [--numbered-files]
-                  [--in-reply-to=<message id>] [--suffix=.<sfx>]
+                  [--in-reply-to=<message-id>] [--suffix=.<sfx>]
                   [--ignore-if-in-upstream] [--always]
                   [--cover-from-description=<mode>]
-                  [--rfc] [--subject-prefix=<subject prefix>]
+                  [--rfc] [--subject-prefix=<subject-prefix>]
                   [(--reroll-count|-v) <n>]
                   [--to=<email>] [--cc=<email>]
                   [--[no-]cover-letter] [--quiet]
@@ -30,8 +30,8 @@ SYNOPSIS
                   [--range-diff=<previous> [--creation-factor=<percent>]]
                   [--filename-max-length=<n>]
                   [--progress]
-                  [<common diff options>]
-                  [ <since> | <revision range> ]
+                  [<common-diff-options>]
+                  [ <since> | <revision-range> ]
 
 DESCRIPTION
 -----------
@@ -64,7 +64,7 @@ There are two ways to specify which commits to operate on.
    to the tip of the current branch that are not in the history
    that leads to the <since> to be output.
 
-2. Generic <revision range> expression (see "SPECIFYING
+2. Generic <revision-range> expression (see "SPECIFYING
    REVISIONS" section in linkgit:gitrevisions[7]) means the
    commits in the specified range.
 
@@ -179,9 +179,9 @@ Beware that the default for 'git send-email' is to thread emails
 itself.  If you want `git format-patch` to take care of threading, you
 will want to ensure that threading is disabled for `git send-email`.
 
---in-reply-to=<message id>::
+--in-reply-to=<message-id>::
        Make the first mail (or all the mails with `--no-thread`) appear as a
-       reply to the given <message id>, which avoids breaking threads to
+       reply to the given <message-id>, which avoids breaking threads to
        provide a new patch series.
 
 --ignore-if-in-upstream::
@@ -219,9 +219,9 @@ populated with placeholder text.
        Use the contents of <file> instead of the branch's description
        for generating the cover letter.
 
---subject-prefix=<subject prefix>::
+--subject-prefix=<subject-prefix>::
        Instead of the standard '[PATCH]' prefix in the subject
-       line, instead use '[<subject prefix>]'. This can be used
+       line, instead use '[<subject-prefix>]'. This can be used
        to name a patch series, and can be combined with the
        `--numbered` option.
 +
@@ -403,7 +403,7 @@ you can use `--suffix=-patch` to get `0001-description-of-my-change-patch`.
        `format.useAutoBase` configuration.
 
 --root::
-       Treat the revision argument as a <revision range>, even if it
+       Treat the revision argument as a <revision-range>, even if it
        is just a single commit (that would normally be treated as a
        <since>).  Note that root commits included in the specified
        range are always formatted as creation patches, independently
index 7f991a3380201fe4c9f66e9c99604dc16b467f73..dc1bf61534106ac8c9e916ba47bb7fb0f1bf97f0 100644 (file)
@@ -16,7 +16,7 @@ DESCRIPTION
 Move or rename a file, directory, or symlink.
 
  git mv [-v] [-f] [-n] [-k] <source> <destination>
- git mv [-v] [-f] [-n] [-k] <source> ... <destination directory>
+ git mv [-v] [-f] [-n] [-k] <source> ... <destination-directory>
 
 In the first form, it renames <source>, which must exist and be either
 a file, symlink or directory, to <destination>.
index f8310e56a85ab0f6f211d68b1886ec68ae126b9f..c9221a68ccedc828672917576d317c42f9e3647c 100644 (file)
@@ -56,7 +56,7 @@ SUBCOMMANDS
 list::
        List the notes object for a given object. If no object is
        given, show a list of all note objects and the objects they
-       annotate (in the format "<note object> <annotated object>").
+       annotate (in the format "<note-object> <annotated-object>").
        This is the default subcommand if no subcommand is given.
 
 add::
index 4f257126e33cc779d1f407ce61cdfbde3cf9ffad..0a65460adbded52c7d699228a7b3247c5fdf7fad 100644 (file)
@@ -114,11 +114,11 @@ FORMATS
 The following formats are available:
 
 * 'short':
-       <replaced sha1>
+       <replaced-sha1>
 * 'medium':
-       <replaced sha1> -> <replacement sha1>
+       <replaced-sha1> -> <replacement-sha1>
 * 'long':
-       <replaced sha1> (<replaced type>) -> <replacement sha1> (<replacement type>)
+       <replaced-sha1> (<replaced-type>) -> <replacement-sha1> (<replacement-type>)
 
 CREATING REPLACEMENT OBJECTS
 ----------------------------
index cbe0208834d51f89cf9020bdf55ce96be4221ae5..568925db533879697304459d6e47fe5f48861cf1 100644 (file)
@@ -116,7 +116,7 @@ include::rerere-options.txt[]
 
 --reference::
        Instead of starting the body of the log message with "This
-       reverts <full object name of the commit being reverted>.",
+       reverts <full-object-name-of-the-commit-being-reverted>.",
        refer to the commit using "--pretty=reference" format
        (cf. linkgit:git-log[1]).  The `revert.reference`
        configuration variable can be used to enable this option by
@@ -149,7 +149,7 @@ While git creates a basic commit message automatically, it is
 _strongly_ recommended to explain why the original commit is being
 reverted.
 In addition, repeatedly reverting reverts will result in increasingly
-unwieldy subject lines, for example 'Reapply "Reapply "<original subject>""'.
+unwieldy subject lines, for example 'Reapply "Reapply "<original-subject>""'.
 Please consider rewording these to be shorter and more unique.
 
 CONFIGURATION
index 30deb7fe2a4f5506745a938b76d8bbcfb504e34b..d1ef6a204e6833e2e8a1c9d0e909568a7a017300 100644 (file)
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git send-email' [<options>] <file|directory>...
-'git send-email' [<options>] <format-patch options>
+'git send-email' [<options>] <format-patch-options>
 'git send-email' --dump-aliases
 
 
index 10fecc51a75d4783c68565d25302c50480d626ce..4dbb88373bcddadde2560e8159ef31d1f3580c58 100644 (file)
@@ -309,7 +309,7 @@ Line                                     Notes
 ------------------------------------------------------------
 # branch.oid <commit> | (initial)        Current commit.
 # branch.head <branch> | (detached)      Current branch.
-# branch.upstream <upstream_branch>      If upstream is set.
+# branch.upstream <upstream-branch>      If upstream is set.
 # branch.ab +<ahead> -<behind>           If upstream is set and
                                         the commit is present.
 ------------------------------------------------------------
@@ -502,7 +502,7 @@ results, so it could be faster on subsequent runs.
        usually worth the additional size.
 
 * `core.untrackedCache=true` and `core.fsmonitor=true` or
-       `core.fsmonitor=<hook_command_pathname>` (see
+       `core.fsmonitor=<hook-command-pathname>` (see
        linkgit:git-update-index[1]): enable both the untracked cache
        and FSMonitor features and only search directories that have
        been modified since the previous `git status` command.  This
index 695730609aa3ab5a18d45cbff6aba5d1499dfdce..ca0347a37b554d168c918c7144a28e2b0c922c1c 100644 (file)
@@ -136,7 +136,7 @@ If you really want to remove a submodule from the repository and commit
 that use linkgit:git-rm[1] instead. See linkgit:gitsubmodules[7] for removal
 options.
 
-update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--force] [--checkout|--rebase|--merge] [--reference <repository>] [--depth <depth>] [--recursive] [--jobs <n>] [--[no-]single-branch] [--filter <filter spec>] [--] [<path>...]::
+update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--force] [--checkout|--rebase|--merge] [--reference <repository>] [--depth <depth>] [--recursive] [--jobs <n>] [--[no-]single-branch] [--filter <filter-spec>] [--] [<path>...]::
 +
 --
 Update the registered submodules to match what the superproject
@@ -185,7 +185,7 @@ submodule with the `--init` option.
 If `--recursive` is specified, this command will recurse into the
 registered submodules, and update any nested submodules within.
 
-If `--filter <filter spec>` is specified, the given partial clone filter will be
+If `--filter <filter-spec>` is specified, the given partial clone filter will be
 applied to the submodule. See linkgit:git-rev-list[1] for details on filter
 specifications.
 --
index 4e92308e85db5aab3b3e7f591e0ddb1f21afe724..43c68c2ec44f6a055ade52f15c29e36dfed42b45 100644 (file)
@@ -37,12 +37,12 @@ COMMANDS
        argument.  Normally this command initializes the current
        directory.
 
--T<trunk_subdir>;;
---trunk=<trunk_subdir>;;
--t<tags_subdir>;;
---tags=<tags_subdir>;;
--b<branches_subdir>;;
---branches=<branches_subdir>;;
+-T<trunk-subdir>;;
+--trunk=<trunk-subdir>;;
+-t<tags-subdir>;;
+--tags=<tags-subdir>;;
+-b<branches-subdir>;;
+--branches=<branches-subdir>;;
 -s;;
 --stdlayout;;
        These are optional command-line options for init.  Each of
@@ -726,9 +726,9 @@ ADVANCED OPTIONS
        when tracking a single URL.  The 'log' and 'dcommit' commands
        no longer require this switch as an argument.
 
--R<remote name>::
---svn-remote <remote name>::
-       Specify the [svn-remote "<remote name>"] section to use,
+-R<remote-name>::
+--svn-remote <remote-name>::
+       Specify the [svn-remote "<remote-name>"] section to use,
        this allows SVN multiple repositories to be tracked.
        Default: "svn"
 
index d42efb3112787f943559723b9b19915df8181d5e..5fe519c31ec478e205223dbed919254a7ed4c610 100644 (file)
@@ -224,7 +224,7 @@ it in the repository configuration as follows:
 
 -------------------------------------
 [user]
-    signingKey = <gpg-key_id>
+    signingKey = <gpg-key-id>
 -------------------------------------
 
 `pager.tag` is only respected when listing tags, i.e., when `-l` is
index 4698d7a42b5d4cd23a30b953313928fc73bcb76c..6536a739604b7cba349f63b7a51b53fad5bdebd0 100644 (file)
@@ -838,7 +838,7 @@ of the SID and an optional counter (to avoid filename
 collisions).
 +
 In addition, if the variable is set to
-`af_unix:[<socket_type>:]<absolute-pathname>`, Git will try
+`af_unix:[<socket-type>:]<absolute-pathname>`, Git will try
 to open the path as a Unix Domain Socket.  The socket type
 can be either `stream` or `dgram`.
 +
index 3cda2e07c24a96af8ff1c08c46780b5fdb490f4f..642c51227b5a0b1990c374bac4f815dac0b04c22 100644 (file)
@@ -245,20 +245,20 @@ diffcore-pickaxe: For Detecting Addition/Deletion of Specified String
 
 This transformation limits the set of filepairs to those that change
 specified strings between the preimage and the postimage in a certain
-way.  -S<block of text> and -G<regular expression> options are used to
+way.  -S<block-of-text> and -G<regular-expression> options are used to
 specify different ways these strings are sought.
 
-"-S<block of text>" detects filepairs whose preimage and postimage
+"-S<block-of-text>" detects filepairs whose preimage and postimage
 have different number of occurrences of the specified block of text.
 By definition, it will not detect in-file moves.  Also, when a
 changeset moves a file wholesale without affecting the interesting
 string, diffcore-rename kicks in as usual, and `-S` omits the filepair
 (since the number of occurrences of that string didn't change in that
 rename-detected filepair).  When used with `--pickaxe-regex`, treat
-the <block of text> as an extended POSIX regular expression to match,
+the <block-of-text> as an extended POSIX regular expression to match,
 instead of a literal string.
 
-"-G<regular expression>" (mnemonic: grep) detects filepairs whose
+"-G<regular-expression>" (mnemonic: grep) detects filepairs whose
 textual diff has an added or a deleted line that matches the given
 regular expression.  This means that it will detect in-file (or what
 rename-detection considers the same file) moves, which is noise.  The
index 0773e5c3800392b8d4a548519b70379501207054..145cace1fe9fd3a583aaa7c0f605b64b78ef7554 100644 (file)
@@ -386,8 +386,8 @@ The remaining data of each directory block is grouped by type:
        long, "REUC" extension that is M-bytes long, followed by "EOIE",
        then the hash would be:
 
-       Hash("TREE" + <binary representation of N> +
-               "REUC" + <binary representation of M>)
+       Hash("TREE" + <binary-representation-of-N> +
+               "REUC" + <binary-representation-of-M>)
 
 == Index Entry Offset Table
 
index 883982e7a0516204ddd2f2f9e14775fa17e2a810..37f91d5b50ca3ac9053bd687ee540ca87de21083 100644 (file)
@@ -243,7 +243,7 @@ named remote is not being used both values will be the same.
 Information about what is to be pushed is provided on the hook's standard
 input with lines of the form:
 
-  <local ref> SP <local object name> SP <remote ref> SP <remote object name> LF
+  <local-ref> SP <local-object-name> SP <remote-ref> SP <remote-object-name> LF
 
 For instance, if the command +git push origin master:foreign+ were run the
 hook would receive a line like the following:
@@ -251,9 +251,9 @@ hook would receive a line like the following:
   refs/heads/master 67890 refs/heads/foreign 12345
 
 although the full object name would be supplied.  If the foreign ref does not
-yet exist the `<remote object name>` will be the all-zeroes object name.  If a
-ref is to be deleted, the `<local ref>` will be supplied as `(delete)` and the
-`<local object name>` will be the all-zeroes object name.  If the local commit
+yet exist the `<remote-object-name>` will be the all-zeroes object name.  If a
+ref is to be deleted, the `<local-ref>` will be supplied as `(delete)` and the
+`<local-object-name>` will be the all-zeroes object name.  If the local commit
 was specified by something other than a name which could be expanded (such as
 `HEAD~`, or an object name) it will be supplied as it was originally given.
 
index c2213bb77b380a213c1d4a8f6230790b9d8ecb57..35b39960296b69531fff972b6f55c39ed066a655 100644 (file)
@@ -8,7 +8,7 @@ gitk - The Git repository browser
 SYNOPSIS
 --------
 [verse]
-'gitk' [<options>] [<revision range>] [--] [<path>...]
+'gitk' [<options>] [<revision-range>] [--] [<path>...]
 
 DESCRIPTION
 -----------
@@ -124,7 +124,7 @@ gitk-specific options
        range to show.  The command is expected to print on its
        standard output a list of additional revisions to be shown,
        one per line.  Use this instead of explicitly specifying a
-       '<revision range>' if the set of commits to show may vary
+       '<revision-range>' if the set of commits to show may vary
        between refreshes.
 
 --select-commit=<ref>::
index d6c6effc2151ffa136f0f2e36a07b659e25c43e4..2cf7735be479e6863f4e373bd7cf7794624e0094 100644 (file)
@@ -378,7 +378,7 @@ fetch-pack may send "filter" commands to request a partial clone
 or partial fetch and request that the server omit various objects
 from the packfile.
 
-session-id=<session id>
+session-id=<session-id>
 -----------------------
 
 The server may advertise a session ID that can be used to identify this process
index 836b3490ccda97f6fb8356b25244365198a8f681..ec40a550ccab88b35f826e9133635e15c0f6c5ff 100644 (file)
@@ -391,14 +391,14 @@ C: Start a queue, `c_pending`, ordered by commit time (popping newest
 
 C: Send one `$GIT_URL/git-upload-pack` request:
 
-   C: 0032want <want #1>...............................
-   C: 0032want <want #2>...............................
+   C: 0032want <want-#1>...............................
+   C: 0032want <want-#2>...............................
    ....
-   C: 0032have <common #1>.............................
-   C: 0032have <common #2>.............................
+   C: 0032have <common-#1>.............................
+   C: 0032have <common-#2>.............................
    ....
-   C: 0032have <have #1>...............................
-   C: 0032have <have #2>...............................
+   C: 0032have <have-#1>...............................
+   C: 0032have <have-#2>...............................
    ....
    C: 0000
 
@@ -512,7 +512,7 @@ Within the command portion of the request body clients SHOULD send
 the id obtained through ref discovery as old_id.
 
   update_request  =  command_list
-                    "PACK" <binary data>
+                    "PACK" <binary-data>
 
   command_list    =  PKT-LINE(command NUL cap_list LF)
                     *(command_pkt)
index 8c1e7c61eac751d352b9268ff2d57b357ce62ed4..0b800abd567a49b24be7c9feade0596ff758df92 100644 (file)
@@ -199,7 +199,7 @@ which can be used to limit the refs sent from the server.
 
 Additional features not supported in the base command will be advertised
 as the value of the command in the capability advertisement in the form
-of a space separated list of features: "<command>=<feature 1> <feature 2>"
+of a space separated list of features: "<command>=<feature-1> <feature-2>"
 
 ls-refs takes in the following arguments:
 
@@ -245,7 +245,7 @@ addition of future extensions.
 
 Additional features not supported in the base command will be advertised
 as the value of the command in the capability advertisement in the form
-of a space separated list of features: "<command>=<feature 1> <feature 2>"
+of a space separated list of features: "<command>=<feature-1> <feature-2>"
 
 A `fetch` request can take the following arguments:
 
@@ -363,7 +363,7 @@ can be included in the client's request as well as the potential
 addition of the 'packfile-uris' section in the server's response as
 explained below.
 
-    packfile-uris <comma-separated list of protocols>
+    packfile-uris <comma-separated-list-of-protocols>
        Indicates to the server that the client is willing to receive
        URIs of any of the given protocols in place of objects in the
        sent packfile. Before performing the connectivity check, the
@@ -534,7 +534,7 @@ with objects using hash algorithm X.  If not specified, the server is assumed to
 only handle SHA-1.  If the client would like to use a hash algorithm other than
 SHA-1, it should specify its object-format string.
 
-session-id=<session id>
+session-id=<session-id>
 ~~~~~~~~~~~~~~~~~~~~~~~
 
 The server may advertise a session ID that can be used to identify this process
index 8400d591da0e8a93035d72a947b07728055eeebd..f7b5a25a0caa91c7eec2612d56300af08718c2a6 100644 (file)
@@ -151,7 +151,7 @@ the superproject's `$GIT_DIR/config` file, so the superproject's history
 is not affected. This can be undone using `git submodule init`.
 
  * Deleted submodule: A submodule can be deleted by running
-`git rm <submodule path> && git commit`. This can be undone
+`git rm <submodule-path> && git commit`. This can be undone
 using `git revert`.
 +
 The deletion removes the superproject's tracking data, which are
@@ -229,7 +229,7 @@ Workflow for a third party library
   git submodule add <URL> <path>
 
   # Occasionally update the submodule to a new version:
-  git -C <path> checkout <new version>
+  git -C <path> checkout <new-version>
   git add <path>
   git commit -m "update submodule to new version"
 
index 59fc1d27419f534edd42968c41ec83f00ff3647e..85983587fcffa8a07daf452adc3967d85804a9d4 100644 (file)
@@ -343,7 +343,7 @@ $home_link_str::
        Label for the "home link" at the top of all pages, leading to `$home_link`
        (usually the main gitweb page, which contains the projects list).  It is
        used as the first component of gitweb's "breadcrumb trail":
-       `<home link> / <project> / <action>`.  Can be set at build time using
+       `<home-link> / <project> / <action>`.  Can be set at build time using
        the `GITWEB_HOME_LINK_STR` variable.  By default it is set to "projects",
        as this link leads to the list of projects.  Another popular choice is to
        set it to the name of site.  Note that it is treated as raw HTML so it
@@ -604,9 +604,9 @@ Many gitweb features can be enabled (or disabled) and configured using the
 Each `%feature` hash element is a hash reference and has the following
 structure:
 ----------------------------------------------------------------------
-"<feature_name>" => {
-       "sub" => <feature-sub (subroutine)>,
-       "override" => <allow-override (boolean)>,
+"<feature-name>" => {
+       "sub" => <feature-sub-(subroutine)>,
+       "override" => <allow-override-(boolean)>,
        "default" => [ <options>... ]
 },
 ----------------------------------------------------------------------
@@ -614,7 +614,7 @@ Some features cannot be overridden per project.  For those
 features the structure of appropriate `%feature` hash element has a simpler
 form:
 ----------------------------------------------------------------------
-"<feature_name>" => {
+"<feature-name>" => {
        "override" => 0,
        "default" => [ <options>... ]
 },
index ddd4a0fc70571b83ab6c00bbfc4fd94cabfd4464..56d24a30a3f7b9ccd7046a1d66abd1cee2525ba6 100644 (file)
@@ -305,7 +305,7 @@ pathnames.  In most general form such path_info (component) based gitweb URL
 looks like this:
 
 -----------------------------------------------------------------------
-.../gitweb.cgi/<repo>/<action>/<revision_from>:/<path_from>..<revision_to>:/<path_to>?<arguments>
+.../gitweb.cgi/<repo>/<action>/<revision-from>:/<path-from>..<revision-to>:/<path-to>?<arguments>
 -----------------------------------------------------------------------
 
 
index 3985b6d3c2956f7d0b2c5d16d262a5203afe680e..06f19533134f9d8018b1b1ae924370660ec36d73 100644 (file)
@@ -5,7 +5,7 @@
 * `<absolute-pathname>` - Writes to the file in append mode. If the target
 already exists and is a directory, the traces will be written to files (one
 per process) underneath the given directory.
-* `af_unix:[<socket_type>:]<absolute-pathname>` - Write to a
+* `af_unix:[<socket-type>:]<absolute-pathname>` - Write to a
 Unix DomainSocket (on platforms that support them).  Socket
 type can be either `stream` or `dgram`; if omitted Git will
 try both.
index 4e79c1589ece05ff21a144e5b48829a5dc39b50f..ce671f812d4ce32b156361333155f459c9521647 100644 (file)
@@ -73,8 +73,8 @@ use will be rewritten into URLs that work), you can create a
 configuration section of the form:
 
 ------------
-       [url "<actual url base>"]
-               insteadOf = <other url base>
+       [url "<actual-url-base>"]
+               insteadOf = <other-url-base>
 ------------
 
 For example, with this:
@@ -92,8 +92,8 @@ If you want to rewrite URLs for push only, you can create a
 configuration section of the form:
 
 ------------
-       [url "<actual url base>"]
-               pushInsteadOf = <other url base>
+       [url "<actual-url-base>"]
+               pushInsteadOf = <other-url-base>
 ------------
 
 For example, with this:
index d8dbe6b56d42a693461d7deae9ac76e214f3d1e4..163e8fe77aaca49d4c7f6d02663a5a73c02a13fa 100644 (file)
@@ -4100,8 +4100,8 @@ independently of the contents or the type of the object: all objects can
 be validated by verifying that (a) their hashes match the content of the
 file and (b) the object successfully inflates to a stream of bytes that
 forms a sequence of
-`<ascii type without space> + <space> + <ascii decimal size> +
-<byte\0> + <binary object data>`.
+`<ascii-type-without-space> + <space> + <ascii-decimal-size> +
+<byte\0> + <binary-object-data>`.
 
 The structured objects can further have their structure and
 connectivity to other objects verified. This is generally done with
index 45d035af6007a2a64833015dbe58300493a55f80..597927bc56e79a75832e2bc3881e99b41c1cba15 100644 (file)
@@ -22,7 +22,7 @@
        N_("git commit-graph write [--object-dir <dir>] [--append]\n" \
           "                       [--split[=<strategy>]] [--reachable | --stdin-packs | --stdin-commits]\n" \
           "                       [--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]\n" \
-          "                       <split options>")
+          "                       <split-options>")
 
 static const char * builtin_commit_graph_verify_usage[] = {
        BUILTIN_COMMIT_GRAPH_VERIFY_USAGE,