mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
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>
This commit is contained in:
parent
382243f346
commit
5134e94ac4
1 changed files with 1 additions and 3 deletions
4
usr/include/.gitignore
vendored
4
usr/include/.gitignore
vendored
|
@ -1,4 +1,2 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
*
|
||||
!.gitignore
|
||||
!Makefile
|
||||
/*/
|
||||
|
|
Loading…
Add table
Reference in a new issue