[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] tools/pygrub: add .gitignore file



commit 9b1972dff546a8d8a5e9ed1bd8a047021a4c4169
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Wed Nov 22 14:02:19 2023 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Nov 23 17:21:00 2023 +0000

    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@xxxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 .gitignore              | 1 -
 tools/pygrub/.gitignore | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 2cea994934..3009545af2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -213,7 +213,6 @@ tools/misc/xencov
 tools/pkg-config/*
 tools/qemu-xen-build
 tools/xentrace/xenalyze
-tools/pygrub/build/*
 tools/python/build/*
 tools/tests/depriv/depriv-fd-checker
 tools/tests/x86_emulator/*.bin
diff --git a/tools/pygrub/.gitignore b/tools/pygrub/.gitignore
new file mode 100644
index 0000000000..4fdf23ed8e
--- /dev/null
+++ b/tools/pygrub/.gitignore
@@ -0,0 +1,2 @@
+/build/
+/pygrub.egg-info/
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.