Update .gitattributes.

This commit is contained in:
Markus F.X.J. Oberhumer
2023-07-25 12:18:33 +02:00
parent f81f7194ed
commit 641b116f04
5 changed files with 28 additions and 13 deletions
+21 -7
View File
@@ -1,10 +1,24 @@
# make GitHub language detection more accurate, see https://github.com/github/linguist
# see https://github.com/github-linguist/linguist
#
# HINT: check settings with
# git ls-files | git check-attr --stdin --all
src/*.h linguist-language=C++
src/*/*.h linguist-language=C++
# tell GitHub and other diff-tools that these files are automatically generated
src/stub/**/*.ash linguist-language=Assembly
src/stub/**/*.asm linguist-language=Assembly
src/stub/**/*.S linguist-language=Assembly
doc/upx.1 linguist-generated
doc/upx-doc.* linguist-generated
src/stub/tmp/** linguist-vendored
src/stub/*.h linguist-generated
src/stub/src/arch/**/lzma_d_c[fns].S linguist-generated
src/stub/tmp/** linguist-generated
# make GitHub language detection more accurate
src/*.h linguist-language=C++
src/*/*.h linguist-language=C++
src/stub/**/*.ash linguist-language=Assembly
src/stub/**/*.asm linguist-language=Assembly
src/stub/**/*.S linguist-language=Assembly
src/stub/tmp/** linguist-vendored