[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] gitignore: Consistent leading slash is easier to read
From: |
Hans Ulrich Niedermann |
Subject: |
[PATCH 3/5] gitignore: Consistent leading slash is easier to read |
Date: |
Fri, 24 Apr 2020 00:43:49 +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>
---
.gitignore | 88 +++++++++++++++++++++++++++---------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0f6d6dd4e..7e1d32df4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -167,35 +167,35 @@ widthspec.h
xzcompress_test
# Ignore patterns relative to this .gitignore file's directory
-docs/*.info
-docs/stamp-1
-docs/stamp-vti
-docs/version-dev.texi
-docs/version.texi
+/docs/*.info
+/docs/stamp-1
+/docs/stamp-vti
+/docs/version-dev.texi
+/docs/version.texi
/garbage-gen
/garbage-gen.exe
/gnulib
/grub-bios-setup
/grub-bios-setup.exe
-grub-core/*.module
-grub-core/*.module.exe
-grub-core/*.pp
-grub-core/Makefile.core.am
-grub-core/Makefile.gcry.def
-grub-core/bootinfo.txt
-grub-core/build-grub-module-verifier
-grub-core/build-grub-pe2elf.exe
-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/kernel.img.bin
-grub-core/lib/gnulib
-grub-core/lib/libgcrypt-grub
-grub-core/modinfo.sh
-grub-core/rs_decoder.h
+/grub-core/*.module
+/grub-core/*.module.exe
+/grub-core/*.pp
+/grub-core/Makefile.core.am
+/grub-core/Makefile.gcry.def
+/grub-core/bootinfo.txt
+/grub-core/build-grub-module-verifier
+/grub-core/build-grub-pe2elf.exe
+/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/kernel.img.bin
+/grub-core/lib/gnulib
+/grub-core/lib/libgcrypt-grub
+/grub-core/modinfo.sh
+/grub-core/rs_decoder.h
/grub-editenv
/grub-editenv.exe
/grub-file
@@ -217,24 +217,24 @@ grub-core/rs_decoder.h
/grub-render-label.exe
/grub-syslinux2cfg
/grub-syslinux2cfg.exe
-include/grub/cpu
-include/grub/gcrypt/g10lib.h
-include/grub/gcrypt/gcrypt.h
-include/grub/machine
-lib/libgcrypt-grub
+/include/grub/cpu
+/include/grub/gcrypt/g10lib.h
+/include/grub/gcrypt/gcrypt.h
+/include/grub/machine
+/lib/libgcrypt-grub
/m4
-po/*.gmo
-po/*.mo
-po/*.po
-po/LINGUAS
-po/Makefile.in.in
-po/Makevars
-po/Makevars.template
-po/POTFILES
-po/POTFILES-shell.in
-po/POTFILES.in
-po/Rules-quot
-po/grub.pot
-po/remove-potcdate.sed
-po/stamp-po
-util/bash-completion.d/grub
+/po/*.gmo
+/po/*.mo
+/po/*.po
+/po/LINGUAS
+/po/Makefile.in.in
+/po/Makevars
+/po/Makevars.template
+/po/POTFILES
+/po/POTFILES-shell.in
+/po/POTFILES.in
+/po/Rules-quot
+/po/grub.pot
+/po/remove-potcdate.sed
+/po/stamp-po
+/util/bash-completion.d/grub
--
2.25.3
- [PATCH 0/5] gitignore: Clean up most of the gitignore mess, Hans Ulrich Niedermann, 2020/04/23
- [PATCH 1/5] gitignore: Group patterns with and without slash, Hans Ulrich Niedermann, 2020/04/23
- [PATCH 2/5] gitignore: Sort both pattern groups alphabetically, Hans Ulrich Niedermann, 2020/04/23
- [PATCH 3/5] gitignore: Consistent leading slash is easier to read,
Hans Ulrich Niedermann <=
- [PATCH 4/5] gitignore: Add leading slashes where appropriate, Hans Ulrich Niedermann, 2020/04/23
- [PATCH 5/5] gitignore: Add a few forgotten file patterns, Hans Ulrich Niedermann, 2020/04/23
- Re: [PATCH 0/5] gitignore: Clean up most of the gitignore mess, Daniel Kiper, 2020/04/27