Merge branch 'bc/asciidoctor-tab-width'
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 May 2018 05:38:25 +0000 (14:38 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 May 2018 05:38:25 +0000 (14:38 +0900)
Asciidoctor gives a reasonable imitation for AsciiDoc, but does not
render illustration in a literal block correctly when indented with
HT by default. The problem is fixed by forcing 8-space tabs.

* bc/asciidoctor-tab-width:
Documentation: render revisions correctly under Asciidoctor
Documentation: use 8-space tabs with Asciidoctor

1  2 
Documentation/Makefile
Documentation/revisions.txt
diff --combined Documentation/Makefile
index fa9e5c0acd762d3623a5b436349b8d87e41aeb32,bcd216d96c6643b92f3db01ce8a5d9b35186e750..d079d7c73aca1fd91ac18045aab46b2446f43a16
@@@ -78,7 -78,6 +78,7 @@@ TECH_DOCS += technical/pack-heuristic
  TECH_DOCS += technical/pack-protocol
  TECH_DOCS += technical/protocol-capabilities
  TECH_DOCS += technical/protocol-common
 +TECH_DOCS += technical/protocol-v2
  TECH_DOCS += technical/racy-git
  TECH_DOCS += technical/send-pack-pipeline
  TECH_DOCS += technical/shallow
@@@ -185,7 -184,7 +185,7 @@@ ASCIIDOC = asciidocto
  ASCIIDOC_CONF =
  ASCIIDOC_HTML = xhtml5
  ASCIIDOC_DOCBOOK = docbook45
- ASCIIDOC_EXTRA += -acompat-mode
+ ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
  ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
  ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
  DBLATEX_COMMON =
index e760416d079170e0ac8b187bbf5a734b2c5eb04d,8f60c9f43109a6f3833bd274c9123d6dc1c80a5b..7d1bd440944149bb8de03a9a202e46c85ec646f2
@@@ -7,10 -7,6 +7,10 @@@ syntax.  Here are various ways to spel
  ones listed near the end of this list name trees and
  blobs contained in a commit.
  
 +NOTE: This document shows the "raw" syntax as seen by git. The shell
 +and other UIs might require additional quoting to protect special
 +characters and to avoid word splitting.
 +
  '<sha1>', e.g. 'dae86e1950b1277e545cee180551750029cfe735', 'dae86e'::
    The full SHA-1 object name (40-byte hexadecimal string), or
    a leading substring that is unique within the repository.
@@@ -190,8 -186,6 +190,8 @@@ existing tag object
    is matched. ':/!-foo' performs a negative match, while ':/!!foo' matches a
    literal '!' character, followed by 'foo'. Any other sequence beginning with
    ':/!' is reserved for now.
 +  Depending on the given text, the shell's word splitting rules might
 +  require additional quoting.
  
  '<rev>:<path>', e.g. 'HEAD:README', ':README', 'master:./README'::
    A suffix ':' followed by a path names the blob or tree
@@@ -351,6 -345,7 +351,7 @@@ Here are a handful of examples using th
  with each step in the notation's expansion and selection carefully
  spelt out:
  
+ ....
     Args   Expanded arguments    Selected commits
     D                            G H D
     D F                          G H I J D F
          = B ^B^1 ^B^2 ^B^3
          = B ^D ^E ^F          B
     F^! D  = F ^I ^J D           G H D F
+ ....