From: Jonathan Nieder <jrnieder@uchicago.edu>
Date: Thu, 3 Jul 2008 04:47:05 +0000 (-0500)
Subject: git-format-patch(1): fix stray \ in output
X-Git-Tag: v1.6.0-rc0~152
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c67c757191b34760bf5f6c1d1426ce1bb01ef08;p=git

git-format-patch(1): fix stray \ in output

In listing blocks (set off by rows of dashes), the usual
formatting characters of asciidoc are instead rendered verbatim.
When the escaped double-hyphen of olden days is moved into such a
block along with other formatting improvements, it becomes
backslash-dash-dash.

So we remove the backslash.

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---

diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 894b82d6be..3c9192a6cf 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -206,7 +206,7 @@ For each commit a separate file is created in the current directory.
 project:
 +
 ------------
-$ git format-patch \--root origin
+$ git format-patch --root origin
 ------------
 
 * The same as the previous one: