git: 4544f34f2d30 - main - .gitignore: ignore additional unwanted files
Date: Sun, 22 Feb 2026 03:00:15 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=4544f34f2d30ee63ab1eec9fa52c31bd92d457ca
commit 4544f34f2d30ee63ab1eec9fa52c31bd92d457ca
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-04 07:39:03 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-22 03:00:06 +0000
.gitignore: ignore additional unwanted files
Ignore more files generated by toolchains, e.g., `.pico`, etc. Ignore the
`.DS_Store` produced by macOS as well because all they provide is
additional file metadata that shouldn't be committed to `git`.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D55096
---
.gitignore | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.gitignore b/.gitignore
index a53a26f16d4f..91a9252d80f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,17 @@
*.a
*.core
+*.lo
+*.nossppico
*.o
*.orig
+*.pico
+*.pieo
+*.po
+# Don't ignore translation files under `contrib/...`.
+!contrib/**/po
*.rej
*.so
+*.so.[0-9]*
*.sw[nop]
*~
_.tinderbox.*
@@ -14,6 +22,8 @@ _.arm64.*
_.i386.*
_.powerpc.*
_.riscv.*
+.*DS_Store
+.depend*
GPATH
GRTAGS
GTAGS