Skip to content

Commit

Permalink
Documentation: remove backslashes in manpage synopses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed Aug 20, 2010
1 parent 9257a1e commit 12378c0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Documentation/git-checkout-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SYNOPSIS
[--stage=<number>|all]
[--temp]
[-z] [--stdin]
[--] [<file>]\*
[--] [<file>]*

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-commit-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-commit-tree - Create a new commit object

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

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-for-each-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
[--sort=<key>]\* [--format=<format>] [<pattern>...]
[--sort=<key>]* [--format=<format>] [<pattern>...]

DESCRIPTION
-----------
Expand Down
6 changes: 3 additions & 3 deletions Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ SYNOPSIS
--------
[verse]
'git ls-files' [-z] [-t] [-v]
(--[cached|deleted|others|ignored|stage|unmerged|killed|modified])\*
(-[c|d|o|i|s|u|k|m])\*
(--[cached|deleted|others|ignored|stage|unmerged|killed|modified])*
(-[c|d|o|i|s|u|k|m])*
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
[--exclude-per-directory=<file>]
[--exclude-standard]
[--error-unmatch] [--with-tree=<tree-ish>]
[--full-name] [--abbrev] [--] [<file>]\*
[--full-name] [--abbrev] [--] [<file>]*

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-merge-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-merge-index - Run a merge for files needing merging

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

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-relink.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ git-relink - Hardlink common objects in local repositories

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

DESCRIPTION
-----------
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-update-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SYNOPSIS
'git update-index'
[--add] [--remove | --force-remove] [--replace]
[--refresh] [-q] [--unmerged] [--ignore-missing]
[--cacheinfo <mode> <object> <file>]\*
[--cacheinfo <mode> <object> <file>]*
[--chmod=(+|-)x]
[--assume-unchanged | --no-assume-unchanged]
[--skip-worktree | --no-skip-worktree]
Expand All @@ -21,7 +21,7 @@ SYNOPSIS
[--info-only] [--index-info]
[-z] [--stdin]
[--verbose]
[--] [<file>]\*
[--] [<file>]*

DESCRIPTION
-----------
Expand Down

0 comments on commit 12378c0

Please sign in to comment.