grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v4 1/6] gitignore: Consistent leading slash is easier to read


From: Hans Ulrich Niedermann
Subject: [PATCH v4 1/6] gitignore: Consistent leading slash is easier to read
Date: Thu, 7 May 2020 23:33:15 +0200

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 <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]