mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +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
4
usr/include/.gitignore
vendored
4
usr/include/.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
*
|
||||
!.gitignore
|
||||
!Makefile
|
||||
/*/
|
||||
|
Loading…
Reference in New Issue
Block a user