Skip to contentSkip to conversation

set-git-diff-driver-for-c-source-code-files.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 10, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: .gitattributes: set git diff driver for C source code files
has been removed from the -mm tree. Its filename was
set-git-diff-driver-for-c-source-code-files.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jean Delvare <[email protected]>
Subject: .gitattributes: set git diff driver for C source code files

Git can be told to apply language-specific rules when generating diffs. Enable this for C source code files (*.c and *.h) so that function names are printed right. Specifically, doing so prevents "git diff" from mistakenly considering unindented goto labels as function names.

---

 .gitattributes |    2 ++
 1 file changed, 2 insertions(+)
.gitattributes new file +2 -0
diff -puN /dev/null .gitattributes
@@ -0,0 +1,2 @@
+*.c   diff=cpp
+*.h   diff=cpp

_

Patches currently in -mm which might be from [email protected] are