Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jWo9E-0004i5-CE for mharc-grub-devel@gnu.org; Thu, 07 May 2020 17:33:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWo9D-0004gl-5F for grub-devel@gnu.org; Thu, 07 May 2020 17:33:39 -0400 Received: from mailout02.mx.bawue.net ([193.7.176.63]:46545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWo9B-00088e-GD for grub-devel@gnu.org; Thu, 07 May 2020 17:33:38 -0400 Received: from infty.fritz.box (p5B1755C9.dip0.t-ipconnect.de [91.23.85.201]) (Authenticated sender: pdim@bawue.de) by smtp.bawue.net (Postfix) with ESMTPSA id CB56D20468; Thu, 7 May 2020 23:33:30 +0200 (CEST) From: Hans Ulrich Niedermann To: grub-devel@gnu.org Cc: Hans Ulrich Niedermann , Daniel Kiper Subject: [PATCH v4 1/6] gitignore: Consistent leading slash is easier to read Date: Thu, 7 May 2020 23:33:15 +0200 Message-Id: <20200507213320.335760-2-hun@n-dimensional.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200507213320.335760-1-hun@n-dimensional.de> References: <20200507213320.335760-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 (2CCC6F21) 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/05/07 17:33:35 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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, 07 May 2020 21:33:39 -0000 As all gitignore patterns containing a left or middle slash match only relative to the .gitignore file's directory, we write them all in the same manner with a leading slash. This makes the file significantly easier to read. Signed-off-by: Hans Ulrich Niedermann Reviewed-by: Daniel Kiper diff --git a/.gitignore b/.gitignore index 819cd185d..8908a2131 100644 --- a/.gitignore +++ b/.gitignore @@ -30,9 +30,9 @@ config.sub configure core_compress_test DISTLIST -docs/*.info -docs/stamp-vti -docs/version.texi +/docs/*.info +/docs/stamp-vti +/docs/version.texi ehci_test example_grub_script_test example_scripted_test @@ -81,7 +81,7 @@ grub-macho2img grub-mount /grub-ofpathname /grub-ofpathname.exe -grub-core/build-grub-pe2elf.exe +/grub-core/build-grub-pe2elf.exe /grub-probe /grub-probe.exe grub_probe_init.c @@ -136,11 +136,11 @@ help_test *.img *.image *.image.exe -include/grub/cpu -include/grub/machine +/include/grub/cpu +/include/grub/machine INSTALL.grub install-sh -lib/libgcrypt-grub +/lib/libgcrypt-grub libgrub_a_init.c *.log *.lst @@ -159,14 +159,14 @@ 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 +/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,43 +190,43 @@ compile depcomp mdate-sh texinfo.tex -grub-core/lib/libgcrypt-grub +/grub-core/lib/libgcrypt-grub .deps .deps-util .deps-core .dirstamp Makefile.util.am contrib -grub-core/bootinfo.txt -grub-core/Makefile.core.am -grub-core/Makefile.gcry.def -grub-core/contrib -grub-core/gdb_grub -grub-core/genmod.sh -grub-core/gensyminfo.sh -grub-core/gmodule.pl -grub-core/grub.chrp -grub-core/modinfo.sh -grub-core/*.module -grub-core/*.module.exe -grub-core/*.pp -grub-core/kernel.img.bin -util/bash-completion.d/grub -grub-core/lib/gnulib -grub-core/rs_decoder.h +/grub-core/bootinfo.txt +/grub-core/Makefile.core.am +/grub-core/Makefile.gcry.def +/grub-core/contrib +/grub-core/gdb_grub +/grub-core/genmod.sh +/grub-core/gensyminfo.sh +/grub-core/gmodule.pl +/grub-core/grub.chrp +/grub-core/modinfo.sh +/grub-core/*.module +/grub-core/*.module.exe +/grub-core/*.pp +/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 +/docs/stamp-1 +/docs/version-dev.texi Makefile.utilgcry.def -po/*.po -po/*.gmo -po/LINGUAS -po/remove-potcdate.sed -include/grub/gcrypt/gcrypt.h -include/grub/gcrypt/g10lib.h -po/POTFILES.in -po/POTFILES-shell.in +/po/*.po +/po/*.gmo +/po/LINGUAS +/po/remove-potcdate.sed +/include/grub/gcrypt/gcrypt.h +/include/grub/gcrypt/g10lib.h +/po/POTFILES.in +/po/POTFILES-shell.in /grub-glue-efi /grub-render-label /grub-glue-efi.exe @@ -234,4 +234,4 @@ po/POTFILES-shell.in /garbage-gen /garbage-gen.exe /grub-fs-tester -grub-core/build-grub-module-verifier +/grub-core/build-grub-module-verifier -- 2.26.2