threads / patch / 9467

patch, 2 partsFix an illustration in git-rev-parse.txt

Subject: [PATCH 1/2] Fix an illustration in git-rev-parse.txt

## tl;dr

2 messages between Aug 10, 2007 and Aug 10, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Junio C Hamano· Aug 10, 2007, 07:49 UTC · lore

This hides the backslash at the end of line from AsciiDoc toolchain by introducing a trailing whitespace on one line in an illustration in git-rev-parse.txt.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * Obviously this needs to be applied without --whitespace=strip
 Documentation/git-rev-parse.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/git-rev-parse.txt +1 −1
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index eea9c9c..4b4d229 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -224,7 +224,7 @@ left-to-right.
     G   H   I   J
      \ /     \ /
       D   E   F
-       \  |  / \
+       \  |  / \ 
         \ | /   |
          \|/    |
           B     C
Carlos Rica· Aug 10, 2007, 19:30 UTC · re: Junio C Hamano · lore

Re: [PATCH 1/2] Fix an illustration in git-rev-parse.txt

Could it be also work to have two backslashes to disable the special behaviour of that one? I cannot test it now, but it would be the right way to do it, I think.

2007/8/10, Junio C Hamano <gitster@pobox.com>:
Show 27 quoted lines
> This hides the backslash at the end of line from AsciiDoc
> toolchain by introducing a trailing whitespace on one line in an
> illustration in git-rev-parse.txt.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
>
>  * Obviously this needs to be applied without --whitespace=strip
>
>  Documentation/git-rev-parse.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
> index eea9c9c..4b4d229 100644
> --- a/Documentation/git-rev-parse.txt
> +++ b/Documentation/git-rev-parse.txt
> @@ -224,7 +224,7 @@ left-to-right.
>      G   H   I   J
>       \ /     \ /
>        D   E   F
> -       \  |  / \
> +       \  |  / \
>          \ | /   |
>           \|/    |
>            B     C
>
>

← back to recent threads