Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jUFJu-0001R7-FF for mharc-grub-devel@gnu.org; Thu, 30 Apr 2020 15:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUFHo-0007vV-8k for grub-devel@gnu.org; Thu, 30 Apr 2020 15:58:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUFHE-0000d3-RZ for grub-devel@gnu.org; Thu, 30 Apr 2020 15:55:55 -0400 Received: from mailout02.mx.bawue.net ([193.7.176.63]:35031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUFHD-0000Zv-Vl for grub-devel@gnu.org; Thu, 30 Apr 2020 15:55:20 -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 985CD2047F; Thu, 30 Apr 2020 21:55:14 +0200 (CEST) From: Hans Ulrich Niedermann To: grub-devel@gnu.org Cc: Hans Ulrich Niedermann Subject: [PATCH 2/5 v2] gitignore: Group patterns with and without slash Date: Thu, 30 Apr 2020 21:54:50 +0200 Message-Id: <20200430195454.96888-3-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.63; envelope-from=hun@n-dimensional.de; helo=mailout02.mx.bawue.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 15:55:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 193.7.176.63 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:05 -0000 Group the .gitignore patterns into two groups: * Pattern not including a slash, i.e. matching files anywhere in the .gitignore file's directory and all of its subdirectories. * Patterns including a slash, i.e. matching only relative to the .gitignore file's directory. Signed-off-by: Hans Ulrich Niedermann --- .gitignore | 81 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 8908a2131..01c1ec538 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +# Ignore patterns in this directory and all subdirectories *~ 00_header 10_* @@ -30,9 +31,6 @@ config.sub configure core_compress_test DISTLIST -/docs/*.info -/docs/stamp-vti -/docs/version.texi ehci_test example_grub_script_test example_scripted_test @@ -45,25 +43,18 @@ gensymlist.sh gentrigtables gentrigtables.exe gettext_strings_test -/gnulib grub-bin2h -/grub-bios-setup -/grub-bios-setup.exe grub_cmd_date grub_cmd_echo grub_cmd_regexp grub_cmd_set_date grub_cmd_sleep -/grub-editenv -/grub-editenv.exe grub-emu grub-emu-lite grub-emu.exe grub-emu-lite.exe grub_emu_init.c grub_emu_init.h -/grub-file -/grub-file.exe grub-fstest grub-fstest.exe grub_fstest_init.c @@ -72,21 +63,10 @@ grub_func_test grub-install grub-install.exe grub-kbdcomp -/grub-macbless -/grub-macbless.exe grub-macho2img -/grub-menulst2cfg -/grub-menulst2cfg.exe -/grub-mk* grub-mount -/grub-ofpathname -/grub-ofpathname.exe -/grub-core/build-grub-pe2elf.exe -/grub-probe -/grub-probe.exe grub_probe_init.c grub_probe_init.h -/grub-reboot grub_script_blanklines grub_script_blockarg grub_script_break @@ -128,26 +108,20 @@ grub-shell grub-shell-tester grub-sparc64-setup grub-sparc64-setup.exe -/grub-syslinux2cfg -/grub-syslinux2cfg.exe gzcompress_test hddboot_test help_test *.img *.image *.image.exe -/include/grub/cpu -/include/grub/machine INSTALL.grub install-sh -/lib/libgcrypt-grub libgrub_a_init.c *.log *.lst lzocompress_test *.marker Makefile -/m4 *.mod mod-*.c missing @@ -159,14 +133,6 @@ partmap_test pata_test *.pf2 *.pp -/po/*.mo -/po/grub.pot -/po/Makefile.in.in -/po/Makevars -/po/Makevars.template -/po/POTFILES -/po/Rules-quot -/po/stamp-po printf_test priority_queue_unit_test pseries_test @@ -190,13 +156,53 @@ compile depcomp mdate-sh texinfo.tex -/grub-core/lib/libgcrypt-grub .deps .deps-util .deps-core .dirstamp Makefile.util.am contrib +widthspec.bin +widthspec.h +Makefile.utilgcry.def + +# Ignore patterns relative to this .gitignore file's directory +/docs/*.info +/docs/stamp-vti +/docs/version.texi +/gnulib +/grub-bios-setup +/grub-bios-setup.exe +/grub-editenv +/grub-editenv.exe +/grub-file +/grub-file.exe +/grub-macbless +/grub-macbless.exe +/grub-menulst2cfg +/grub-menulst2cfg.exe +/grub-mk* +/grub-ofpathname +/grub-ofpathname.exe +/grub-core/build-grub-pe2elf.exe +/grub-probe +/grub-probe.exe +/grub-reboot +/grub-syslinux2cfg +/grub-syslinux2cfg.exe +/include/grub/cpu +/include/grub/machine +/lib/libgcrypt-grub +/m4 +/po/*.mo +/po/grub.pot +/po/Makefile.in.in +/po/Makevars +/po/Makevars.template +/po/POTFILES +/po/Rules-quot +/po/stamp-po +/grub-core/lib/libgcrypt-grub /grub-core/bootinfo.txt /grub-core/Makefile.core.am /grub-core/Makefile.gcry.def @@ -214,11 +220,8 @@ contrib /util/bash-completion.d/grub /grub-core/lib/gnulib /grub-core/rs_decoder.h -widthspec.bin -widthspec.h /docs/stamp-1 /docs/version-dev.texi -Makefile.utilgcry.def /po/*.po /po/*.gmo /po/LINGUAS -- 2.26.2