Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
doc: typeset long options with argument as literal
author
Matthieu Moy
<Matthieu.Moy@imag.fr>
Tue, 28 Jun 2016 11:40:13 +0000
(13:40 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 28 Jun 2016 15:36:45 +0000
(08:36 -0700)
We previously reformatted '--option' to `--option`. This patch reformats
'--option <arg>' to `--option <arg>`. Obtained with:
perl -pi -e "s/'(--[a-z][a-z=<>-]* <[^>]*>)'/\`\$1\`/g" *.txt
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
04b125d
)
diff --git
a/Documentation/git-config.txt
b/Documentation/git-config.txt
index 79905fbdaf3338912c33a567b4de9ec23919157a..f163113a6faafa675d921381447bd83aaa8e1708 100644
(file)
--- a/
Documentation/git-config.txt
+++ b/
Documentation/git-config.txt
@@
-47,12
+47,12
@@
checks or transformations are performed on the value.
When reading, the values are read from the system, global and
repository local configuration files by default, and options
When reading, the values are read from the system, global and
repository local configuration files by default, and options
-`--system`, `--global`, `--local` and
'--file <filename>'
can be
+`--system`, `--global`, `--local` and
`--file <filename>`
can be
used to tell the command to read from only that location (see <<FILES>>).
When writing, the new value is written to the repository local
configuration file by default, and options `--system`, `--global`,
used to tell the command to read from only that location (see <<FILES>>).
When writing, the new value is written to the repository local
configuration file by default, and options `--system`, `--global`,
-
'--file <filename>'
can be used to tell the command to write to
+
`--file <filename>`
can be used to tell the command to write to
that location (you can say `--local` but that is the default).
This command will fail with non-zero status upon error. Some exit
that location (you can say `--local` but that is the default).
This command will fail with non-zero status upon error. Some exit