From 3aafc55e90a256fec535e66ef52b0fde55514dc6 Mon Sep 17 00:00:00 2001 From: Younes Manton Date: Wed, 24 Aug 2022 20:07:25 -0700 Subject: [PATCH] gitignore: Ignore top-evel build dir only The entry "build/" will ignore any directory named "build" at any level of the source tree, including our scripts/build directory. We only want to ignore the top-level build directory created by `make install`. As the git manpage suggests, entries with slashes at the start or in the middle will only match at the same level as the .gitignore, hence use build/** instead. Signed-off-by: Younes Manton --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d5135f5f8..23894d631 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,4 @@ lib/.crit-setup.files compel/include/asm include/common/asm include/common/config.h -build/ +build/**