[oe] [meta-qt5][PATCH 2/2] .gitattributes: mark *.inc as Bitbake files

Dennis Menschel menschel-d at posteo.de
Sun Apr 15 07:44:34 UTC 2018


As the file extension *.inc is quite ambiguous, Github's linguist [1]
tends to classify such files not as Bitbake include files, but something
entirely different.

This commit overrides the default behavior of linguist to classify these
files correctly.

[1] https://github.com/github/linguist

Signed-off-by: Dennis Menschel <menschel-d at posteo.de>
---
 .gitattributes | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..cb2381c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# linguist overrides
+recipes-*/**/*.inc linguist-language=BitBake
-- 
2.14.1




More information about the Openembedded-devel mailing list