gitignore: Consistent leading slash is easier to read

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>
This commit is contained in:
Hans Ulrich Niedermann 2020-05-07 23:33:15 +02:00 committed by Daniel Kiper
parent eb46ee98bc
commit 16923f88ad

88
.gitignore vendored
View file

@ -30,9 +30,9 @@ config.sub
configure configure
core_compress_test core_compress_test
DISTLIST DISTLIST
docs/*.info /docs/*.info
docs/stamp-vti /docs/stamp-vti
docs/version.texi /docs/version.texi
ehci_test ehci_test
example_grub_script_test example_grub_script_test
example_scripted_test example_scripted_test
@ -81,7 +81,7 @@ grub-macho2img
grub-mount grub-mount
/grub-ofpathname /grub-ofpathname
/grub-ofpathname.exe /grub-ofpathname.exe
grub-core/build-grub-pe2elf.exe /grub-core/build-grub-pe2elf.exe
/grub-probe /grub-probe
/grub-probe.exe /grub-probe.exe
grub_probe_init.c grub_probe_init.c
@ -136,11 +136,11 @@ help_test
*.img *.img
*.image *.image
*.image.exe *.image.exe
include/grub/cpu /include/grub/cpu
include/grub/machine /include/grub/machine
INSTALL.grub INSTALL.grub
install-sh install-sh
lib/libgcrypt-grub /lib/libgcrypt-grub
libgrub_a_init.c libgrub_a_init.c
*.log *.log
*.lst *.lst
@ -159,14 +159,14 @@ partmap_test
pata_test pata_test
*.pf2 *.pf2
*.pp *.pp
po/*.mo /po/*.mo
po/grub.pot /po/grub.pot
po/Makefile.in.in /po/Makefile.in.in
po/Makevars /po/Makevars
po/Makevars.template /po/Makevars.template
po/POTFILES /po/POTFILES
po/Rules-quot /po/Rules-quot
po/stamp-po /po/stamp-po
printf_test printf_test
priority_queue_unit_test priority_queue_unit_test
pseries_test pseries_test
@ -190,43 +190,43 @@ compile
depcomp depcomp
mdate-sh mdate-sh
texinfo.tex texinfo.tex
grub-core/lib/libgcrypt-grub /grub-core/lib/libgcrypt-grub
.deps .deps
.deps-util .deps-util
.deps-core .deps-core
.dirstamp .dirstamp
Makefile.util.am Makefile.util.am
contrib contrib
grub-core/bootinfo.txt /grub-core/bootinfo.txt
grub-core/Makefile.core.am /grub-core/Makefile.core.am
grub-core/Makefile.gcry.def /grub-core/Makefile.gcry.def
grub-core/contrib /grub-core/contrib
grub-core/gdb_grub /grub-core/gdb_grub
grub-core/genmod.sh /grub-core/genmod.sh
grub-core/gensyminfo.sh /grub-core/gensyminfo.sh
grub-core/gmodule.pl /grub-core/gmodule.pl
grub-core/grub.chrp /grub-core/grub.chrp
grub-core/modinfo.sh /grub-core/modinfo.sh
grub-core/*.module /grub-core/*.module
grub-core/*.module.exe /grub-core/*.module.exe
grub-core/*.pp /grub-core/*.pp
grub-core/kernel.img.bin /grub-core/kernel.img.bin
util/bash-completion.d/grub /util/bash-completion.d/grub
grub-core/lib/gnulib /grub-core/lib/gnulib
grub-core/rs_decoder.h /grub-core/rs_decoder.h
widthspec.bin widthspec.bin
widthspec.h widthspec.h
docs/stamp-1 /docs/stamp-1
docs/version-dev.texi /docs/version-dev.texi
Makefile.utilgcry.def Makefile.utilgcry.def
po/*.po /po/*.po
po/*.gmo /po/*.gmo
po/LINGUAS /po/LINGUAS
po/remove-potcdate.sed /po/remove-potcdate.sed
include/grub/gcrypt/gcrypt.h /include/grub/gcrypt/gcrypt.h
include/grub/gcrypt/g10lib.h /include/grub/gcrypt/g10lib.h
po/POTFILES.in /po/POTFILES.in
po/POTFILES-shell.in /po/POTFILES-shell.in
/grub-glue-efi /grub-glue-efi
/grub-render-label /grub-render-label
/grub-glue-efi.exe /grub-glue-efi.exe
@ -234,4 +234,4 @@ po/POTFILES-shell.in
/garbage-gen /garbage-gen
/garbage-gen.exe /garbage-gen.exe
/grub-fs-tester /grub-fs-tester
grub-core/build-grub-module-verifier /grub-core/build-grub-module-verifier