From 4cd8e49a69db0c3058c03f2541175985f07ff5c1 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 8 Jan 2010 11:35:17 -0800 Subject: Add .gitignore files to exclude build products --- .gitignore | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ cmd/zdb/.gitignore | 1 + cmd/zfs/.gitignore | 1 + cmd/zinject/.gitignore | 1 + cmd/zpool/.gitignore | 1 + cmd/ztest/.gitignore | 1 + module/.gitignore | 3 +++ 7 files changed, 57 insertions(+) create mode 100644 .gitignore create mode 100644 cmd/zdb/.gitignore create mode 100644 cmd/zfs/.gitignore create mode 100644 cmd/zinject/.gitignore create mode 100644 cmd/zpool/.gitignore create mode 100644 cmd/ztest/.gitignore create mode 100644 module/.gitignore 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 -- cgit v1.2.3