summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-12-22 12:16:41 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-12-22 12:21:50 +0400
commit03054129a6626825fadf90e165ef07dedcd29aba (patch)
treebc17f5467290522eca523c7763e84af04992062c /.gitattributes
parentcf54e5f894d88c6536bde2dbb8df7f1c8208f037 (diff)
downloadbdwgc-03054129a6626825fadf90e165ef07dedcd29aba.tar.gz
Add .gitattributes to ensure normalized text line encodings in repo
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..4f3ff11b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,11 @@
+# Git repo attributes.
+
+# Ensure all text files have normalized (LF) line endings in the repository.
+* text=auto
+
+# These files should use CR/LF line ending:
+/BCC_MAKEFILE -text
+/digimars.mak -text
+
+# Note: "core.eol" configuration variable controls which line endings to use
+# for the normalized files in the working directory (the default is native).