summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-06-08 04:35:38 +0200
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-06-08 04:35:38 +0200
commite2eafd985b7618164e485b5ed537f3cf59a1ae27 (patch)
treee2968bfec238dbbbd71fb9f9b407b93e96d4fcfd
parentc3a6d54e78f4d019010b061a497ac5a0292c3a66 (diff)
downloadselinux-e2eafd985b7618164e485b5ed537f3cf59a1ae27.tar.gz
selinux-e2eafd985b7618164e485b5ed537f3cf59a1ae27.tar.xz
Use one top-level .gitignore, use .gitattributes to ignore whitespace errors on *.diff, *.patch
-rw-r--r--.gitattributes3
-rw-r--r--.gitignore4
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..fa542ba
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+# Disable checks for trailing whitespace for patches, they always trigger warnings
+*.diff whitespace=-trailing-space
+*.patch whitespace=-trailing-space
diff --git a/.gitignore b/.gitignore
index b48acc1..798ecd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,7 @@
.*swp
#*#
.project
+
+/.cache
+/metadata/cache
+