summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2016-06-28 11:40:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-28 15:36:45 (GMT)
commitbcf9626a71a0d90be65acc265ad0ec488d95d6ed (patch)
tree9612c442f9437ba58b7b7baa46ba73282ff790a6 /Documentation/git-commit.txt
parent23f8239bbe0a893bd8754a03e9d4fda62804ac14 (diff)
downloadgit-bcf9626a71a0d90be65acc265ad0ec488d95d6ed.zip
git-bcf9626a71a0d90be65acc265ad0ec488d95d6ed.tar.gz
git-bcf9626a71a0d90be65acc265ad0ec488d95d6ed.tar.bz2
doc: typeset long command-line options as literal
Similarly to the previous commit, use backquotes instead of forward-quotes, for long options. This was obtained with: perl -pi -e "s/'(--[a-z][a-z=<>-]*)'/\`\$1\`/g" *.txt and manual tweak to remove false positive in ascii-art (o'--o'--o' to describe rewritten history). Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 2afda81..448f42c 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -260,7 +260,7 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
staged for other paths. This is the default mode of operation of
'git commit' if any paths are given on the command line,
in which case this option can be omitted.
- If this option is specified together with '--amend', then
+ If this option is specified together with `--amend`, then
no paths need to be specified, which can be used to amend
the last commit without committing changes that have
already been staged.