Ignore tags files

Besides obj (and all the build objects inside), tags seem to be the only
thing that's automatically created by our build infrastructure which should
never be committed.

CVS ignores "tags" due to its builtin list of ignore patterns.
Git does not ignore tags, although it has a builtin list (e.g. "*.o").
Got has no such builtin list.

Add "**/tags" to .gitignore specifically to provide a sane default for
Got checkouts.

Mirror .gitignore with sys/.gitignore to have the same experience with
kernel-only checkouts, as is common practise with Got.

OK stsp sthen
This commit is contained in:
kn 2021-11-11 14:03:21 +00:00
parent ecd659a41e
commit 1f1385d5a4
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
**/obj
**/tags

1
sys/.gitignore vendored
View File

@ -1 +1,2 @@
**/obj
**/tags