From: Dirk Wallenstein <halsmit@t-online.de>
To: git@vger.kernel.org
Cc: junio@vger.kernel.org, Thomas Ackermann <th.acker@arcor.de>
Subject: [PATCH 1/2] howto: Suppress indentation with tabs
Date: Wed, 31 Jul 2013 18:54:17 +0200 [thread overview]
Message-ID: <20130731165417.GB11219@bottich> (raw)
In-Reply-To: <cover.1375288760.git.halsmit@t-online.de>
The AsciiDoc files in the 'howto' folder are installed as documentation
and AsciiDoc files are meant to be read and printed as is. To quote the
AsciiDoc Home Page:
AsciiDoc files are designed to be viewed, edited and printed
directly or translated to other presentation formats using the
asciidoc(1) command.
Tabs have the property of a configurable width and can thereby skew the
layout of a page and distort the meaning. This is particularly a
problem when mixing lines with different indentation (space vs tab) in
code examples and ASCII art.
Prevent such a mix-up by prohibiting tab indentation entirely.
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
---
Documentation/howto/.gitattributes | 1 +
1 file changed, 1 insertion(+)
create mode 100644 Documentation/howto/.gitattributes
diff --git a/Documentation/howto/.gitattributes b/Documentation/howto/.gitattributes
new file mode 100644
index 0000000..fecc113
--- /dev/null
+++ b/Documentation/howto/.gitattributes
@@ -0,0 +1 @@
+* whitespace=tab
--
1.8.3.3.2.g85103ba
next prev parent reply other threads:[~2013-07-31 16:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 16:46 [PATCH] howto: Use all-space indentation in ASCII art Dirk Wallenstein
2013-07-15 22:00 ` Junio C Hamano
2013-07-16 8:24 ` Dirk Wallenstein
2013-07-16 17:13 ` Junio C Hamano
2013-07-16 18:01 ` Dirk Wallenstein
2013-07-31 16:54 ` [PATCH 0/2] Remove tabs from howto documents Dirk Wallenstein
2013-07-31 17:01 ` Fredrik Gustafsson
[not found] ` <cover.1375288760.git.halsmit@t-online.de>
2013-07-31 16:54 ` Dirk Wallenstein [this message]
[not found] ` <4d37bfa3326469ab5b7cdbf0018f7aa671c2d74a.1375288760.git.halsmit@t-online.de>
2013-07-31 16:54 ` [PATCH 2/2] howto: Eliminate all tabs Dirk Wallenstein
2013-07-31 17:03 ` Junio C Hamano
2013-07-31 17:34 ` Dirk Wallenstein
2013-08-03 20:20 ` Piotr Krukowiecki
[not found] ` <CAA01CsqW1FWm8ExK7hypHp1_Jm0-kc1REQeuPYjbzU=aUQ+L9g@mail.gmail.com>
2013-08-05 15:32 ` Junio C Hamano
2013-07-16 18:26 ` [PATCH] howto: Use all-space indentation in ASCII art Jonathan Nieder
2013-07-16 18:38 ` Dirk Wallenstein
2013-07-16 18:42 ` A Large Angry SCM
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130731165417.GB11219@bottich \
--to=halsmit@t-online.de \
--cc=git@vger.kernel.org \
--cc=junio@vger.kernel.org \
--cc=th.acker@arcor.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.