This cleans up most of the gitignore mess according to Daniel Kiper's
suggestions:
1. Consistently add leading slash to all patterns matching relative
to .gitignore
2. Group patterns matching everywhere in the subtree and patterns
matching relative to .gitignore
3. Sort both pattern groups alphabetically
4. Add trailing slashes to patterns matching directories
5. Add leading slash where it has been forgotten
6. Add a few patterns matching files which have been forgotten
Some of the remaining non-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.
This is a revised version v4 of the older patchset v3 which achieves
the very same resulting tree, but without first introducing and then
fixing a wrong sorting order for the ".deps*/" patterns.
Hans Ulrich Niedermann (6):
gitignore: Consistent leading slash is easier to read
gitignore: Group patterns with and without slash
gitignore: Sort both pattern groups alphabetically
gitignore: Add trailing slashes for directories
gitignore: Add leading slashes where appropriate
gitignore: Add a few forgotten file patterns
.gitignore | 458 +++++++++++++++++++++++++++++------------------------
1 file changed, 247 insertions(+), 211 deletions(-)
Interdiff:
--
2.26.2
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel