summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2012-11-14 11:46:17 +0000
committerTorne (Richard Coles) <torne@google.com>2012-11-14 11:46:17 +0000
commit5c87bf8b86a7c82ef50fb7a89697d8e02e2553be (patch)
tree429efe277d39e3cf83d48bfc04c790edfe424f5a /.gitattributes
parent9b1cdeb8bec7cd3400fa4f117dd0a133149f6266 (diff)
downloadWebKit-5c87bf8b86a7c82ef50fb7a89697d8e02e2553be.tar.gz
Merge from Chromium at DEPS revision r167172
This commit was generated by merge_to_master.py. Change-Id: Iead6b4948cd90f0aac77a0e5e2b6c1749577569b
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes31
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..741c4d53b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,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