-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
59 lines (42 loc) · 1.54 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
47
48
49
50
51
52
53
54
55
56
57
58
# modified from https://github.com/DecimalTurn/VBA-on-GitHub/tree/main
# By default, auto detect text files and perform LF normalization
* text=auto eol=lf
# VBA code (bas, cls, frm) - Prevent LF normalization
*.[bB][aA][sS] -text diff linguist-language=VBA
*.[cC][lL][sS] -text diff linguist-language=VBA
*.[fF][rR][mM] -text diff linguist-language=VBA
# VBA form (frx) - Mark as binary
*.[fF][rR][xX] binary
# VBS - Prevent LF normalization
*.[vV][bB][sS] -text diff linguist-language=VBScript
# twinBASIC code (twin) - Prevent LF normalization
*.[tT][wW][iI][nN] -text diff linguist-language=VBA
# twinBASIC form (tbform) - Prevent LF normalization
*.[tT][bB][fF][oO][rR][mM] -text diff linguist-language=JSON
# twinBASIC Resources (json, xml) - Prevent LF normalization
*.[jJ][sS][oO][nN] -text diff
*.[xX][mM][lL] -text diff
# twinBASIC Project (twinproject) - Mark as binary
*.[tT][wW][iI][nN][pP][rR][oO][jJ] binary
# Inno Setup (iss) - Prevent LF normalization
*.[iI][sS][sS] -text diff
# Ini file - Prevent LF normalization
*.[iI][nN][iI] -text diff
# Excel documents (xlam, xlsm)
*.[xX][lL][aA][mM] binary
*.[xX][lL][sS][mM] binary
# Access documents (accdb)
*.[aA][cC][cC][dD][bB] binary
# Word documents (rtf)
*.[rR][tT][fF] diff=astextplain
# Images (jpg, png, bmp, gif, ico)
*.[jJ][pP][gG] binary
*.[pP][nN][gG] binary
*.[bB][mM][pP] binary
*.[gG][iI][fF] binary
*.[iI][cC][oO] binary
# Executables (exe, dll)
*.[eE][xX][eE] binary
*.[dD][lL][lL] binary
# Other (pdf)
*.[pP][dD][fF] diff=astextplain