[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
- [PATCH 0/5] gitignore: Clean up most of the gitignore mess,
Hans Ulrich Niedermann <=
- [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, 2020/04/23
- [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