From d644d4e14e4c9f093c009e42b1ae0b1f89b5e756 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Fri, 8 Jun 2012 16:26:21 +0100 Subject: [PATCH] Add .gitignore files for an in-source-tree build. Tell git to ignore files generated by a build inside the source tree. --- .gitignore | 21 +++++++++++++++++++++ include/.gitignore | 1 + old-tests/config/.gitignore | 1 + scripts/lvm2create_initrd/.gitignore | 2 ++ tools/.gitignore | 1 + 5 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 include/.gitignore create mode 100644 old-tests/config/.gitignore create mode 100644 scripts/lvm2create_initrd/.gitignore create mode 100644 tools/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..4873702a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +*.5 +*.8 +*.d +*.o +*.pc +*.pot + +.export.sym +.gdb_history + +Makefile +make.tmpl + +configure.h +version.h + +/autom4te.cache/ +/config.log +/config.status +/cscope.out +/tmp/ diff --git a/include/.gitignore b/include/.gitignore new file mode 100644 index 000000000..fdfc22c7e --- /dev/null +++ b/include/.gitignore @@ -0,0 +1 @@ +.symlinks_created diff --git a/old-tests/config/.gitignore b/old-tests/config/.gitignore new file mode 100644 index 000000000..24600083d --- /dev/null +++ b/old-tests/config/.gitignore @@ -0,0 +1 @@ +!Makefile diff --git a/scripts/lvm2create_initrd/.gitignore b/scripts/lvm2create_initrd/.gitignore new file mode 100644 index 000000000..dad061105 --- /dev/null +++ b/scripts/lvm2create_initrd/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!lvm2create_initrd.8 diff --git a/tools/.gitignore b/tools/.gitignore new file mode 100644 index 000000000..94f0c40b2 --- /dev/null +++ b/tools/.gitignore @@ -0,0 +1 @@ +.commands