about summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-05-03 19:25:04 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-05-03 20:01:42 -0400
commit86efd97a10fda1f81f5bead0de36e3343a9faa0e (patch)
treef41cc124a23b659f8724524034af931ca84fd2fe /.gitattributes
parentbfd3cd8171bee519093f570264e5a2b1dc17e9d8 (diff)
downloadrust-86efd97a10fda1f81f5bead0de36e3343a9faa0e.tar.gz
rust-86efd97a10fda1f81f5bead0de36e3343a9faa0e.zip
add gitattributes and fix whitespace issues
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..52370e4a509
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,9 @@
+[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
+
+* text=auto
+*.cpp rust
+*.h rust
+*.rs rust
+src/rt/msvc/* -whitespace
+src/rt/vg/* -whitespace
+src/rt/linenoise/* -whitespace