Skip to contentSkip to conversation

gitignore: Create .gitignore file for xen/

RFC PATCH In review Elliott Mitchell 1 participant 1 message Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

RFC PATCH 6/11 gitignore: Create .gitignore file for xen/

The portion of .gitignore associated with xen/ is fairly large, create a new directory-specific .gitignore file for xen/.

Slashes were left at the start of all filenames. Entries without slashes match files in subdirectories, entries with a slash anywhere are a specific path. I feel it is more consistent to have leading slashes on all full paths.

---
Hmm, looking at this and noticing "include/headers*.chk". I added "/tools/libs/*/headers.chk" for the tools/.gitignore patch. Should this be generalized to add either "headers.chk" or "headers*.chk" to the top-level .gitignore file?

---
 .gitignore     | 39 ---------------------------------------
 xen/.gitignore | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 39 deletions(-)
 create mode 100644 xen/.gitignore
.gitignore +0 -39
index 297cd59c5c..4f95d7b016 100644
@@ -218,47 +218,8 @@ tools/xentrace/xentrace_setsize
 tools/xentrace/tbctl
 tools/xentrace/xenctx
 tools/xentrace/xentrace
-xen/.banner
-xen/.config
-xen/.xen.elf32
-xen/System.map
-xen/arch/x86/asm-macros.i
-xen/arch/x86/boot/mkelf32
-xen/arch/x86/boot/cmdline.S
-xen/arch/x86/boot/reloc.S
-xen/arch/x86/boot/*.lnk
-xen/arch/x86/efi.lds
-xen/arch/x86/efi/check.efi
-xen/arch/x86/efi/mkreloc
-xen/arch/*/xen.lds
-xen/arch/*/asm-offsets.s
-xen/arch/*/efi/boot.c
-xen/arch/*/efi/compat.c
-xen/arch/*/efi/efi.h
-xen/arch/*/efi/runtime.c
-xen/common/config_data.S
-xen/common/config.gz
-xen/include/headers*.chk
-xen/include/asm
-xen/include/asm-*/asm-offsets.h
-xen/include/asm-x86/asm-macros.h
-xen/include/compat/*
-xen/include/config/
-xen/include/generated/
-xen/include/public/public
-xen/include/xen/*.new
-xen/include/xen/acm_policy.h
-xen/include/xen/compile.h
-xen/include/xen/lib/x86/cpuid-autogen.h
-xen/test/livepatch/expect_config.h
-xen/test/livepatch/*.livepatch
-xen/tools/symbols
 tools/flask/policy/policy.conf
 tools/flask/policy/xenpolicy-*
-xen/xen
-xen/xen-syms
-xen/xen-syms.map
-xen/xen.*
 LibVNCServer*
 
 tools/qemu-xen-dir-remote
xen/.gitignore new file +39 -0
new file mode 100644
index 0000000000..2f172a9ff2
@@ -0,0 +1,39 @@
+/.banner
+/.config
+/.xen.elf32
+/System.map
+/arch/x86/asm-macros.i
+/arch/x86/boot/mkelf32
+/arch/x86/boot/cmdline.S
+/arch/x86/boot/reloc.S
+/arch/x86/boot/*.lnk
+/arch/x86/efi.lds
+/arch/x86/efi/check.efi
+/arch/x86/efi/mkreloc
+/arch/*/xen.lds
+/arch/*/asm-offsets.s
+/arch/*/efi/boot.c
+/arch/*/efi/compat.c
+/arch/*/efi/efi.h
+/arch/*/efi/runtime.c
+/common/config_data.S
+/common/config.gz
+/include/headers*.chk
+/include/asm
+/include/asm-*/asm-offsets.h
+/include/asm-x86/asm-macros.h
+/include/compat/
+/include/config/
+/include/generated/
+/include/public/public
+/include/xen/*.new
+/include/xen/acm_policy.h
+/include/xen/compile.h
+/include/xen/lib/x86/cpuid-autogen.h
+/test/livepatch/expect_config.h
+/test/livepatch/*.livepatch
+/tools/symbols
+/xen
+/xen-syms
+/xen-syms.map
+/xen.*
Signature · 5 lines
-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445