Page MenuHomeFreeBSD

Ignore additional unwanted files
ClosedPublic

Authored by ngie on Feb 4 2026, 7:46 AM.
Tags
None
Referenced Files
F146987749: D55096.id171130.diff
Sat, Mar 7, 9:27 AM
Unknown Object (File)
Sun, Mar 1, 11:15 PM
Unknown Object (File)
Tue, Feb 24, 4:05 PM
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
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie requested review of this revision.Feb 4 2026, 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.