summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-01-08 11:35:17 -0800
committerBrian Behlendorf <[email protected]>2010-01-08 11:35:17 -0800
commit4cd8e49a69db0c3058c03f2541175985f07ff5c1 (patch)
tree6ea97971fd454ee0ec91d1f6673755c7eae73cbc /.gitignore
parent058ac9ba7811baea78a47ba1ead8acd7512684b6 (diff)
Add .gitignore files to exclude build products
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore49
1 files changed, 49 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.*