From: Daniel Wagner Date: Fri, 7 Jan 2022 15:53:50 +0000 (+0100) Subject: build: Fix *.wrap exclude pattern in .gitignore X-Git-Tag: v1.0-rc0~9 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c1526aea5ca50a66e11362fe1b450f6ab844dba8;p=users%2Fsagi%2Flibnvme.git build: Fix *.wrap exclude pattern in .gitignore The current rules trigger git to to complain with $ git add subprojects/openssl.wrap The following paths are ignored by one of your .gitignore files: subprojects We need to keep the parent directory in the tracking domain and just filter out all sub directories and files except the wrap files. Signed-off-by: Daniel Wagner --- diff --git a/.gitignore b/.gitignore index 304d2a60..2fafa121 100644 --- a/.gitignore +++ b/.gitignore @@ -29,5 +29,5 @@ cscope.* .build -subprojects +subprojects/* !subprojects/*.wrap