]> git.baikalelectronics.ru Git - kernel.git/commit
usr/include: refactor .gitignore
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 19:47:19 +0000 (04:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 May 2021 15:43:34 +0000 (00:43 +0900)
commite0cb8631f61b99aa37249271a12eca1ff2793756
tree222c73333785cf03cda07fc51101add504d30913
parentfbfa80e8b3e259636e8ca7d1c550c076d2652f46
usr/include: refactor .gitignore

The current .gitignore intends to ignore everything under usr/include/
except .gitignore and Makefile.

A cleaner solution is to use a pattern suffixed with '/', which matches
only directories. It works well here because all the exported headers
are located in sub-directories, like <linux/*.h>, <asm/*.h>.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
usr/include/.gitignore