From: Daniel Wagner Date: Fri, 7 Jan 2022 15:49:01 +0000 (+0100) Subject: build: Fix *.wrap exclude pattern in .gitignore X-Git-Tag: v2.0-rc0~11^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ff68f43dbc43c06ca349b593d008693eef9a3ae4;p=users%2Fsagi%2Fnvme-cli.git build: Fix *.wrap exclude pattern in .gitignore The current rules trigger git to to complain with $ git add subprojects/libnvme.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 f1438ee4..62309526 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ version ccan/config.h ccan/tools/configurator/configurator -subprojects +subprojects/* !subprojects/*.wrap cscope.*