]> git.proxmox.com Git - mirror_zfs.git/blobdiff - .gitignore
Linux 6.0 compat: META
[mirror_zfs.git] / .gitignore
index 453a553dd8771007c318abb7217eb907fa39d97f..8d91dd9466c541b6a4c4fb695fee88b5caea11a3 100644 (file)
@@ -1,6 +1,7 @@
 #
-# N.B.
-# This is the toplevel .gitignore file.
+# This is the top-level .gitignore file:
+# ignore everything except a list of allowed files.
+#
 # This is not the place for entries that are specific to
 # a subdirectory.  Instead add those files to the
 # .gitignore file in that subdirectory.
 # command after changing this file, to see if there are
 # any tracked files which get ignored after the change.
 
+*
+
+!.github
+!cmd
+!config
+!contrib
+!etc
+!include
+!lib
+!man
+!module
+!rpm
+!scripts
+!tests
+!udev
+
+!.github/**
+!cmd/**
+!config/**
+!contrib/**
+!etc/**
+!include/**
+!lib/**
+!man/**
+!module/**
+!rpm/**
+!scripts/**
+!tests/**
+!udev/**
+
+!.editorconfig
+!.gitignore
+!.gitmodules
+!AUTHORS
+!autogen.sh
+!CODE_OF_CONDUCT.md
+!configure.ac
+!copy-builtin
+!COPYRIGHT
+!LICENSE
+!Makefile.am
+!META
+!NEWS
+!NOTICE
+!README.md
+!RELEASES.md
+!TEST
+!zfs.release.in
+
+
 #
 # Normal rules
 #
 *.[oa]
-*.ko
-*.ko.unsigned
-*.ko.out
-*.ko.out.sig
+*.o.ur-safe
 *.lo
 *.la
 *.mod.c
 *~
 *.swp
-.*.cmd
+*.gcno
+*.gcda
+*.pyc
+*.pyo
 .deps
 .libs
+.dirstamp
 .DS_Store
 modules.order
 Makefile
 Makefile.in
-
-#
-# Top level generated files specific to this top level dir
-#
-/configure
-/config.log
-/config.status
-/libtool
-/zfs_config.h
-/zfs_config.h.in
-/zfs.spec
-/zfs-modules.spec
-/zfs.release
-/dkms.conf
-/PKGBUILD-zfs
-/PKGBUILD-zfs-modules
-/stamp-h1
-/.script-config
-/zfs-script-config.sh
-/aclocal.m4
-/autom4te.cache
-
-#
-# Top level generic files
-#
-!.gitignore
-tags
-TAGS
-cscope.*
+*.patch
+*.orig
+*.tmp
+*.log