From 1f1385d5a4389519c58bb287bfbf7e955ef3e6dc Mon Sep 17 00:00:00 2001 From: kn Date: Thu, 11 Nov 2021 14:03:21 +0000 Subject: [PATCH] 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 --- .gitignore | 1 + sys/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index eecd321da5a..3fdff78bcab 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ **/obj +**/tags diff --git a/sys/.gitignore b/sys/.gitignore index eecd321da5a..3fdff78bcab 100644 --- a/sys/.gitignore +++ b/sys/.gitignore @@ -1 +1,2 @@ **/obj +**/tags -- 2.20.1