Page MenuHomeFreeBSD

Ignore additional unwanted files
ClosedPublic

Authored by ngie on Wed, Feb 4, 7:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 17, 7:27 AM
Unknown Object (File)
Tue, Feb 17, 6:34 AM
Unknown Object (File)
Thu, Feb 12, 9:43 PM
Unknown Object (File)
Thu, Feb 12, 4:56 PM
Unknown Object (File)
Thu, Feb 12, 1:59 PM
Unknown Object (File)
Wed, Feb 11, 7:19 AM
Unknown Object (File)
Wed, Feb 11, 7:16 AM
Unknown Object (File)
Wed, Feb 11, 1:26 AM
Subscribers

Details

Summary

Ignore more files generated by toolchains, e.g., .pico, etc. Ignore the
.DS_Store files as well produced by macOS as all they provide is
permissions and additional metadata that should never be committed to
git.

MFC after: 1 week

Test Plan

git status no longer shows those files when present in my git clone.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70413
Build 67296: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Wed, Feb 4, 7:46 AM
ngie added reviewers: markj, emaste.

Ignore .lo and .po files as well

.gitignore
8

Why not *.pieo?

9

There are some files with this suffix in the tree, e.g., in ./contrib/dialog/po.

14

This matches ./contrib/unbound/contrib/libunbound.so.conf. I presume it's only supposed to match shared libs so probably *.so.[0-9]+ would be more accurate?

  • Ignore .depend files.
  • Spell out .pico, .pieo, and .nossppico completely for clarity.
  • Allow .po files under contrib/...

@markj : ping?

.gitignore
14

Yes, it would be.

ngie marked 3 inline comments as done.Sun, Feb 22, 2:56 AM
ngie added inline comments.
.gitignore
9

Lines 11 ensures that the .po files under contrib/ aren't ignored.

This revision was not accepted when it landed; it landed in state Needs Review.Sun, Feb 22, 3:00 AM
This revision was automatically updated to reflect the committed changes.
ngie marked an inline comment as done.