mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-02 06:32:54 -10:00
buildsys: Help git-diff adding .gitattributes config file
Since commits0979ed017f("meson: rename .inc.h files to .h.inc") and139c1837db("meson: rename included C source files to .c.inc") 'git-diff --function-context' stopped displaying C function context correctly. We can help git-diff by providing attributes to the .[ch].inc path names. See: https://git-scm.com/docs/gitattributes#_generating_diff_text Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
This commit is contained in:
1 parent
c6a89b45bd
commit
29cf16db23
1 file changed
+2
@@ -0,0 +1,2 @@
|
||||
*.c.inc diff=c
|
||||
*.h.inc diff=c
|
||||
Reference in new issue
Block a user