summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 9b909c85c74963c1f19de150708e22d477031099 (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Git attributes for special files
#
# files not mentioned here are either text files
# or their types are "guessed" properly by Git
#
# todo (migration from svn to git):
#
# - do we need to define Git attributes for source and text files?
# - if yes, how to migrate "svn:eol-style native" to Git?
# - which attributes do we need for fluid (.fl) files?
# - what about "svn:keywords id" (+ author date revision)?
#

# files that will not be exported in source tarballs

makesrcdist     export-ignore   eol=lf
.gitattributes  export-ignore
.gitignore      export-ignore
.gitlab-ci.yml  export-ignore
.travis.yml     export-ignore

# fluid files (eol=lf or text?)

*.fl            eol=lf

# shell scripts etc. with Unix line endings (lf)

*.ac            eol=lf
*.in            eol=lf
*.desktop       eol=lf
*.sh            eol=lf

fltk-config.in  eol=lf

documentation/make_pdf          eol=lf
misc/config.guess               eol=lf
misc/config.sub                 eol=lf
misc/update_config_scripts      eol=lf

# files with Windows line endings (crlf)

*.rc            eol=crlf
*.bat           eol=crlf

# Android Studio special support file (Windows .bat file)
ide/AndroidStudio3/gradlew.rename_to_bat eol=crlf

# binary files

*.ico           binary
*.icns          binary
*.jar           binary
*.png           binary
*.jpg           binary
*.ttf           binary
*.xcf           binary
*.xcf_gz        binary

# image files that consist of ASCII text

# *.xbm         text
# *.xpm         text