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
1 changed files with 44 additions and 44 deletions

88
.gitignore vendored
View 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