Browse Source
Since commitspull/102/head0979ed017f("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é <philmd@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20201014082209.3712625-1-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
committed by
Paolo Bonzini
1 changed files with 2 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||
*.c.inc diff=c |
|||
*.h.inc diff=c |
|||
Loading…
Reference in new issue