Re: [PATCH] .gitignore: Ignore cscope and other *tags files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/2/23 10:37 AM, Martin Kletzander wrote:
Commit f7114e61dbc2 cleaned up way too much and now that I have cscope
working again I noticed there are some files that ought to stay ignored.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>

Reviewed-by-with-prejudice: Laine Stump <laine@xxxxxxxxxx>

I had sent a patch a year or two ago (maybe longer?) to re-add the cscope files to the ignore, but someone expressed reluctance (because I should be putting that in a global ignore or something, I forget), so rather than ruffle feathers I just dropped the patch and spent the last two years being mildly ignored each time I ran git status (I overcame the threshold of sloth one time to get rid of it, but couldn't manage the tiny amount of ambition for a 2nd).

---
  .gitignore | 12 +++++++++++-
  1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 469539134280..61ea7779b02b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,7 +19,17 @@ __pycache__/
  # libvirt related ignores
  /build/
  /ci/scratch/
-tags
+
+# *tags and cscope files
+/GPATH
+/GRTAGS
+/GTAGS
+/TAGS
+/cscope.files
+/cscope.in.out
+/cscope.out
+/cscope.po.out
+/tags
# clangd related ignores
  .clangd




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux