Re: [PATCH] add random binaries to .gitignore

From: Jan III Sobieski
Date: Sun Mar 28 2010 - 10:03:05 EST


W dniu 2010-03-28 16:19, Alexey Dobriyan pisze:
> On Sun, Mar 28, 2010 at 03:38:31PM +0200, Jan III Sobieski wrote:
>> W dniu 2010-03-28 15:35, Alexey Dobriyan pisze:
>>> On Sun, Mar 28, 2010 at 02:38:07PM +0200, Jan III Sobieski wrote:
>>>> +# 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
>>>
>>> This should go to per-directory gitiignores.
>>
>> I agree that it is not the best solution. But one directory one
>> .gitignore also isn't the best, so I propose this
>
> .gitignore in leaf directory is the status quo.
>
> find . -type f -name '\.gitignore'

Ok

--
Jan III Sobieski

Signed-off-by: Jan III Sobieski <jan3sobi3ski@xxxxxxxxx>

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
+
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/