diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2016-06-28 13:40:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-28 08:36:45 -0700 |
commit | bcf9626a71a0d90be65acc265ad0ec488d95d6ed (patch) | |
tree | 9612c442f9437ba58b7b7baa46ba73282ff790a6 /Documentation/diff-generate-patch.txt | |
parent | 23f8239bbe0a893bd8754a03e9d4fda62804ac14 (diff) | |
download | git-bcf9626a71a0d90be65acc265ad0ec488d95d6ed.tar.gz |
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/diff-generate-patch.txt')
-rw-r--r-- | Documentation/diff-generate-patch.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/diff-generate-patch.txt b/Documentation/diff-generate-patch.txt index 18608f5850..d2a7ff56e8 100644 --- a/Documentation/diff-generate-patch.txt +++ b/Documentation/diff-generate-patch.txt @@ -2,7 +2,7 @@ Generating patches with -p -------------------------- When "git-diff-index", "git-diff-tree", or "git-diff-files" are run -with a `-p` option, "git diff" without the '--raw' option, or +with a `-p` option, "git diff" without the `--raw` option, or "git log" with the "-p" option, they do not produce the output described above; instead they produce a patch file. You can customize the creation of such patches via the @@ -118,7 +118,7 @@ index fabadb8,cc95eb0..4866510 diff --combined file + -or like this (when '--cc' option is used): +or like this (when `--cc` option is used): diff --cc file |