2010-04-07 04:11:25

by Jan III Sobieski

[permalink] [raw]
Subject: Re: [PATCH] add random binaries to .gitignore

2010/3/28 Jan III Sobieski <[email protected]>:
> 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 <[email protected]>
>
> 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


2010-04-07 04:21:15

by Cong Wang

[permalink] [raw]
Subject: Re: [PATCH] add random binaries to .gitignore

On Wed, Apr 07, 2010 at 06:11:18AM +0200, Jan III Sobieski wrote:
>2010/3/28 Jan III Sobieski <[email protected]>:
>> 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 <[email protected]>
>>
>> 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 [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/

2010-04-08 09:55:33

by Michal Marek

[permalink] [raw]
Subject: Re: [PATCH] add random binaries to .gitignore

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 <[email protected]>
>>>
>>> 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
>>> +