tools/pygrub: add .gitignore file

Add a local .gitignore file for tools/pygrub.

As at least on some systems (e.g. OpenSUSE Leap 15.5) the build will
produce a tools/pygrub/pygrub.egg-info directory, add it to the new
.gitignore file, too.

Use "/dir/" as pattern for ignoring a directory and its contents, as
the "/dir/*" pattern won't ignore the directory itself (git just
doesn't complain when seeing a directory without any not ignored file
in it).

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Juergen Gross authored and Andrew Cooper committed 2023-11-23 17:21:00 +00:00
1 parent 5d4b948169
commit 9b1972dff5
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -213,7 +213,6 @@ tools/misc/xencov
tools/pkg-config/* tools/pkg-config/*
tools/qemu-xen-build tools/qemu-xen-build
tools/xentrace/xenalyze tools/xentrace/xenalyze
tools/pygrub/build/*
tools/python/build/* tools/python/build/*
tools/tests/depriv/depriv-fd-checker tools/tests/depriv/depriv-fd-checker
tools/tests/x86_emulator/*.bin tools/tests/x86_emulator/*.bin
+2
View File
@@ -0,0 +1,2 @@
/build/
/pygrub.egg-info/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.