Add all test binaries to gitignore, add kmod-* prefixed tool names, add 'tags' in root directory (for ctags, matches cscope.out ignore already in there), and prefix test/ and tools/ entries with '/' so they are absolute ignores and don't apply to subdirectories. Signed-off-by: Dan McGee <dan@xxxxxxxxxxxxx> --- .gitignore | 1 + test/.gitignore | 14 ++++++++++++++ tools/.gitignore | 24 +++++++++++++++--------- 3 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 test/.gitignore diff --git a/.gitignore b/.gitignore index 79b5f65..8d7c74a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ Makefile.in *~ .*.swp cscope.out +tags diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 0000000..d959b6d --- /dev/null +++ b/test/.gitignore @@ -0,0 +1,14 @@ +/.dirstamp +/test-blacklist +/test-elf +/test-get-dependencies +/test-init +/test-insmod +/test-invalidate-config +/test-loaded +/test-lookup +/test-mod-double-ref +/test-path-from-name +/test-probe +/test-rmmod +/test-rmmod2 diff --git a/tools/.gitignore b/tools/.gitignore index 041d7b2..d77b2dc 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -1,9 +1,15 @@ -.dirstamp -insmod -rmmod -lsmod -modprobe -modinfo -depmod -kmod -kmod-nolib +/.dirstamp +/depmod +/insmod +/kmod +/kmod-depmod +/kmod-insmod +/kmod-lsmod +/kmod-modinfo +/kmod-modprobe +/kmod-nolib +/kmod-rmmod +/lsmod +/modinfo +/modprobe +/rmmod -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html