[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/4] gitattributes: Cover Objective-C source files
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 1/4] gitattributes: Cover Objective-C source files |
Date: |
Tue, 29 Mar 2022 00:40:09 +0200 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Apple's Git distribution actually carries a similar file which
annotates *.m:
https://github.com/apple-opensource/Git/blob/73/gitattributes
See comments in commit 29cf16db23 ("buildsys: Help git-diff
adding .gitattributes config file") for details.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20220317130326.39188-1-philippe.mathieu.daude@gmail.com>
---
.gitattributes | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitattributes b/.gitattributes
index 07f430e944..a217cb7bfe 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,4 @@
*.c.inc diff=c
*.h.inc diff=c
+*.m diff=objc
*.py diff=python
--
2.35.1
- [PULL 0/4] Darwin patches for 2022-03-29, Philippe Mathieu-Daudé, 2022/03/28
- [PULL 1/4] gitattributes: Cover Objective-C source files,
Philippe Mathieu-Daudé <=
- [PULL 2/4] qemu/main-loop: Disable block backend global state assertion on Cocoa, Philippe Mathieu-Daudé, 2022/03/28
- [PULL 3/4] ui/cocoa: Respect left-command-key option, Philippe Mathieu-Daudé, 2022/03/28
- [PULL 4/4] ui/console: Check console before emitting GL event, Philippe Mathieu-Daudé, 2022/03/28
- Re: [PULL 0/4] Darwin patches for 2022-03-29, Philippe Mathieu-Daudé, 2022/03/29
- Re: [PULL 0/4] Darwin patches for 2022-03-29, Peter Maydell, 2022/03/29