Re: [PATCH] add random binaries to .gitignore

Previous thread: 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? by Thomas Meyer on Sunday, March 28, 2010 - 4:31 am. (6 messages)

Next thread: Re: [patch] video/et61x251: improve error handling by Christophe JAILLET on Sunday, March 28, 2010 - 8:08 am. (1 message)
From: Jan III Sobieski
Date: Sunday, March 28, 2010 - 5:38 am

This patch adds random binaries to .gitignore

-- 
Jan III Sobieski

Signed-off-by: Jan III Sobieski <jan3sobi3ski@gmail.com>

diff --git a/.gitignore b/.gitignore
index a2939fc..b9b624b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,14 @@ GTAGS
 *.orig
 *~
 \#*#
+
+# random binary files
+Documentation/filesystems/dnotify_test
+Documentation/laptops/dslm
+Documentation/timers/hpet_example
+Documentation/vm/hugepage-mmap
+Documentation/vm/hugepage-shm
+Documentation/vm/map_hugetlb
+arch/x86/boot/compressed/vmlinux
+arch/x86/tools/test_get_len
+
--

From: Alexey Dobriyan
Date: Sunday, March 28, 2010 - 6:35 am

This should go to per-directory gitiignores.
--

From: Jan III Sobieski
Date: Sunday, March 28, 2010 - 6:38 am

I agree that it is not the best solution. But one directory one
.gitignore also isn't the best, so I propose this

-- 
Jan III Sobieski

Signed-off-by: Jan III Sobieski <jan3sobi3ski@gmail.com>

diff --git a/Documentation/.gitignore b/Documentation/.gitignore
new file mode 100644
index 0000000..bcd907b
--- /dev/null
+++ b/Documentation/.gitignore
@@ -0,0 +1,7 @@
+filesystems/dnotify_test
+laptops/dslm
+timers/hpet_example
+vm/hugepage-mmap
+vm/hugepage-shm
+vm/map_hugetlb
+
diff --git a/arch/x86/.gitignore b/arch/x86/.gitignore
new file mode 100644
index 0000000..0280790
--- /dev/null
+++ b/arch/x86/.gitignore
@@ -0,0 +1,3 @@
+boot/compressed/vmlinux
+tools/test_get_len
+
--

From: Alexey Dobriyan
Date: Sunday, March 28, 2010 - 7:19 am

.gitignore in leaf directory is the status quo.

	find . -type f -name '\.gitignore'
--

From: Jan III Sobieski
Date: Sunday, March 28, 2010 - 7:02 am

Ok

-- 
Jan III Sobieski

Signed-off-by: Jan III Sobieski <jan3sobi3ski@gmail.com>

diff --git a/Documentation/filesystems/.gitignore
b/Documentation/filesystems/.gitignore
new file mode 100644
index 0000000..1ddd62a
--- /dev/null
+++ b/Documentation/filesystems/.gitignore
@@ -0,0 +1,2 @@
+dnotify_test
+
diff --git a/Documentation/laptops/.gitignore
b/Documentation/laptops/.gitignore
new file mode 100644
index 0000000..f6bb9d0
--- /dev/null
+++ b/Documentation/laptops/.gitignore
@@ -0,0 +1,2 @@
+dslm
+
diff --git a/Documentation/timers/.gitignore
b/Documentation/timers/.gitignore
new file mode 100644
index 0000000..f710cba
--- /dev/null
+++ b/Documentation/timers/.gitignore
@@ -0,0 +1,2 @@
+hpet_example
+
diff --git a/Documentation/vm/.gitignore b/Documentation/vm/.gitignore
index 09b164a..3c65a46 100644
--- a/Documentation/vm/.gitignore
+++ b/Documentation/vm/.gitignore
@@ -1,2 +1,6 @@
 page-types
 slabinfo
+hugepage-mmap
+hugepage-shm
+map_hugetlb
+
diff --git a/arch/x86/boot/compressed/.gitignore
b/arch/x86/boot/compressed/.gitignore
index 4a46fab..b71c8ca 100644
--- a/arch/x86/boot/compressed/.gitignore
+++ b/arch/x86/boot/compressed/.gitignore
@@ -1,4 +1,5 @@
 relocs
+vmlinux
 vmlinux.bin.all
 vmlinux.relocs
 vmlinux.lds
diff --git a/arch/x86/tools/.gitignore b/arch/x86/tools/.gitignore
new file mode 100644
index 0000000..b1ac2dc
--- /dev/null
+++ b/arch/x86/tools/.gitignore
@@ -0,0 +1,2 @@
+test_get_len
+
--

From: Jan III Sobieski
Date: Tuesday, April 6, 2010 - 9:11 pm

-- 
Jan III Sobieski
--

From: Amerigo Wang
Date: Tuesday, April 6, 2010 - 9:24 pm

I think you need to Cc kbuild people. (Done.)

This patch looks fine for me, we need this, especially
the x86 piece, I met it several times.

--

From: Michal Marek
Date: Thursday, April 8, 2010 - 2:36 am

Added to the kbuild tree, thanks

--

Previous thread: 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? by Thomas Meyer on Sunday, March 28, 2010 - 4:31 am. (6 messages)

Next thread: Re: [patch] video/et61x251: improve error handling by Christophe JAILLET on Sunday, March 28, 2010 - 8:08 am. (1 message)