kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26314
[RFC] .gitattributes
Hi All.
I would like a comment on my classification of the .gitattributes added
by the attached patch.
I have been trough every file extension found in the repo, and tried to
clasify them.
I would like to know if there are any special cases among them, other
than *.bat, else I'll resend the edited patch where the text entries
are trimmed down, as the first statemen of the file sets the default
for all unlisted files.
--
Niki Guldbrand <niki.guldbrand@xxxxxxxxx>
From b9fb3f9f4dc4a428d1afae05181c2ce29653433b Mon Sep 17 00:00:00 2001
Message-Id: <b9fb3f9f4dc4a428d1afae05181c2ce29653433b.1474226526.git.niki.guldbrand@xxxxxxxxx>
From: Niki Guldbrand <niki.guldbrand@xxxxxxxxx>
Date: Sun, 18 Sep 2016 20:54:29 +0200
Subject: [PATCH] [Git] Set some file attributes
To: KiCAD Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2.9.3"
This is a multi-part message in MIME format.
--------------2.9.3
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
* Added .gitattributes, with every file extension found in the repo
defined for verification.
Signed-off-by: Niki Guldbrand <niki.guldbrand@xxxxxxxxx>
---
.gitattributes | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 .gitattributes
--------------2.9.3
Content-Type: text/x-patch; name="0001-Git-Set-some-file-attributes.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Git-Set-some-file-attributes.patch"
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..cbce659
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,59 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.awk text
+*.bat text eol=crlf
+*.c text
+*.cc text
+*.cfg text
+*.cir text
+*.cmake text
+*.cmp text
+*.conf text
+*.cpp text
+*.dcm text
+*.desktop text
+*.dxf text
+*.emn text
+*.emp text
+*.fbp text
+*.fnt text
+*.fodt text
+*.frag text
+*.gbr text
+*.h text
+*.hpp text
+*.html text
+*.i text
+*.json text
+*.keywords text
+*.kicad_pcb text
+*.kicad_wks text
+*.lib text
+*.md text
+*.mod text
+*.net text
+*.patch text
+*.plist text
+*.pro text
+*.py text
+*.rc text
+*.sch text
+*.sh text
+*.svg text
+*.txt text
+*.vert text
+*.xml text
+*.xpm text
+*.xsl text
+
+# Denote all files that are truly binary and should not be modified.
+*.bmp binary
+*.icns binary
+*.ico binary
+*.jpg binary
+*.odt binary
+*.pdf binary
+*.png binary
--------------2.9.3--
Follow ups