forked from mono/monodevelop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
46 lines (38 loc) · 1.37 KB
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# NOTE: this file is for git 1.6.6 (and possibly older)
# Post-1.7.2 there is eol and text, and crlf is deprecated
# but we can't depend on an unreleased version...
# This file mainly controls line ending conversion behaviour, if
# the user has the setting core.autocrlf true.
# The meaning of the attributes is a little odd
# -crlf means DO NOT convert line endings
# crlf means CONVERT to lf in the repo & Linux/Mac, crlf on Windows
# First, turn off git line ending handling except on a case-by-case basis
# because our repo isn't normalized, in general.
# There are even files with mixed line endings.
* -crlf
# sln is always CRLF, even on linux, so don't convert
*.sln -crlf
# configure and makefiles should be lf only
configure
configure.in
configure.ac
configure.sh
Makefile
Makefile.am
Makefile.include
# These files can be converted, since they're new
.gitattributes crlf
.gitignore crlf
# Having proj files as crlf on windows will make VS happier
# MD can deal with (and preserve) either, so it doesn't matter.
# Unfortunately MD creates with LF, so we need to convert these.
*proj crlf
# All Stetic's files are always generated as LF, so explicitly ignore those.
# Sadly, git has useless path globs
*/*/gtk-gui/* -crlf
*/*/*/gtk-gui/* -crlf
*/*/*/*/gtk-gui/* -crlf
*/*/*/*/*/gtk-gui/* -crlf
*/*/*/*/*/*/gtk-gui/* -crlf
*/*/*/*/*/*/*/gtk-gui/* -crlf
*/*/*/*/*/*/*/*/gtk-gui/* -crlf