Teach git about localizable *.strings files
[WebKit-https.git] / .gitattributes
index 781227ce5fc5a79c2e90224a6599734a43afc861..56a55c603f0c3be72c488709a537b5da1ac2a5af 100644 (file)
@@ -14,6 +14,10 @@ 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