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

index 304d2a60adcefa680d2cefbcfce563f4df110f0b..2fafa121128b5d03bf6e33c767e2fc541fb56794 100644 (file)
@@ -29,5 +29,5 @@ cscope.*
 
 .build
 
-subprojects
+subprojects/*
 !subprojects/*.wrap