[PATCH 3/7] winemac.drv: Tell git's diff engine to recognize Objective-C source files.
ken at codeweavers.com
Thu Dec 20 19:02:14 CST 2012
The diff engine already has built-in smarts about how to annotate diffs of
Objective-C source files, but it needs to be told which files to apply those
smarts to. (Otherwise, its default is a pattern appropriate for C syntax.)
For example, it will annotate diff hunks with headers showing the signature
of the method or the @implementation or @interface line preceding the hunk.
@@ -1167,17 +1188,39 @@ - (void)someMethod
See the gitattributes man page for details.
dlls/winemac.drv/.gitattributes | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 dlls/winemac.drv/.gitattributes
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 221 bytes
Desc: not available
More information about the wine-patches