-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitattributes
31 lines (26 loc) · 1.15 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
# To enable automatic merging of ChangeLog files, use the following command:
# git config merge.changelog.driver "resolve-ChangeLogs --merge-driver %O %A %B"
ChangeLog* merge=changelog
# To enable smart diffing of ObjC[++] files, run the following commands:
# git config diff.objcpp.xfuncname "^[-+@a-zA-Z_].*$"
# git config diff.objcppheader.xfuncname "^[@a-zA-Z_].*$"
*.m diff=objc
*.mm diff=objcpp
mac/*.h diff=objcppheader
*/mac/*.h diff=objcppheader
*/*/mac/*.h diff=objcppheader
objc/*.h diff=objcppheader
*/objc/*.h diff=objcppheader
*/*/objc/*.h diff=objcppheader
# To enable smart diffing of *.strings files, run the following command:
# git config diff.localizablestrings.textconv "iconv -f utf-16 -t utf-8"
*.strings diff=localizablestrings
*.vcproj eol=crlf
*.vsprops eol=crlf
*.sln eol=crlf
# For best performance, place rules for deep paths in the parent directory.
# For example: instead of "Source/WebCore/inspector/Inspector.json -crlf" here,
# place "Inspector.json -crlf" in Source/WebCore/inspector/.gitattributes
# Exclude these git specific files from archives created via git-archive.
.gitignore export-ignore
.gitattributes export-ignore