]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
build: Fix *.wrap exclude pattern in .gitignore
authorDaniel Wagner <dwagner@suse.de>
Fri, 7 Jan 2022 15:49:01 +0000 (16:49 +0100)
committerDaniel Wagner <dwagner@suse.de>
Fri, 7 Jan 2022 15:52:37 +0000 (16:52 +0100)
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 <dwagner@suse.de>
.gitignore

index f1438ee4ab6ef4e12720a2e49a062cabc64192a4..62309526e72d75ae13150dcd0a721c8bfcbe0b35 100644 (file)
@@ -12,7 +12,7 @@ version
 ccan/config.h
 ccan/tools/configurator/configurator
 
-subprojects
+subprojects/*
 !subprojects/*.wrap
 
 cscope.*