@@ -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
new file mode 100644
@@ -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.*
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. Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com> --- 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