Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jRka7-0001iJ-SH for mharc-grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRka5-0001fS-O2 for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRka4-0006mb-Jl for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:29 -0400 Received: from relay01.mx.bawue.net ([193.7.176.67]:33386 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 1jRka3-0006i4-Tc for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:28 -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 25AA020468; Fri, 24 Apr 2020 00:44:23 +0200 (CEST) From: Hans Ulrich Niedermann To: grub-devel@gnu.org Cc: Hans Ulrich Niedermann Subject: [PATCH 1/5] gitignore: Group patterns with and without slash Date: Fri, 24 Apr 2020 00:43:47 +0200 Message-Id: <20200423224351.413371-2-hun@n-dimensional.de> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200423224351.413371-1-hun@n-dimensional.de> References: <20200423224351.413371-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 (4DC516D4) 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/23 18:44:26 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, 23 Apr 2020 22:44:30 -0000 Group the .gitignore patterns into two groups: * Patterns including a slash, i.e. matching only relative to the .gitignore file's directory. * Pattern not including a slash, i.e. matching files anywhere in the .gitignore file's directory and all of its subdirectories. Signed-off-by: Hans Ulrich Niedermann --- .gitignore | 81 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 819cd185d..87280ba24 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 @@ grub-core/kernel.img.bin 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.25.3