On Dienstag, 21. Februar 2017 10:06:40 CET Sven Eckelmann wrote:
From: Jean Delvare jdelvare@suse.de
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.
Signed-off-by: Jean Delvare jdelvare@suse.de [sven@narfation.org: Ported patch from linux.git] Signed-off-by: Sven Eckelmann sven@narfation.org
Applied in e3bab02816097f860545d9ce9ae0808c69d7c92f [1].
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/e3bab02816097f860545d9ce9ae0...