gitignore: Clean up most of the gitignore mess
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 1 replyIn review
- v36 patches 0 repliesSuperseded
- v25 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 4 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | gitignore: Consistent leading slash is easier to read.gitignore | +44 | 0 replies | |
| 2/6 | gitignore: Group patterns with and without slash.gitignore | +42 | 0 replies | |
| 3/6 | gitignore: Sort both pattern groups alphabetically.gitignore | +100 | 0 replies | |
| 4/6 | gitignore: Add trailing slashes for directories.gitignore | +7 | 0 replies | |
| 5/6 | gitignore: Add leading slashes where appropriate.gitignore | +114 | 0 replies | |
| 6/6 | gitignore: Add a few forgotten file patterns.gitignore | +32 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Kiper |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] gitignore: Clean up most of the gitignore mess
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:
Signature · 1 line
2.26.2