Skip to content

Commit e2f4e7e

Browse files
avargitster
authored andcommitted
doc txt & -h consistency: correct padding around "[]()"
The whitespace padding of alternatives should be of the form "[-f | --force]" not "[-f|--force]". Likewise we should not have padding before the first option, so "(--all | <pack-filename>...)" is correct, not "( --all | <pack-filename>... )". Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8bc6f92 commit e2f4e7e

15 files changed

+18
-18
lines changed

Documentation/git-diff-files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-diff-files - Compares files in the working tree and the index
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git diff-files' [-q] [-0|-1|-2|-3|-c|--cc] [<common-diff-options>] [<path>...]
12+
'git diff-files' [-q] [-0 | -1 | -2 | -3 | -c | --cc] [<common-diff-options>] [<path>...]
1313

1414
DESCRIPTION
1515
-----------

Documentation/git-hash-object.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git hash-object' [-t <type>] [-w] [--path=<file>|--no-filters]
12+
'git hash-object' [-t <type>] [-w] [--path=<file> | --no-filters]
1313
[--stdin [--literally]] [--] <file>...
1414
'git hash-object' [-t <type>] [-w] --stdin-paths [--no-filters]
1515

Documentation/git-merge-base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ git-merge-base - Find as good common ancestors as possible for a merge
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git merge-base' [-a|--all] <commit> <commit>...
13-
'git merge-base' [-a|--all] --octopus <commit>...
12+
'git merge-base' [-a | --all] <commit> <commit>...
13+
'git merge-base' [-a | --all] --octopus <commit>...
1414
'git merge-base' --is-ancestor <commit> <commit>
1515
'git merge-base' --independent <commit>...
1616
'git merge-base' --fork-point <ref> [<commit>]

Documentation/git-pack-redundant.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-pack-redundant - Find redundant pack files
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git pack-redundant' [ --verbose ] [ --alt-odb ] ( --all | <pack-filename>... )
12+
'git pack-redundant' [--verbose] [--alt-odb] (--all | <pack-filename>...)
1313

1414
DESCRIPTION
1515
-----------

Documentation/git-prune-packed.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-prune-packed - Remove extra objects that are already in pack files
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git prune-packed' [-n|--dry-run] [-q|--quiet]
12+
'git prune-packed' [-n | --dry-run] [-q | --quiet]
1313

1414

1515
DESCRIPTION

Documentation/git-rerere.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ git-rerere - Reuse recorded resolution of conflicted merges
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git rerere' [clear|forget <pathspec>|diff|remaining|status|gc]
11+
'git rerere' [clear | forget <pathspec> | diff | remaining | status | gc]
1212

1313
DESCRIPTION
1414
-----------

Documentation/git-send-pack.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SYNOPSIS
1111
[verse]
1212
'git send-pack' [--dry-run] [--force] [--receive-pack=<git-receive-pack>]
1313
[--verbose] [--thin] [--atomic]
14-
[--[no-]signed|--signed=(true|false|if-asked)]
14+
[--[no-]signed | --signed=(true|false|if-asked)]
1515
[<host>:]<directory> (--all | <ref>...)
1616

1717
DESCRIPTION

Documentation/git-show-branch.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ git-show-branch - Show branches and their commits
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git show-branch' [-a|--all] [-r|--remotes] [--topo-order | --date-order]
11+
'git show-branch' [-a | --all] [-r | --remotes] [--topo-order | --date-order]
1212
[--current] [--color[=<when>] | --no-color] [--sparse]
1313
[--more=<n> | --list | --independent | --merge-base]
1414
[--no-name | --sha1-name] [--topics]
1515
[(<rev> | <glob>)...]
16-
'git show-branch' (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]
16+
'git show-branch' (-g | --reflog)[=<n>[,<base>]] [--list] [<ref>]
1717

1818
DESCRIPTION
1919
-----------

Documentation/git-show-ref.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ git-show-ref - List references in a local repository
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git show-ref' [-q|--quiet] [--verify] [--head] [-d|--dereference]
12-
[-s|--hash[=<n>]] [--abbrev[=<n>]] [--tags]
11+
'git show-ref' [-q | --quiet] [--verify] [--head] [-d | --dereference]
12+
[-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags]
1313
[--heads] [--] [<pattern>...]
1414
'git show-ref' --exclude-existing[=<pattern>]
1515

Documentation/git-var.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-var - Show a Git logical variable
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git var' ( -l | <variable> )
12+
'git var' (-l | <variable>)
1313

1414
DESCRIPTION
1515
-----------

0 commit comments

Comments
 (0)