]> git.proxmox.com Git - mirror_zfs.git/blobdiff - .gitignore
etc/init.d: decide which variant to use at build time.
[mirror_zfs.git] / .gitignore
index ee69117f2909ed869b91d08a21d98b0518078198..a2cb92dd54063f73bd7547b2ef656dd3e9e15dbc 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
+!.cirrus.yml
+!.gitignore
+!.gitmodules
+!.mailmap
+!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
-
-#
-# Top level generated files specific to this top level dir
-#
-/Makefile
-/config.log
-/config.status
-/libtool
-/spl_config.h
-/spl.spec
-/spl-modules.spec
-/stamp-h1
-
-#
-# Top level generic files
-#
-!.gitignore
-tags
-TAGS
-cscope.*
+Makefile.in
+changelog
+*.patch
+*.orig
+*.tmp
+*.log