improve git diff
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Nov 2016 15:37:58 +0000 (16:37 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Nov 2016 14:25:12 +0000 (15:25 +0100)
commitad20fb4225111e4f5b1df6b905f6b3aa8a482723
tree4463c08d92f0f991bea2f328c0ae7ef1f2f9a224
parent8ccc927962045354d706af4eb48df276101d78d4
improve git diff

Sometimes git does not print the name of the function being changed
after @@. It happens especially after a goto label which is not indented.
Giving a hint about the languages of files .c, .h and .py
will improve hunk headers of "git diff" rendering.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
.gitattributes [new file with mode: 0644]