-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitattributes
98 lines (77 loc) · 3.34 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Template from: https://github.com/DecimalTurn/VBA-on-GitHub
# Don't perform any line ending conversions by default
# VBA extensions - Prevent LF normalization (bas, cls, frm, vba, doccls)
*.[bB][aA][sS] -text diff
*.[cC][lL][sS] -text diff
*.[fF][rR][mM] -text diff
*.[vV][bB][aA] -text diff
*.[dD][oO][cC][cC][lL][sS] -text diff
# VBA extensions - Mark as binary (frx)
*.[fF][rR][xX] binary
############################################################################
# Other languages in the VB family
############################################################################
# VBS extensions - Prevent LF normalization (vbs)
*.[vV][bB][sS] -text diff
# VB6 extensions - Prevent LF normalization (ctl, dsr, dob, pag, vbg, vbl, vbp, vbr, vbw)
*.[cC][tT][lL] -text diff
*.[dD][sS][rR] -text diff
*.[dD][oO][bB] -text diff
*.[pP][aA][gG] -text diff
*.[vV][bB][gB] -text diff
*.[vV][bB][lL] -text diff
*.[vV][bB][pP] -text diff
*.[vV][bB][rR] -text diff
*.[vV][bB][wW] -text diff
# VB6 extensions - Mark as binary (ctx, dox, pgx)
*.[cC][tT][xX] binary
*.[dD][oO][xX] binary
*.[pP][gG][xX] binary
# twinBASIC sources extensions - Prevent LF normalization (twin, tbform)
*.[tT][wW][iI][nN] -text diff linguist-language=VB6
*.[tT][bB][fF][oO][rR][mM] -text diff linguist-language=JSON
# twinBASIC project extension - Mark as binary (twinproj)
*.[tT][wW][iI][nN][pP][rR][oO][jJ] binary
############################################################################
# Other Windows-specific extensions
############################################################################
# INI file extensions - Prevent LF normalization (ini)
*.[iI][nN][iI] -text diff
# Batch scripts - Prevent LF normalization (cmd, bat)
*.[cC][mM][dD] -text diff
*.[bB][aA][tT] -text diff
############################################################################
# Optional Sections
############################################################################
# Excel documents (xla, xlam, xls, xlsb, xlsm and xlsx)
*.[xX][lL][aA] binary
*.[xX][lL][aA][mM] binary
*.[xX][lL][sS] binary
*.[xX][lL][sS][bB] binary
*.[xX][lL][sS][mM] binary
*.[xX][lL][sS][xX] binary
# Word documents (rtf, doc and docx)
*.[rR][tT][fF] diff=astextplain
*.[dD][oO][cC] diff=astextplain
*.[dD][oO][cC][xX] diff=astextplain
# PowerPoint documents (ppt and pptx)
*.[pP][pP][tT] binary
*.[pP][pP][tT][xX] binary
# Access documents (accdb)
*.[aA][cC][cC][dD][bB] binary
# 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
# Compressed files (zip, cab, 7z, gz)
*.[zZ][iI][pP] binary
*.[cC][aA][bB] binary
*.[7][zZ] binary
*.[gG][zZ] binary
# Executables (exe, dll)
*.[eE][xX][eE] binary
*.[dD][lL][lL] binary
# Other (pdf)
*.[pP][dD][fF] diff=astextplain