Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jUFK1-0001a5-OW for mharc-grub-devel@gnu.org; Thu, 30 Apr 2020 15:58:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39284) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUFHx-0008Fz-Ei for grub-devel@gnu.org; Thu, 30 Apr 2020 15:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUFHS-0000vg-1K for grub-devel@gnu.org; Thu, 30 Apr 2020 15:56:04 -0400 Received: from relay01.mx.bawue.net ([193.7.176.67]:55718 helo=smtp.bawue.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUFHO-0000oL-OB for grub-devel@gnu.org; Thu, 30 Apr 2020 15:55:32 -0400 Received: from infty.fritz.box (p5B0825D9.dip0.t-ipconnect.de [91.8.37.217]) (Authenticated sender: pdim@bawue.de) by smtp.bawue.net (Postfix) with ESMTPSA id BA0D720467; Thu, 30 Apr 2020 21:55:23 +0200 (CEST) From: Hans Ulrich Niedermann To: grub-devel@gnu.org Cc: Hans Ulrich Niedermann Subject: [PATCH 4/5 v2] gitignore: Add leading slashes where appropriate Date: Thu, 30 Apr 2020 21:54:52 +0200 Message-Id: <20200430195454.96888-5-hun@n-dimensional.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200430195454.96888-1-hun@n-dimensional.de> References: <20200430195454.96888-1-hun@n-dimensional.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanner: SAV Dynamic Interface 2.6.0, Engine: 3.77.1, SAV: 5.74 (DBE9713B) on relay01.mx.bawue.net using milter-sssp 0.1.0 X-Virus-Scan: Found to be clean. Received-SPF: pass client-ip=193.7.176.67; envelope-from=hun@n-dimensional.de; helo=smtp.bawue.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 15:55:27 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 193.7.176.67 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 19:58:11 -0000 Going through the list of gitignore patterns without a leading slash, this adds a leading slash where it appears to have been forgotten. Also, for patterns matching directories, add a trailing slash. Some gitignore patterns like ".deps/" or "Makefile" clearly should match everywhere, so those definitively need no leading slash. For some patterns like "contrib" or "ascii.bitmaps", it is unclear where in the source tree they should match. Those patterns are kept as they are, matching the patterns in the whole tree of subdirectories. Signed-off-by: Hans Ulrich Niedermann --- .gitignore | 235 +++++++++++++++++++++++++++-------------------------- 1 file changed, 118 insertions(+), 117 deletions(-) diff --git a/.gitignore b/.gitignore index 7e1d32df4..6782ad188 100644 --- a/.gitignore +++ b/.gitignore @@ -16,165 +16,91 @@ *.pp *.trs *~ -.deps -.deps-core -.deps-util +.deps-core/ +.deps-util/ +.deps/ .dirstamp -00_header -10_* -20_linux_xen -30_os-prober -40_custom -41_custom -ABOUT-NLS DISTLIST GPATH GRTAGS GSYMS GTAGS -INSTALL.grub Makefile Makefile.in -Makefile.util.am -Makefile.utilgcry.def -aclocal.m4 -ahci_test ascii.bitmaps -ascii.h -autom4te.cache -build-aux -build-grub-gen-asciih -build-grub-gen-widthspec -build-grub-mkfont -cdboot_test -cmp_test -compile -config-util.h -config-util.h.in -config.cache -config.guess -config.h -config.log -config.status -config.sub -configure contrib -core_compress_test -depcomp -ehci_test -example_grub_script_test -example_scripted_test -example_unit_test -fddboot_test genkernsyms.sh gensymlist.sh -gentrigtables -gentrigtables.exe -gettext_strings_test grub-bin2h grub-emu grub-emu-lite grub-emu-lite.exe grub-emu.exe -grub-fstest -grub-fstest.exe -grub-install -grub-install.exe -grub-kbdcomp grub-macho2img -grub-mount -grub-script-check -grub-script-check.exe -grub-set-default -grub-shell -grub-shell-tester -grub-sparc64-setup -grub-sparc64-setup.exe -grub_cmd_date -grub_cmd_echo -grub_cmd_regexp -grub_cmd_set_date -grub_cmd_sleep grub_emu_init.c grub_emu_init.h -grub_fstest_init.c -grub_fstest_init.h -grub_func_test grub_probe_init.c grub_probe_init.h grub_script.tab.c grub_script.tab.h grub_script.yy.c grub_script.yy.h -grub_script_blanklines -grub_script_blockarg -grub_script_break grub_script_check_init.c grub_script_check_init.h -grub_script_comments -grub_script_continue -grub_script_dollar -grub_script_echo1 -grub_script_echo_keywords -grub_script_escape_comma -grub_script_eval -grub_script_expansion -grub_script_final_semicolon -grub_script_for1 -grub_script_functions -grub_script_gettext -grub_script_if -grub_script_leading_whitespace -grub_script_no_commands -grub_script_not -grub_script_return -grub_script_setparams -grub_script_shift -grub_script_strcmp -grub_script_test -grub_script_vars1 -grub_script_while1 grub_setup_init.c grub_setup_init.h -gzcompress_test -hddboot_test -help_test -install-sh -libgrub_a_init.c -lzocompress_test mdate-sh -missing mod-*.c -netboot_test -ohci_test -partmap_test -pata_test -printf_test -priority_queue_unit_test -pseries_test -stamp-h -stamp-h.in -stamp-h1 -symlist.c -symlist.h -texinfo.tex -trigtables.c -uhci_test -unidata.c update-grub_lib widthspec.bin -widthspec.h -xzcompress_test # Ignore patterns relative to this .gitignore file's directory +/00_header +/10_* +/20_linux_xen +/30_os-prober +/40_custom +/41_custom +/ABOUT-NLS +/INSTALL.grub +/Makefile.util.am +/Makefile.utilgcry.def +/aclocal.m4 +/ahci_test +/ascii.h +/autom4te.cache/ +/build-aux/ +/build-grub-gen-asciih +/build-grub-gen-widthspec +/build-grub-mkfont +/cdboot_test +/cmp_test +/compile +/config-util.h +/config-util.h.in +/config.cache +/config.guess +/config.h +/config.log +/config.status +/config.sub +/configure +/core_compress_test +/depcomp /docs/*.info /docs/stamp-1 /docs/stamp-vti /docs/version-dev.texi /docs/version.texi +/ehci_test +/example_grub_script_test +/example_scripted_test +/example_unit_test +/fddboot_test /garbage-gen /garbage-gen.exe -/gnulib +/gettext_strings_test +/gnulib/ /grub-bios-setup /grub-bios-setup.exe /grub-core/*.module @@ -189,6 +115,8 @@ xzcompress_test /grub-core/gdb_grub /grub-core/genmod.sh /grub-core/gensyminfo.sh +/grub-core/gentrigtables +/grub-core/gentrigtables.exe /grub-core/gmodule.pl /grub-core/grub.chrp /grub-core/kernel.img.bin @@ -196,18 +124,28 @@ xzcompress_test /grub-core/lib/libgcrypt-grub /grub-core/modinfo.sh /grub-core/rs_decoder.h +/grub-core/symlist.c +/grub-core/symlist.h +/grub-core/trigtables.c +/grub-core/unidata.c /grub-editenv /grub-editenv.exe /grub-file /grub-file.exe /grub-fs-tester +/grub-fstest +/grub-fstest.exe /grub-glue-efi /grub-glue-efi.exe +/grub-install +/grub-install.exe +/grub-kbdcomp /grub-macbless /grub-macbless.exe /grub-menulst2cfg /grub-menulst2cfg.exe /grub-mk* +/grub-mount /grub-ofpathname /grub-ofpathname.exe /grub-probe @@ -215,14 +153,67 @@ xzcompress_test /grub-reboot /grub-render-label /grub-render-label.exe +/grub-script-check +/grub-script-check.exe +/grub-set-default +/grub-shell +/grub-shell-tester +/grub-sparc64-setup +/grub-sparc64-setup.exe /grub-syslinux2cfg /grub-syslinux2cfg.exe +/grub_cmd_date +/grub_cmd_echo +/grub_cmd_regexp +/grub_cmd_set_date +/grub_cmd_sleep +/grub_fstest_init.c +/grub_fstest_init.h +/grub_func_test +/grub_script_blanklines +/grub_script_blockarg +/grub_script_break +/grub_script_comments +/grub_script_continue +/grub_script_dollar +/grub_script_echo1 +/grub_script_echo_keywords +/grub_script_escape_comma +/grub_script_eval +/grub_script_expansion +/grub_script_final_semicolon +/grub_script_for1 +/grub_script_functions +/grub_script_gettext +/grub_script_if +/grub_script_leading_whitespace +/grub_script_no_commands +/grub_script_not +/grub_script_return +/grub_script_setparams +/grub_script_shift +/grub_script_strcmp +/grub_script_test +/grub_script_vars1 +/grub_script_while1 +/gzcompress_test +/hddboot_test +/help_test /include/grub/cpu /include/grub/gcrypt/g10lib.h /include/grub/gcrypt/gcrypt.h /include/grub/machine +/install-sh /lib/libgcrypt-grub -/m4 +/libgrub_a_init.c +/lzocompress_test +/m4/ +/minixfs_test +/missing +/netboot_test +/ohci_test +/partmap_test +/pata_test /po/*.gmo /po/*.mo /po/*.po @@ -237,4 +228,14 @@ xzcompress_test /po/grub.pot /po/remove-potcdate.sed /po/stamp-po +/printf_test +/priority_queue_unit_test +/pseries_test +/stamp-h +/stamp-h.in +/stamp-h1 +/texinfo.tex +/uhci_test /util/bash-completion.d/grub +/widthspec.h +/xzcompress_test -- 2.26.2