Daniel Kiper has asked me to provide the following set of four patches:

  1. Split patterns into two groups.
  2. Alphabetically sort the patterns within each group.
  3. Add / to patterns which should have one.
  4. Add missing patterns.

However, I found that there was one step missing on the way to an
easily readable .gitignore file, so I have added that additional
step:

  1. Split patterns into two groups.
  2. Alphabetically sort the patterns within each group.
  2a. Add leading / to all existing slash patterns.
  3. Add / to patterns which should have one.
  4. Add missing patterns.

Some of the remaining no-slash patterns (i.e. those matching anywhere
in the directory tree) might work with a leading slash, but I could
not research all of them (especially for old code and optionally built
files), so I have left those for now.

Hans Ulrich Niedermann (5):
  gitignore: Group patterns with and without slash
  gitignore: Sort both pattern groups alphabetically
  gitignore: Consistent leading slash is easier to read
  gitignore: Add leading slashes where appropriate
  gitignore: Add a few forgotten file patterns

 .gitignore | 458 +++++++++++++++++++++++++++++------------------------
 1 file changed, 247 insertions(+), 211 deletions(-)

-- 
2.25.3


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to