[Buildroot] [PATCH 3/3] .gitignore: remove wrong entries

Felipe Contreras felipe.contreras at gmail.com
Sat Feb 11 17:27:01 UTC 2012


On Sat, Feb 11, 2012 at 6:12 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
> On Saturday 11 February 2012 01:04:36 Felipe Contreras wrote:
>> These should go into a personal file, like:
>> core.excludesfile=/home/felipec/.gitignore
>>   .*.sw[nop]
>>
>> Some people might prefer to see patches, rejects and other files in the
>> output of 'git status' (e.g. me).
>
>  Agreed on most parts, except for the /*.patch.  It was added because git
> format-patch creates them.  If they are not ignored, than git add -A won't
> work properly anymore.

Well, I usually do 'git status' to see remnants I would like to
remove, including *.patch.

I wonder why you would want to store those patches in the directory.
You could specify a specific output directory. Moreover, 'git
send-email' can generate the patches and send them at the same time...
So you don't need to call 'git format-patch' directly.

>  While we're talking about gitignore: I have two more things I'd like to
> add to it:
>
> /output* (because I often use parallel output dirs within the buildroot
> directory, as it gives me access to git).
>
> /defconfig (since it's a generated file).
>
>  What do the others think?

I agree on those above. And actually, I removed *.o by mistake... I
think they should be there.

-- 
Felipe Contreras


More information about the buildroot mailing list