summaryrefslogtreecommitdiff
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2018-04-17 19:15:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-18 03:49:26 (GMT)
commit9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b (patch)
treeac7c50c585ccb790cc9ed411c89bbedc44189dad /Documentation/git-format-patch.txt
parentfe0a9eaf31dd0c349ae4308498c33a5c3794b293 (diff)
downloadgit-9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b.zip
git-9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b.tar.gz
git-9e9f132f53dfe7dbb2a33aac0917144ccb9e2c9b.tar.bz2
doc: convert \--option to --option
Rather than using a backslash in \--foo, with or without ''-quoting, write `--foo` for better rendering. As explained in commit 1c262bb7b (doc: convert \--option to --option, 2015-05-13), the backslash is not needed for the versions of AsciiDoc that we support, but is rendered literally by Asciidoctor. Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r--Documentation/git-format-patch.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 6cbe462..b41e132 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -47,7 +47,7 @@ There are two ways to specify which commits to operate on.
The first rule takes precedence in the case of a single <commit>. To
apply the second rule, i.e., format everything since the beginning of
-history up until <commit>, use the '\--root' option: `git format-patch
+history up until <commit>, use the `--root` option: `git format-patch
--root <commit>`. If you want to format only <commit> itself, you
can do this with `git format-patch -1 <commit>`.