From 3d95af15f6333eccc7f0444530d9da4aff1273d7 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Fri, 27 Mar 2020 15:13:41 +0100 Subject: [PATCH] Update gitattributes so that objc diffs are correctly contextualized. i.e., when showing a diff on _macosx.m, the `@@ ...` header shows the correct current function. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 0db21d3c8659..a0c2c8627af7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto +*.m diff=objc *.ppm binary *.svg binary *.svg linguist-language=true