summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-04-02 14:37:41 +0300
committerDavid Sommerseth <davids@redhat.com>2012-04-26 20:54:26 +0200
commitf99d8fa79d538c42f2ebb54d8bc2a7f891ea09f9 (patch)
tree40bcf1e965bbf5e273562d0f18e6a2116b2e2832 /Makefile.am
parenta2d747bb0397c5837ec2c80ae9a3c3267acbdb2c (diff)
downloadopenvpn-f99d8fa79d538c42f2ebb54d8bc2a7f891ea09f9.tar.gz
openvpn-f99d8fa79d538c42f2ebb54d8bc2a7f891ea09f9.tar.xz
openvpn-f99d8fa79d538c42f2ebb54d8bc2a7f891ea09f9.zip
cleanup: add .gitattributes to control eol style explicitly
Having the text auto detection is a risk, as the detection may detect text files that are not text and vise versa. Having global setting will create confusion and differentiate between users. So this patch also move this to local repository. Having git to check out files differently in different OS is also a not correct, as checkouts may be used in shares or in *NIX emulation environments, so it have no effect. Another issue is packaging, if we change out the tree differently in several OSes, we may have different package content, which is something that should be avoided. Currently any editor of MS supports LF end of lines, so there is no need to convert source files while checking out. The visual studio files should be stored as CRLF as they are generated by visual studio every save, in a way that CRLF are added. I handled only the files that may be touch by MS users. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Fabian Knittel <fabian.knittel@lettink.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 68aa0a8..ab3e3d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,6 +52,7 @@ dist_doc_DATA = \
dist_noinst_DATA = \
.gitignore \
+ .gitattributes \
PORTS \
README.IPv6 TODO.IPv6 \
README.polarssl \