@matheusbsbs / matheus-bagliano / commits / 12378c0aa8
Fork 0

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>

Jonathan Nieder committed Aug 20, 2010 at 05:31 UTC 12378c0aa8d06cb0e965935ca6d393a9b66b095a
7 files changed +10 -10
Documentation/git-checkout-index.txt
+1 -1
@@ -13,7 +13,7 @@ SYNOPSIS
13 [--stage=<number>|all]
14 [--temp]
15 [-z] [--stdin]
16 - [--] [<file>]\*
16 + [--] [<file>]*
17
18 DESCRIPTION
19 -----------
Documentation/git-commit-tree.txt
+1 -1
@@ -8,7 +8,7 @@ git-commit-tree - Create a new commit object
8
9 SYNOPSIS
10 --------
11 -'git commit-tree' <tree> [-p <parent commit>]\* < changelog
11 +'git commit-tree' <tree> [-p <parent commit>]* < changelog
12
13 DESCRIPTION
14 -----------
Documentation/git-for-each-ref.txt
+1 -1
@@ -9,7 +9,7 @@ SYNOPSIS
9 --------
10 [verse]
11 'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
12 - [--sort=<key>]\* [--format=<format>] [<pattern>...]
12 + [--sort=<key>]* [--format=<format>] [<pattern>...]
13
14 DESCRIPTION
15 -----------
Documentation/git-ls-files.txt
+3 -3
@@ -10,14 +10,14 @@ SYNOPSIS
10 --------
11 [verse]
12 'git ls-files' [-z] [-t] [-v]
13 - (--[cached|deleted|others|ignored|stage|unmerged|killed|modified])\*
14 - (-[c|d|o|i|s|u|k|m])\*
13 + (--[cached|deleted|others|ignored|stage|unmerged|killed|modified])*
14 + (-[c|d|o|i|s|u|k|m])*
15 [-x <pattern>|--exclude=<pattern>]
16 [-X <file>|--exclude-from=<file>]
17 [--exclude-per-directory=<file>]
18 [--exclude-standard]
19 [--error-unmatch] [--with-tree=<tree-ish>]
20 - [--full-name] [--abbrev] [--] [<file>]\*
20 + [--full-name] [--abbrev] [--] [<file>]*
21
22 DESCRIPTION
23 -----------
Documentation/git-merge-index.txt
+1 -1
@@ -8,7 +8,7 @@ git-merge-index - Run a merge for files needing merging
8
9 SYNOPSIS
10 --------
11 -'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>\*)
11 +'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>*)
12
13 DESCRIPTION
14 -----------
Documentation/git-relink.txt
+1 -1
@@ -7,7 +7,7 @@ git-relink - Hardlink common objects in local repositories
7
8 SYNOPSIS
9 --------
10 -'git relink' [--safe] <dir> [<dir>]\* <master_dir>
10 +'git relink' [--safe] <dir> [<dir>]* <master_dir>
11
12 DESCRIPTION
13 -----------
Documentation/git-update-index.txt
+2 -2
@@ -12,7 +12,7 @@ SYNOPSIS
12 'git update-index'
13 [--add] [--remove | --force-remove] [--replace]
14 [--refresh] [-q] [--unmerged] [--ignore-missing]
15 - [--cacheinfo <mode> <object> <file>]\*
15 + [--cacheinfo <mode> <object> <file>]*
16 [--chmod=(+|-)x]
17 [--assume-unchanged | --no-assume-unchanged]
18 [--skip-worktree | --no-skip-worktree]
@@ -21,7 +21,7 @@ SYNOPSIS
21 [--info-only] [--index-info]
22 [-z] [--stdin]
23 [--verbose]
24 - [--] [<file>]\*
24 + [--] [<file>]*
25
26 DESCRIPTION
27 -----------