Changeset 55851 in webkit


Ignore:
Timestamp:
Mar 11, 2010 12:01:32 PM (14 years ago)
Author:
Adam Roben
Message:

Teach git about ObjC files

Fixes <http://webkit.org/b/36015>.

Reviewed by Tim Hatcher.

  • .gitattributes: Set the diff attribute for .m and .mm files, and .h

files in Mac-specific directories. This can be used to generate
more-readable diffs of ObjC files.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitattributes

    r54960 r55851  
    22# git config merge.changelog.driver "resolve-ChangeLogs --merge-driver %O %A %B"
    33ChangeLog* merge=changelog
     4
     5# To enable smart diffing of ObjC[++] files, run the following commands:
     6# git config diff.objcpp.xfuncname "^[-+@a-zA-Z_].*$"
     7# git config diff.objcppheader.xfuncname "^[@a-zA-Z_].*$"
     8*.m diff=objc
     9*.mm diff=objcpp
     10mac/*.h diff=objcppheader
     11*/mac/*.h diff=objcppheader
     12*/*/mac/*.h diff=objcppheader
     13objc/*.h diff=objcppheader
     14*/objc/*.h diff=objcppheader
     15*/*/objc/*.h diff=objcppheader
     16WebKitTools/WebKitLauncher/*.h diff=objcppheader
    417
    518JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore.sln -crlf
  • trunk/ChangeLog

    r55743 r55851  
     12010-03-11  Adam Roben  <aroben@apple.com>
     2
     3        Teach git about ObjC files
     4
     5        Fixes <http://webkit.org/b/36015>.
     6
     7        Reviewed by Tim Hatcher.
     8
     9        * .gitattributes: Set the diff attribute for .m and .mm files, and .h
     10        files in Mac-specific directories. This can be used to generate
     11        more-readable diffs of ObjC files.
     12
    1132010-03-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    214
Note: See TracChangeset for help on using the changeset viewer.