git: a67522b22dd9 - main - gitignore: expand list of ignored files

Roger Pau Monné royger at FreeBSD.org
Thu Jan 14 16:04:23 UTC 2021


The branch main has been updated by royger:

URL: https://cgit.FreeBSD.org/src/commit/?id=a67522b22dd9d062aa6702a826c856f388d8744a

commit a67522b22dd9d062aa6702a826c856f388d8744a
Author:     Roger Pau Monné <royger at FreeBSD.org>
AuthorDate: 2021-01-11 17:31:56 +0000
Commit:     Roger Pau Monné <royger at FreeBSD.org>
CommitDate: 2021-01-14 16:03:57 +0000

    gitignore: expand list of ignored files
    
    Add the *.swp and *~ pattern for vim temporary files. Expand the
    cscope ones to include all files possibly generated by cscope and also
    add some known object formats.
    
    Also remove the leading '?' from cscope.out, or else it doesn't match
    the cscope.out file generated by default (as it expects an extra
    character in front).
    
    Reviewed by:            gjb, uqs, lwhsu
    Sponsored by:           Citrix Systems R&D
    Differential Revision:  https://reviews.freebsd.org/D28095
---
 .gitignore | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 5a022fb8f837..c674e06fda50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,9 @@
+*.a
+*.core
+*.o
+*.so
+*.swp
+*~
 _.tinderbox.*
 _.universe-toolchain
 _.amd64.*
@@ -15,5 +21,7 @@ GPATH
 GRTAGS
 GTAGS
 ID
+cscope.files
+cscope.in.out
 cscope.out
-?cscope.out
+cscope.po.out


More information about the dev-commits-src-all mailing list