diff mbox series

[XEN] .gitignore: Only ignore hidden dependency files

Message ID 20230131154235.19845-1-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show
Series [XEN] .gitignore: Only ignore hidden dependency files | expand

Commit Message

Anthony PERARD Jan. 31, 2023, 3:42 p.m. UTC
The current pattern also ignores directories suffixed with ".d", like:
    tools/hotplug/*/rc.d
    tools/hotplug/*/init.d

Avoid this by only ignoring "hidden" files, for which name starts with
a dot.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 .gitignore | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jan Beulich Jan. 31, 2023, 4:51 p.m. UTC | #1
On 31.01.2023 16:42, Anthony PERARD wrote:
> The current pattern also ignores directories suffixed with ".d", like:
>     tools/hotplug/*/rc.d
>     tools/hotplug/*/init.d
> 
> Avoid this by only ignoring "hidden" files, for which name starts with
> a dot.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Acked-by: Jan Beulich <jbeulich@suse.com>
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 880ba88c55..5b30d8fc36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,12 @@ 
 .hg
 .*.cmd
+.*.d
+.*.d2
 .*.tmp
 *.orig
 *~
 *.swp
 *.o
-*.d
-*.d2
 *.cppcheck.txt
 *.cppcheck.xml
 *.opic