Commit 5134e94a authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 382243f3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
*
!.gitignore
!Makefile
/*/