linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add random binaries to .gitignore
@ 2010-03-28 12:38 Jan III Sobieski
  2010-03-28 13:35 ` Alexey Dobriyan
  0 siblings, 1 reply; 8+ messages in thread
From: Jan III Sobieski @ 2010-03-28 12:38 UTC (permalink / raw)
  To: LKML

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
+

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-03-28 12:38 [PATCH] add random binaries to .gitignore Jan III Sobieski
@ 2010-03-28 13:35 ` Alexey Dobriyan
  2010-03-28 13:38   ` Jan III Sobieski
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Dobriyan @ 2010-03-28 13:35 UTC (permalink / raw)
  To: Jan III Sobieski; +Cc: LKML

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-03-28 13:35 ` Alexey Dobriyan
@ 2010-03-28 13:38   ` Jan III Sobieski
  2010-03-28 14:19     ` Alexey Dobriyan
  0 siblings, 1 reply; 8+ messages in thread
From: Jan III Sobieski @ 2010-03-28 13:38 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: LKML

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

-- 
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
+

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-03-28 14:19     ` Alexey Dobriyan
@ 2010-03-28 14:02       ` Jan III Sobieski
  2010-04-07  4:11         ` Jan III Sobieski
  0 siblings, 1 reply; 8+ messages in thread
From: Jan III Sobieski @ 2010-03-28 14:02 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: LKML

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@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
+

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-03-28 13:38   ` Jan III Sobieski
@ 2010-03-28 14:19     ` Alexey Dobriyan
  2010-03-28 14:02       ` Jan III Sobieski
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Dobriyan @ 2010-03-28 14:19 UTC (permalink / raw)
  To: Jan III Sobieski; +Cc: LKML

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'

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-03-28 14:02       ` Jan III Sobieski
@ 2010-04-07  4:11         ` Jan III Sobieski
  2010-04-07  4:24           ` Amerigo Wang
  0 siblings, 1 reply; 8+ messages in thread
From: Jan III Sobieski @ 2010-04-07  4:11 UTC (permalink / raw)
  To: LKML

2010/3/28 Jan III Sobieski <jan3sobi3ski@gmail.com>:
> 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

Anyone out there care to take this patches?

>
> --
> 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
> +
>



-- 
Jan III Sobieski

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-04-07  4:11         ` Jan III Sobieski
@ 2010-04-07  4:24           ` Amerigo Wang
  2010-04-08  9:36             ` Michal Marek
  0 siblings, 1 reply; 8+ messages in thread
From: Amerigo Wang @ 2010-04-07  4:24 UTC (permalink / raw)
  To: Jan III Sobieski; +Cc: LKML, linux-kbuild

On Wed, Apr 07, 2010 at 06:11:18AM +0200, Jan III Sobieski wrote:
>2010/3/28 Jan III Sobieski <jan3sobi3ski@gmail.com>:
>> 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
>
>Anyone out there care to take this patches?

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.

Thanks!

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] add random binaries to .gitignore
  2010-04-07  4:24           ` Amerigo Wang
@ 2010-04-08  9:36             ` Michal Marek
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Marek @ 2010-04-08  9:36 UTC (permalink / raw)
  To: Amerigo Wang; +Cc: Jan III Sobieski, LKML, linux-kbuild

On 7.4.2010 06:24, Amerigo Wang wrote:
> On Wed, Apr 07, 2010 at 06:11:18AM +0200, Jan III Sobieski wrote:
>> Anyone out there care to take this patches?
> 
> 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.

Added to the kbuild tree, thanks

Michal


>>>
>>> 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
>>> +

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-08  9:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28 12:38 [PATCH] add random binaries to .gitignore Jan III Sobieski
2010-03-28 13:35 ` Alexey Dobriyan
2010-03-28 13:38   ` Jan III Sobieski
2010-03-28 14:19     ` Alexey Dobriyan
2010-03-28 14:02       ` Jan III Sobieski
2010-04-07  4:11         ` Jan III Sobieski
2010-04-07  4:24           ` Amerigo Wang
2010-04-08  9:36             ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).