Blame SOURCES/0007-re-write-.gitignore.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Peter Jones <pjones@redhat.com>
8631a2
Date: Tue, 8 Aug 2017 12:48:04 -0400
8631a2
Subject: [PATCH] re-write .gitignore
8631a2
8631a2
---
8631a2
 .gitignore                        | 357 +++++++++++++-------------------------
8631a2
 build-aux/.gitignore              |   9 +
8631a2
 docs/.gitignore                   |   4 +
8631a2
 grub-core/.gitignore              |  15 ++
8631a2
 grub-core/gnulib/.gitignore       |  22 +++
8631a2
 grub-core/lib/.gitignore          |   1 +
8631a2
 include/grub/gcrypt/.gitignore    |   2 +
8631a2
 po/.gitignore                     |   4 +
8631a2
 util/bash-completion.d/.gitignore |   1 +
8631a2
 9 files changed, 175 insertions(+), 240 deletions(-)
8631a2
 create mode 100644 build-aux/.gitignore
8631a2
 create mode 100644 docs/.gitignore
8631a2
 create mode 100644 grub-core/.gitignore
8631a2
 create mode 100644 grub-core/gnulib/.gitignore
8631a2
 create mode 100644 grub-core/lib/.gitignore
8631a2
 create mode 100644 include/grub/gcrypt/.gitignore
8631a2
 create mode 100644 po/.gitignore
8631a2
 create mode 100644 util/bash-completion.d/.gitignore
8631a2
8631a2
diff --git a/.gitignore b/.gitignore
030dc3
index eca17bec9b8..43f04d47277 100644
8631a2
--- a/.gitignore
8631a2
+++ b/.gitignore
8631a2
@@ -1,249 +1,126 @@
8631a2
-00_header
8631a2
-10_*
8631a2
-20_linux_xen
8631a2
-30_os-prober
8631a2
-40_custom
8631a2
-41_custom
8631a2
-*.1
8631a2
-*.8
8631a2
-aclocal.m4
8631a2
-ahci_test
8631a2
-ascii.bitmaps
8631a2
-ascii.h
8631a2
-autom4te.cache
8631a2
-build-grub-gen-asciih
8631a2
-build-grub-gen-widthspec
8631a2
-build-grub-mkfont
8631a2
-cdboot_test
8631a2
-cmp_test
8631a2
-config.cache
8631a2
-config.guess
8631a2
-config.h
8631a2
-config-util.h
8631a2
-config-util.h.in
8631a2
-config.log
8631a2
-config.status
8631a2
-config.sub
8631a2
-configure
8631a2
-core_compress_test
8631a2
-DISTLIST
8631a2
-docs/*.info
8631a2
-docs/stamp-vti
8631a2
-docs/version.texi
8631a2
-ehci_test
8631a2
-example_grub_script_test
8631a2
-example_scripted_test
8631a2
-example_unit_test
8631a2
+# things ./autogen.sh will create
8631a2
+/Makefile.utilgcry.def
8631a2
+/aclocal.m4
8631a2
+/autom4te.cache
8631a2
+/configure
8631a2
+Makefile
8631a2
+# we want to enable building in a subdirectory, but we don't want to exclude
8631a2
+# /build-aux so explicitly don't ignore it.
8631a2
+/build*/
8631a2
+!/build-aux/
8631a2
+
8631a2
+# things very common editors create that we never want
8631a2
+*~
8631a2
+.*.sw?
8631a2
+*.patch
8631a2
+
8631a2
+# built objects across the whole tree
8631a2
+Makefile.in
8631a2
+*.a
8631a2
+*.am
8631a2
 *.exec
8631a2
-*.exec.exe
8631a2
-fddboot_test
8631a2
-genkernsyms.sh
8631a2
-gensymlist.sh
8631a2
-gentrigtables
8631a2
-gentrigtables.exe
8631a2
-gettext_strings_test
8631a2
-grub-bin2h
8631a2
-/grub-bios-setup
8631a2
-/grub-bios-setup.exe
8631a2
-grub_cmd_date
8631a2
-grub_cmd_echo
8631a2
-grub_cmd_regexp
8631a2
-grub_cmd_set_date
8631a2
-grub_cmd_sleep
8631a2
-/grub-editenv
8631a2
-/grub-editenv.exe
8631a2
-grub-emu
8631a2
-grub-emu-lite
8631a2
-grub-emu.exe
8631a2
-grub-emu-lite.exe
8631a2
-grub_emu_init.c
8631a2
-grub_emu_init.h
8631a2
-/grub-file
8631a2
-/grub-file.exe
8631a2
-grub-fstest
8631a2
-grub-fstest.exe
8631a2
-grub_fstest_init.c
8631a2
-grub_fstest_init.h
8631a2
-grub_func_test
8631a2
-grub-install
8631a2
-grub-install.exe
8631a2
-grub-kbdcomp
8631a2
-/grub-macbless
8631a2
-/grub-macbless.exe
8631a2
-grub-macho2img
8631a2
-/grub-menulst2cfg
8631a2
-/grub-menulst2cfg.exe
8631a2
-/grub-mk*
8631a2
-grub-mount
8631a2
-/grub-ofpathname
8631a2
-/grub-ofpathname.exe
8631a2
-grub-core/build-grub-pe2elf.exe
8631a2
-/grub-probe
8631a2
-/grub-probe.exe
8631a2
-grub_probe_init.c
8631a2
-grub_probe_init.h
8631a2
-/grub-reboot
8631a2
-grub_script_blanklines
8631a2
-grub_script_blockarg
8631a2
-grub_script_break
8631a2
-grub-script-check
8631a2
-grub-script-check.exe
8631a2
-grub_script_check_init.c
8631a2
-grub_script_check_init.h
8631a2
-grub_script_comments
8631a2
-grub_script_continue
8631a2
-grub_script_dollar
8631a2
-grub_script_echo1
8631a2
-grub_script_echo_keywords
8631a2
-grub_script_escape_comma
8631a2
-grub_script_eval
8631a2
-grub_script_expansion
8631a2
-grub_script_final_semicolon
8631a2
-grub_script_for1
8631a2
-grub_script_functions
8631a2
-grub_script_gettext
8631a2
-grub_script_if
8631a2
-grub_script_leading_whitespace
8631a2
-grub_script_no_commands
8631a2
-grub_script_not
8631a2
-grub_script_return
8631a2
-grub_script_setparams
8631a2
-grub_script_shift
8631a2
-grub_script_strcmp
8631a2
-grub_script_test
8631a2
-grub_script_vars1
8631a2
-grub_script_while1
8631a2
-grub_script.tab.c
8631a2
-grub_script.tab.h
8631a2
-grub_script.yy.c
8631a2
-grub_script.yy.h
8631a2
-grub-set-default
8631a2
-grub_setup_init.c
8631a2
-grub_setup_init.h
8631a2
-grub-shell
8631a2
-grub-shell-tester
8631a2
-grub-sparc64-setup
8631a2
-grub-sparc64-setup.exe
8631a2
-/grub-syslinux2cfg
8631a2
-/grub-syslinux2cfg.exe
8631a2
-gzcompress_test
8631a2
-hddboot_test
8631a2
-help_test
8631a2
-*.img
8631a2
 *.image
8631a2
-*.image.exe
8631a2
-include/grub/cpu
8631a2
-include/grub/machine
8631a2
-install-sh
8631a2
-lib/libgcrypt-grub
8631a2
-libgrub_a_init.c
8631a2
-*.log
8631a2
+*.img
8631a2
+*.info
8631a2
 *.lst
8631a2
-lzocompress_test
8631a2
 *.marker
8631a2
-Makefile
8631a2
 *.mod
8631a2
-mod-*.c
8631a2
-missing
8631a2
-netboot_test
8631a2
+*.module
8631a2
 *.o
8631a2
-*.a
8631a2
-ohci_test
8631a2
-partmap_test
8631a2
-pata_test
8631a2
 *.pf2
8631a2
-*.pp
8631a2
-po/*.mo
8631a2
-po/grub.pot
8631a2
-po/POTFILES
8631a2
-po/stamp-po
8631a2
-printf_test
8631a2
-priority_queue_unit_test
8631a2
-pseries_test
8631a2
-stamp-h
8631a2
-stamp-h1
8631a2
-stamp-h.in
8631a2
-symlist.c
8631a2
-symlist.h
8631a2
-trigtables.c
8631a2
-*.trs
8631a2
-uhci_test
8631a2
-update-grub_lib
8631a2
-unidata.c
8631a2
-xzcompress_test
8631a2
-Makefile.in
8631a2
-GPATH
8631a2
-GRTAGS
8631a2
-GSYMS
8631a2
-GTAGS
8631a2
-compile
8631a2
-depcomp
8631a2
-mdate-sh
8631a2
-texinfo.tex
8631a2
-grub-core/lib/libgcrypt-grub
8631a2
-.deps
8631a2
-.deps-util
8631a2
-.deps-core
8631a2
+*.yy.[ch]
8631a2
+.deps/
8631a2
+.deps-core/
8631a2
+.deps-util/
8631a2
 .dirstamp
8631a2
-Makefile.util.am
8631a2
-contrib
8631a2
-grub-core/bootinfo.txt
8631a2
-grub-core/Makefile.core.am
8631a2
-grub-core/Makefile.gcry.def
8631a2
-grub-core/contrib
8631a2
-grub-core/gdb_grub
8631a2
-grub-core/genmod.sh
8631a2
-grub-core/gensyminfo.sh
8631a2
-grub-core/gmodule.pl
8631a2
-grub-core/grub.chrp
8631a2
-grub-core/modinfo.sh
8631a2
-grub-core/*.module
8631a2
-grub-core/*.module.exe
8631a2
-grub-core/*.pp
8631a2
-grub-core/kernel.img.bin
8631a2
-util/bash-completion.d/grub
8631a2
-grub-core/gnulib/alloca.h
8631a2
-grub-core/gnulib/arg-nonnull.h
8631a2
-grub-core/gnulib/c++defs.h
8631a2
-grub-core/gnulib/charset.alias
8631a2
-grub-core/gnulib/configmake.h
8631a2
-grub-core/gnulib/float.h
8631a2
-grub-core/gnulib/getopt.h
8631a2
-grub-core/gnulib/langinfo.h
8631a2
-grub-core/gnulib/ref-add.sed
8631a2
-grub-core/gnulib/ref-del.sed
8631a2
-grub-core/gnulib/stdio.h
8631a2
-grub-core/gnulib/stdlib.h
8631a2
-grub-core/gnulib/string.h
8631a2
-grub-core/gnulib/strings.h
8631a2
-grub-core/gnulib/sys
8631a2
-grub-core/gnulib/unistd.h
8631a2
-grub-core/gnulib/warn-on-use.h
8631a2
-grub-core/gnulib/wchar.h
8631a2
-grub-core/gnulib/wctype.h
8631a2
-grub-core/rs_decoder.h
8631a2
-widthspec.bin
8631a2
-widthspec.h
8631a2
-docs/stamp-1
8631a2
-docs/version-dev.texi
8631a2
-Makefile.utilgcry.def
8631a2
-po/*.po
8631a2
-po/*.gmo
8631a2
-po/LINGUAS
8631a2
-po/remove-potcdate.sed
8631a2
-include/grub/gcrypt/gcrypt.h
8631a2
-include/grub/gcrypt/g10lib.h
8631a2
-po/POTFILES.in
8631a2
-po/POTFILES-shell.in
8631a2
-/grub-glue-efi
8631a2
-/grub-render-label
8631a2
-/grub-glue-efi.exe
8631a2
-/grub-render-label.exe
8631a2
-grub-core/gnulib/locale.h
8631a2
-grub-core/gnulib/unitypes.h
8631a2
-grub-core/gnulib/uniwidth.h
8631a2
-build-aux/test-driver
8631a2
+
8631a2
+# next are things you get if you do ./configure in the topdir (for e.g.
8631a2
+# "make dist" invocation.
8631a2
+/config-util.h
8631a2
+/config.h
8631a2
+/include/grub/cpu
8631a2
+/include/grub/machine
8631a2
+/po/POTFILES
8631a2
+/stamp-h
8631a2
+/stamp-h1
8631a2
+config.log
8631a2
+config.status
8631a2
+
8631a2
+# stuff "make dist" creates
8631a2
+ChangeLog
8631a2
+grub-*.tar
8631a2
+grub-*.tar.*
8631a2
+
8631a2
+# stuff "make" creates
8631a2
+/[[:digit:]][[:digit:]]_?*
8631a2
+/ascii.h
8631a2
+/build-grub-gen-asciih
8631a2
+/build-grub-gen-widthspec
8631a2
+/build-grub-mkfont
8631a2
+/config-util.h.in
8631a2
 /garbage-gen
8631a2
-/garbage-gen.exe
8631a2
-/grub-fs-tester
8631a2
-grub-core/build-grub-module-verifier
8631a2
+/grub*-bios-setup
8631a2
+/grub*-bios-setup.8
8631a2
+/grub*-editenv
8631a2
+/grub*-editenv.1
8631a2
+/grub*-file
8631a2
+/grub*-file.1
8631a2
+/grub*-fs-tester
8631a2
+/grub*-fstest
8631a2
+/grub*-fstest.1
8631a2
+/grub*-glue-efi
8631a2
+/grub*-glue-efi.1
8631a2
+/grub*-install
8631a2
+/grub*-install.8
8631a2
+/grub*-kbdcomp
8631a2
+/grub*-kbdcomp.1
8631a2
+/grub*-macbless
8631a2
+/grub*-macbless.8
8631a2
+/grub*-menulst2cfg
8631a2
+/grub*-menulst2cfg.1
8631a2
+/grub*-mkconfig
8631a2
+/grub*-mkconfig.8
8631a2
+/grub*-mkconfig_lib
8631a2
+/grub*-mkfont
8631a2
+/grub*-mkfont.1
8631a2
+/grub*-mkimage
8631a2
+/grub*-mkimage.1
8631a2
+/grub*-mklayout
8631a2
+/grub*-mklayout.1
8631a2
+/grub*-mknetdir
8631a2
+/grub*-mknetdir.1
8631a2
+/grub*-mkpasswd-pbkdf2
8631a2
+/grub*-mkpasswd-pbkdf2.1
8631a2
+/grub*-mkrelpath
8631a2
+/grub*-mkrelpath.1
8631a2
+/grub*-mkrescue
8631a2
+/grub*-mkrescue.1
8631a2
+/grub*-mkstandalone
8631a2
+/grub*-mkstandalone.1
8631a2
+/grub*-ofpathname
8631a2
+/grub*-ofpathname.8
8631a2
+/grub*-probe
8631a2
+/grub*-probe.8
8631a2
+/grub*-reboot
8631a2
+/grub*-reboot.8
8631a2
+/grub*-render-label
8631a2
+/grub*-render-label.1
8631a2
+/grub*-script-check
8631a2
+/grub*-script-check.1
8631a2
+/grub*-set-default
8631a2
+/grub*-set-default.8
8631a2
+/grub*-shell
8631a2
+/grub*-shell-tester
8631a2
+/grub*-sparc64-setup
8631a2
+/grub*-sparc64-setup.8
8631a2
+/grub*-syslinux2cfg
8631a2
+/grub*-syslinux2cfg.1
8631a2
+/grub_fstest.pp
8631a2
+/grub_fstest_init.c
8631a2
+/grub_fstest_init.lst
8631a2
+/grub_script.tab.[ch]
8631a2
+/libgrub.pp
8631a2
+/libgrub_a_init.c
8631a2
+/libgrub_a_init.lst
8631a2
+/stamp-h.in
8631a2
+/widthspec.h
8631a2
diff --git a/build-aux/.gitignore b/build-aux/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..f2f17aab9ff
8631a2
--- /dev/null
8631a2
+++ b/build-aux/.gitignore
8631a2
@@ -0,0 +1,9 @@
8631a2
+/compile
8631a2
+/config.guess
8631a2
+/config.sub
8631a2
+/depcomp
8631a2
+/install-sh
8631a2
+/mdate-sh
8631a2
+/missing
8631a2
+/test-driver
8631a2
+/texinfo.tex
8631a2
diff --git a/docs/.gitignore b/docs/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..91aee84d3e9
8631a2
--- /dev/null
8631a2
+++ b/docs/.gitignore
8631a2
@@ -0,0 +1,4 @@
8631a2
+/*.in
8631a2
+/stamp-1
8631a2
+/stamp-vti
8631a2
+/version*.texi
8631a2
diff --git a/grub-core/.gitignore b/grub-core/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..c738ac6c649
8631a2
--- /dev/null
8631a2
+++ b/grub-core/.gitignore
8631a2
@@ -0,0 +1,15 @@
8631a2
+/*.lst
8631a2
+/Makefile.gcry.def
8631a2
+/unidata.c
8631a2
+/build-grub-module-verifier
8631a2
+/gdb_grub
8631a2
+/genmod.sh
8631a2
+/gensyminfo.sh
8631a2
+/gentrigtables
8631a2
+/gmodule.pl
8631a2
+/grub_script.tab.[ch]
8631a2
+/modinfo.sh
8631a2
+/rs_decoder.h
8631a2
+/symlist.c
8631a2
+/symlist.h
8631a2
+/trigtables.c
8631a2
diff --git a/grub-core/gnulib/.gitignore b/grub-core/gnulib/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..29e199c2db4
8631a2
--- /dev/null
8631a2
+++ b/grub-core/gnulib/.gitignore
8631a2
@@ -0,0 +1,22 @@
8631a2
+/alloca.h
8631a2
+/arg-nonnull.h
8631a2
+/c++defs.h
8631a2
+/charset.alias
8631a2
+/configmake.h
8631a2
+/getopt.h
8631a2
+/langinfo.h
8631a2
+/libgnu.a
8631a2
+/locale.h
8631a2
+/ref-add.sed
8631a2
+/ref-del.sed
8631a2
+/stdio.h
8631a2
+/stdlib.h
8631a2
+/string.h
8631a2
+/strings.h
8631a2
+/sys/
8631a2
+/unistd.h
8631a2
+/unitypes.h
8631a2
+/uniwidth.h
8631a2
+/warn-on-use.h
8631a2
+/wchar.h
8631a2
+/wctype.h
8631a2
diff --git a/grub-core/lib/.gitignore b/grub-core/lib/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..68154591404
8631a2
--- /dev/null
8631a2
+++ b/grub-core/lib/.gitignore
8631a2
@@ -0,0 +1 @@
8631a2
+/libgcrypt-grub/
8631a2
diff --git a/include/grub/gcrypt/.gitignore b/include/grub/gcrypt/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..8fbf5646246
8631a2
--- /dev/null
8631a2
+++ b/include/grub/gcrypt/.gitignore
8631a2
@@ -0,0 +1,2 @@
8631a2
+g10lib.h
8631a2
+gcrypt.h
8631a2
diff --git a/po/.gitignore b/po/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..97b679c3138
8631a2
--- /dev/null
8631a2
+++ b/po/.gitignore
8631a2
@@ -0,0 +1,4 @@
8631a2
+/POTFILES*.in
8631a2
+/grub.pot
8631a2
+/remove-potcdate.sed
8631a2
+/stamp-po
8631a2
diff --git a/util/bash-completion.d/.gitignore b/util/bash-completion.d/.gitignore
8631a2
new file mode 100644
030dc3
index 00000000000..b7e1eb12428
8631a2
--- /dev/null
8631a2
+++ b/util/bash-completion.d/.gitignore
8631a2
@@ -0,0 +1 @@
8631a2
+grub