Skip to contentSkip to conversation

master - gitignore: ignore all cscope generated files

PATCH Zdenek Kabelac 1 participant 1 message Sep 11, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c38c4d9d36d765bbbe839c00b9580f6b1b8a0ef4
Commit:        c38c4d9d36d765bbbe839c00b9580f6b1b8a0ef4
Parent:        9f78acfee9e1f50ea58b532880c5e3e2f6161105
Author:        Zhao Heming <[email protected]>
AuthorDate:    Thu Sep 10 23:38:07 2020 +0800
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Sep 11 21:42:38 2020 +0200

gitignore: ignore all cscope generated files

When using cscope to read code, it will generate below 3 files for speedup
cross-refer: cscope.files, cscope.in.out, cscope.po.out

The .gitignore only contains "/cscope.out". It a little bit messy when executing 'git status', and other git commands.
This patch add all cscope generated files in .gitignore.

---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitignore +1 -1
index 7ebb8bb3b..cfd5bee1c 100644
@@ -30,7 +30,7 @@ make.tmpl
 /config.log
 /config.status
 /configure.scan
-/cscope.out
+/cscope.*
 /html/
 /reports/
 /tags