grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] gitignore: Clean up most of the gitignore mess


From: Hans Ulrich Niedermann
Subject: [PATCH 0/5] gitignore: Clean up most of the gitignore mess
Date: Fri, 24 Apr 2020 00:43:46 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]