summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJean Delvare2016-10-08 02:03:04 +0200
committerLinus Torvalds2016-10-08 03:46:30 +0200
commit218dd85887da3d7d08119de18e9d325fcf30d7a4 (patch)
tree0753355904c0b5a1a174e5c43b2680e105bf9afb /net
parentuprobes: remove function declarations from arch/{mips,s390} (diff)
downloadkernel-qcow2-linux-218dd85887da3d7d08119de18e9d325fcf30d7a4.tar.gz
kernel-qcow2-linux-218dd85887da3d7d08119de18e9d325fcf30d7a4.tar.xz
kernel-qcow2-linux-218dd85887da3d7d08119de18e9d325fcf30d7a4.zip
.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. Link: http://lkml.kernel.org/r/20160907143403.1449324f@endymion Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Joe Perches <joe@perches.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions