]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
gitignore: Consistent leading slash is easier to read
authorHans Ulrich Niedermann <hun@n-dimensional.de>
Thu, 7 May 2020 21:33:15 +0000 (23:33 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 15 May 2020 12:50:30 +0000 (14:50 +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 <hun@n-dimensional.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
.gitignore

index 819cd185d44b620d05eadad504ec0c171bbbf3df..8908a2131c58126cb7bab878b13dd85cb6586af7 100644 (file)
@@ -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