Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit badabc0

Browse files
committed
Merge branch 'jk/doc-asciidoc-inline-literal' into maint
By Jeff King * jk/doc-asciidoc-inline-literal: docs: stop using asciidoc no-inline-literal
2 parents 3734dbc + 6cf378f commit badabc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+192
-194
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endif
8282
#
8383

8484
ifndef ASCIIDOC7
85-
ASCIIDOC_EXTRA += -a asciidoc7compatible -a no-inline-literal
85+
ASCIIDOC_EXTRA += -a asciidoc7compatible
8686
endif
8787
ifdef DOCBOOK_XSL_172
8888
ASCIIDOC_EXTRA += -a git-asciidoc-no-roff

Documentation/config.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ Common unit suffixes of 'k', 'm', or 'g' are supported.
481481
core.excludesfile::
482482
In addition to '.gitignore' (per-directory) and
483483
'.git/info/exclude', git looks into this file for patterns
484-
of files which are not meant to be tracked. "{tilde}/" is expanded
485-
to the value of `$HOME` and "{tilde}user/" to the specified user's
484+
of files which are not meant to be tracked. "`~/`" is expanded
485+
to the value of `$HOME` and "`~user/`" to the specified user's
486486
home directory. See linkgit:gitignore[5].
487487

488488
core.askpass::
@@ -863,7 +863,7 @@ commit.status::
863863

864864
commit.template::
865865
Specify a file to use as the template for new commit messages.
866-
"{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
866+
"`~/`" is expanded to the value of `$HOME` and "`~user/`" to the
867867
specified user's home directory.
868868

869869
credential.helper::
@@ -988,7 +988,7 @@ format.thread::
988988
a boolean value, or `shallow` or `deep`. `shallow` threading
989989
makes every mail a reply to the head of the series,
990990
where the head is chosen from the cover letter, the
991-
`\--in-reply-to`, and the first patch mail, in this order.
991+
`--in-reply-to`, and the first patch mail, in this order.
992992
`deep` threading makes every mail a reply to the previous one.
993993
A true boolean value is the same as `shallow`, and a false
994994
value disables threading.
@@ -1419,21 +1419,21 @@ instaweb.port::
14191419
interactive.singlekey::
14201420
In interactive commands, allow the user to provide one-letter
14211421
input with a single key (i.e., without hitting enter).
1422-
Currently this is used by the `\--patch` mode of
1422+
Currently this is used by the `--patch` mode of
14231423
linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],
14241424
linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this
14251425
setting is silently ignored if portable keystroke input
14261426
is not available.
14271427

14281428
log.abbrevCommit::
14291429
If true, makes linkgit:git-log[1], linkgit:git-show[1], and
1430-
linkgit:git-whatchanged[1] assume `\--abbrev-commit`. You may
1431-
override this option with `\--no-abbrev-commit`.
1430+
linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may
1431+
override this option with `--no-abbrev-commit`.
14321432

14331433
log.date::
14341434
Set the default date-time mode for the 'log' command.
14351435
Setting a value for log.date is similar to using 'git log''s
1436-
`\--date` option. Possible values are `relative`, `local`,
1436+
`--date` option. Possible values are `relative`, `local`,
14371437
`default`, `iso`, `rfc`, and `short`; see linkgit:git-log[1]
14381438
for details.
14391439

@@ -1623,18 +1623,18 @@ pack.indexVersion::
16231623
and this config option ignored whenever the corresponding pack is
16241624
larger than 2 GB.
16251625
+
1626-
If you have an old git that does not understand the version 2 `{asterisk}.idx` file,
1626+
If you have an old git that does not understand the version 2 `*.idx` file,
16271627
cloning or fetching over a non native protocol (e.g. "http" and "rsync")
1628-
that will copy both `{asterisk}.pack` file and corresponding `{asterisk}.idx` file from the
1628+
that will copy both `*.pack` file and corresponding `*.idx` file from the
16291629
other side may give you a repository that cannot be accessed with your
1630-
older version of git. If the `{asterisk}.pack` file is smaller than 2 GB, however,
1630+
older version of git. If the `*.pack` file is smaller than 2 GB, however,
16311631
you can use linkgit:git-index-pack[1] on the *.pack file to regenerate
1632-
the `{asterisk}.idx` file.
1632+
the `*.idx` file.
16331633

16341634
pack.packSizeLimit::
16351635
The maximum size of a pack. This setting only affects
16361636
packing to a file when repacking, i.e. the git:// protocol
1637-
is unaffected. It can be overridden by the `\--max-pack-size`
1637+
is unaffected. It can be overridden by the `--max-pack-size`
16381638
option of linkgit:git-repack[1]. The minimum size allowed is
16391639
limited to 1 MiB. The default is unlimited.
16401640
Common unit suffixes of 'k', 'm', or 'g' are
@@ -1644,18 +1644,18 @@ pager.<cmd>::
16441644
If the value is boolean, turns on or off pagination of the
16451645
output of a particular git subcommand when writing to a tty.
16461646
Otherwise, turns on pagination for the subcommand using the
1647-
pager specified by the value of `pager.<cmd>`. If `\--paginate`
1648-
or `\--no-pager` is specified on the command line, it takes
1647+
pager specified by the value of `pager.<cmd>`. If `--paginate`
1648+
or `--no-pager` is specified on the command line, it takes
16491649
precedence over this option. To disable pagination for all
16501650
commands, set `core.pager` or `GIT_PAGER` to `cat`.
16511651

16521652
pretty.<name>::
16531653
Alias for a --pretty= format string, as specified in
16541654
linkgit:git-log[1]. Any aliases defined here can be used just
16551655
as the built-in pretty formats could. For example,
1656-
running `git config pretty.changelog "format:{asterisk} %H %s"`
1656+
running `git config pretty.changelog "format:* %H %s"`
16571657
would cause the invocation `git log --pretty=changelog`
1658-
to be equivalent to running `git log "--pretty=format:{asterisk} %H %s"`.
1658+
to be equivalent to running `git log "--pretty=format:* %H %s"`.
16591659
Note that an alias with the same name as a built-in format
16601660
will be silently ignored.
16611661

@@ -1768,7 +1768,7 @@ remote.<name>.push::
17681768

17691769
remote.<name>.mirror::
17701770
If true, pushing to this remote will automatically behave
1771-
as if the `\--mirror` option was given on the command line.
1771+
as if the `--mirror` option was given on the command line.
17721772

17731773
remote.<name>.skipDefaultUpdate::
17741774
If true, this remote will be skipped by default when updating

Documentation/diff-generate-patch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ In the above example output, the function signature was changed
175175
from both files (hence two `-` removals from both file1 and
176176
file2, plus `++` to mean one line that was added does not appear
177177
in either file1 nor file2). Also eight other lines are the same
178-
from file1 but do not appear in file2 (hence prefixed with `{plus}`).
178+
from file1 but do not appear in file2 (hence prefixed with `+`).
179179

180180
When shown by `git diff-tree -c`, it compares the parents of a
181181
merge commit with the merge result (i.e. file1..fileN are the

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ These parameters can also be set individually with `--stat-width=<width>`,
7474
`--stat-name-width=<name-width>` and `--stat-count=<count>`.
7575

7676
--numstat::
77-
Similar to `\--stat`, but shows number of added and
77+
Similar to `--stat`, but shows number of added and
7878
deleted lines in decimal notation and pathname without
7979
abbreviation, to make it more machine friendly. For
8080
binary files, outputs two `-` instead of saying

Documentation/everyday.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ you originally wrote.
9898
<9> switch to the master branch.
9999
<10> merge a topic branch into your master branch.
100100
<11> review commit logs; other forms to limit output can be
101-
combined and include `\--max-count=10` (show 10 commits),
102-
`\--until=2005-12-10`, etc.
101+
combined and include `--max-count=10` (show 10 commits),
102+
`--until=2005-12-10`, etc.
103103
<12> view only the changes that touch what's in `curses/`
104104
directory, since `v2.43` tag.
105105

Documentation/git-archive.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ EXAMPLES
160160

161161
Same as above, but the format is inferred from the output file.
162162

163-
`git archive --format=tar --prefix=git-1.4.0/ v1.4.0{caret}\{tree\} | gzip >git-1.4.0.tar.gz`::
163+
`git archive --format=tar --prefix=git-1.4.0/ v1.4.0^{tree} | gzip >git-1.4.0.tar.gz`::
164164

165165
Create a compressed tarball for v1.4.0 release, but without a
166166
global extended pax header.

Documentation/git-blame.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ introduced the file with:
160160
git log --diff-filter=A --pretty=short -- foo
161161

162162
and then annotate the change between the commit and its
163-
parents, using `commit{caret}!` notation:
163+
parents, using `commit^!` notation:
164164

165165
git blame -C -C -f $commit^! -- foo
166166

Documentation/git-bundle.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ unbundle <file>::
6161
A list of arguments, acceptable to 'git rev-parse' and
6262
'git rev-list' (and containing a named ref, see SPECIFYING REFERENCES
6363
below), that specifies the specific objects and references
64-
to transport. For example, `master{tilde}10..master` causes the
64+
to transport. For example, `master~10..master` causes the
6565
current master reference to be packaged along with all objects
6666
added since its 10th ancestor commit. There is no explicit
6767
limit to the number of references and objects that may be
@@ -80,12 +80,12 @@ SPECIFYING REFERENCES
8080

8181
'git bundle' will only package references that are shown by
8282
'git show-ref': this includes heads, tags, and remote heads. References
83-
such as `master{tilde}1` cannot be packaged, but are perfectly suitable for
83+
such as `master~1` cannot be packaged, but are perfectly suitable for
8484
defining the basis. More than one reference may be packaged, and more
8585
than one basis can be specified. The objects packaged are those not
8686
contained in the union of the given bases. Each basis can be
87-
specified explicitly (e.g. `^master{tilde}10`), or implicitly (e.g.
88-
`master{tilde}10..master`, `--since=10.days.ago master`).
87+
specified explicitly (e.g. `^master~10`), or implicitly (e.g.
88+
`master~10..master`, `--since=10.days.ago master`).
8989

9090
It is very important that the basis used be held by the destination.
9191
It is okay to err on the side of caution, causing the bundle file

Documentation/git-check-ref-format.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ git imposes the following rules on how references are named:
4040

4141
. They cannot have ASCII control characters (i.e. bytes whose
4242
values are lower than \040, or \177 `DEL`), space, tilde `~`,
43-
caret `{caret}`, or colon `:` anywhere.
43+
caret `^`, or colon `:` anywhere.
4444

45-
. They cannot have question-mark `?`, asterisk `{asterisk}`, or open
45+
. They cannot have question-mark `?`, asterisk `*`, or open
4646
bracket `[` anywhere. See the `--refspec-pattern` option below for
4747
an exception to this rule.
4848

@@ -62,10 +62,10 @@ unquoted (by mistake), and also avoids ambiguities in certain
6262
reference name expressions (see linkgit:gitrevisions[7]):
6363

6464
. A double-dot `..` is often used as in `ref1..ref2`, and in some
65-
contexts this notation means `{caret}ref1 ref2` (i.e. not in
65+
contexts this notation means `^ref1 ref2` (i.e. not in
6666
`ref1` and in `ref2`).
6767

68-
. A tilde `~` and caret `{caret}` are used to introduce the postfix
68+
. A tilde `~` and caret `^` are used to introduce the postfix
6969
'nth parent' and 'peel onion' operation.
7070

7171
. A colon `:` is used as in `srcref:dstref` to mean "use srcref\'s
@@ -92,9 +92,9 @@ OPTIONS
9292
--refspec-pattern::
9393
Interpret <refname> as a reference name pattern for a refspec
9494
(as used with remote repositories). If this option is
95-
enabled, <refname> is allowed to contain a single `{asterisk}`
95+
enabled, <refname> is allowed to contain a single `*`
9696
in place of a one full pathname component (e.g.,
97-
`foo/{asterisk}/bar` but not `foo/bar{asterisk}`).
97+
`foo/*/bar` but not `foo/bar*`).
9898

9999
--normalize::
100100
Normalize 'refname' by removing any leading slash (`/`)

Documentation/git-checkout.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ the conflicted merge in the specified paths.
184184
+
185185
This means that you can use `git checkout -p` to selectively discard
186186
edits from your current working tree. See the ``Interactive Mode''
187-
section of linkgit:git-add[1] to learn how to operate the `\--patch` mode.
187+
section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
188188

189189
<branch>::
190190
Branch to checkout; if it refers to a branch (i.e., a name that,
@@ -193,11 +193,11 @@ section of linkgit:git-add[1] to learn how to operate the `\--patch` mode.
193193
commit, your HEAD becomes "detached" and you are no longer on
194194
any branch (see below for details).
195195
+
196-
As a special case, the `"@\{-N\}"` syntax for the N-th last branch
196+
As a special case, the `"@{-N}"` syntax for the N-th last branch
197197
checks out the branch (instead of detaching). You may also specify
198-
`-` which is synonymous with `"@\{-1\}"`.
198+
`-` which is synonymous with `"@{-1}"`.
199199
+
200-
As a further special case, you may use `"A\...B"` as a shortcut for the
200+
As a further special case, you may use `"A...B"` as a shortcut for the
201201
merge base of `A` and `B` if there is exactly one merge base. You can
202202
leave out at most one of `A` and `B`, in which case it defaults to `HEAD`.
203203

0 commit comments

Comments
 (0)