Browse Source

Documentation: remove backslashes in manpage synopses

For some reason, various manual pages have an asterisk escaped
with \ in the synopsis.  Since there is no other asterisk to pair it
with, Asciidoc does not consider this asterisk escapable, so it passes
the backslash through.

Each page either uses [verse] or has only one asterisk, so it
is safe to drop the backslashes (checked with asciidoc 8.5.2).

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Jonathan Nieder 15 years ago committed by Junio C Hamano
parent
commit
12378c0aa8
  1. 2
      Documentation/git-checkout-index.txt
  2. 2
      Documentation/git-commit-tree.txt
  3. 2
      Documentation/git-for-each-ref.txt
  4. 6
      Documentation/git-ls-files.txt
  5. 2
      Documentation/git-merge-index.txt
  6. 2
      Documentation/git-relink.txt
  7. 4
      Documentation/git-update-index.txt

2
Documentation/git-checkout-index.txt

@ -13,7 +13,7 @@ SYNOPSIS
[--stage=<number>|all] [--stage=<number>|all]
[--temp] [--temp]
[-z] [--stdin] [-z] [--stdin]
[--] [<file>]\* [--] [<file>]*


DESCRIPTION DESCRIPTION
----------- -----------

2
Documentation/git-commit-tree.txt

@ -8,7 +8,7 @@ git-commit-tree - Create a new commit object


SYNOPSIS SYNOPSIS
-------- --------
'git commit-tree' <tree> [-p <parent commit>]\* < changelog 'git commit-tree' <tree> [-p <parent commit>]* < changelog


DESCRIPTION DESCRIPTION
----------- -----------

2
Documentation/git-for-each-ref.txt

@ -9,7 +9,7 @@ SYNOPSIS
-------- --------
[verse] [verse]
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl] 'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
[--sort=<key>]\* [--format=<format>] [<pattern>...] [--sort=<key>]* [--format=<format>] [<pattern>...]


DESCRIPTION DESCRIPTION
----------- -----------

6
Documentation/git-ls-files.txt

@ -10,14 +10,14 @@ SYNOPSIS
-------- --------
[verse] [verse]
'git ls-files' [-z] [-t] [-v] 'git ls-files' [-z] [-t] [-v]
(--[cached|deleted|others|ignored|stage|unmerged|killed|modified])\* (--[cached|deleted|others|ignored|stage|unmerged|killed|modified])*
(-[c|d|o|i|s|u|k|m])\* (-[c|d|o|i|s|u|k|m])*
[-x <pattern>|--exclude=<pattern>] [-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>] [-X <file>|--exclude-from=<file>]
[--exclude-per-directory=<file>] [--exclude-per-directory=<file>]
[--exclude-standard] [--exclude-standard]
[--error-unmatch] [--with-tree=<tree-ish>] [--error-unmatch] [--with-tree=<tree-ish>]
[--full-name] [--abbrev] [--] [<file>]\* [--full-name] [--abbrev] [--] [<file>]*


DESCRIPTION DESCRIPTION
----------- -----------

2
Documentation/git-merge-index.txt

@ -8,7 +8,7 @@ git-merge-index - Run a merge for files needing merging


SYNOPSIS SYNOPSIS
-------- --------
'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>\*) 'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>*)


DESCRIPTION DESCRIPTION
----------- -----------

2
Documentation/git-relink.txt

@ -7,7 +7,7 @@ git-relink - Hardlink common objects in local repositories


SYNOPSIS SYNOPSIS
-------- --------
'git relink' [--safe] <dir> [<dir>]\* <master_dir> 'git relink' [--safe] <dir> [<dir>]* <master_dir>


DESCRIPTION DESCRIPTION
----------- -----------

4
Documentation/git-update-index.txt

@ -12,7 +12,7 @@ SYNOPSIS
'git update-index' 'git update-index'
[--add] [--remove | --force-remove] [--replace] [--add] [--remove | --force-remove] [--replace]
[--refresh] [-q] [--unmerged] [--ignore-missing] [--refresh] [-q] [--unmerged] [--ignore-missing]
[--cacheinfo <mode> <object> <file>]\* [--cacheinfo <mode> <object> <file>]*
[--chmod=(+|-)x] [--chmod=(+|-)x]
[--assume-unchanged | --no-assume-unchanged] [--assume-unchanged | --no-assume-unchanged]
[--skip-worktree | --no-skip-worktree] [--skip-worktree | --no-skip-worktree]
@ -21,7 +21,7 @@ SYNOPSIS
[--info-only] [--index-info] [--info-only] [--index-info]
[-z] [--stdin] [-z] [--stdin]
[--verbose] [--verbose]
[--] [<file>]\* [--] [<file>]*


DESCRIPTION DESCRIPTION
----------- -----------

Loading…
Cancel
Save