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

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
# SPDX-License-Identifier: GPL-2.0-only
*
!.gitignore
!Makefile
/*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment