aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore49
-rw-r--r--cmd/zdb/.gitignore1
-rw-r--r--cmd/zfs/.gitignore1
-rw-r--r--cmd/zinject/.gitignore1
-rw-r--r--cmd/zpool/.gitignore1
-rw-r--r--cmd/ztest/.gitignore1
-rw-r--r--module/.gitignore3
7 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000..934b97390
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,49 @@
+#
+# N.B.
+# This is the toplevel .gitignore file.
+# This is not the place for entries that are specific to
+# a subdirectory. Instead add those files to the
+# .gitignore file in that subdirectory.
+#
+# N.B.
+# Please use 'git ls-files -i --exclude-standard'
+# command after changing this file, to see if there are
+# any tracked files which get ignored after the change.
+
+#
+# Normal rules
+#
+*.[oa]
+*.ko
+*.lo
+*.la
+*.mod.c
+*~
+*.swp
+.*.cmd
+.deps
+.libs
+.DS_Store
+modules.order
+Makefile
+
+#
+# Top level generated files specific to this top level dir
+#
+/Makefile
+/config.log
+/config.status
+/libtool
+/zfs_config.h
+/zfs.spec
+/zfs-modules.spec
+/stamp-h1
+/.script-config
+
+#
+# Top level generic files
+#
+!.gitignore
+tags
+TAGS
+cscope.*
diff --git a/cmd/zdb/.gitignore b/cmd/zdb/.gitignore
new file mode 100644
index 000000000..f64a3fc5a
--- /dev/null
+++ b/cmd/zdb/.gitignore
@@ -0,0 +1 @@
+/zdb
diff --git a/cmd/zfs/.gitignore b/cmd/zfs/.gitignore
new file mode 100644
index 000000000..0fd9cc63a
--- /dev/null
+++ b/cmd/zfs/.gitignore
@@ -0,0 +1 @@
+/zfs
diff --git a/cmd/zinject/.gitignore b/cmd/zinject/.gitignore
new file mode 100644
index 000000000..bded84009
--- /dev/null
+++ b/cmd/zinject/.gitignore
@@ -0,0 +1 @@
+/zinject
diff --git a/cmd/zpool/.gitignore b/cmd/zpool/.gitignore
new file mode 100644
index 000000000..8ea518af7
--- /dev/null
+++ b/cmd/zpool/.gitignore
@@ -0,0 +1 @@
+/zpool
diff --git a/cmd/ztest/.gitignore b/cmd/ztest/.gitignore
new file mode 100644
index 000000000..d3d498dae
--- /dev/null
+++ b/cmd/ztest/.gitignore
@@ -0,0 +1 @@
+/ztest
diff --git a/module/.gitignore b/module/.gitignore
new file mode 100644
index 000000000..611c51c42
--- /dev/null
+++ b/module/.gitignore
@@ -0,0 +1,3 @@
+/.tmp_versions
+/Module.markers
+/Module.symvers