[Buildroot] [PATCH 1/1] .gitignore: ignore outgoing directory
Carlos Santos
casantos at datacom.ind.br
Sat May 12 02:06:36 UTC 2018
> From: "Thomas Petazzoni" <thomas.petazzoni at bootlin.com>
> To: "Yann Morin" <yann.morin.1998 at free.fr>, "Christopher McCrory" <chrismcc at gmail.com>
> Cc: "buildroot" <buildroot at buildroot.org>
> Sent: Saturday, April 28, 2018 1:44:58 PM
> Subject: Re: [Buildroot] [PATCH 1/1] .gitignore: ignore outgoing directory
> Hello,
>
> On Sun, 22 Apr 2018 10:05:32 +0200, Yann E. MORIN wrote:
>> Christopher, All,
>>
>> On 2018-03-08 06:29 -0800, Christopher McCrory spake thusly:
>> > The buildroot documentation for submitting patches creates a new
>> > directory "outgoing". This prevents git from nagging about untracked
>> > files.
>> >
>> > Signed-off-by: Christopher McCrory <chrismcc at gmail.com>
>>
>> Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>>
>> Peter, this is a candidate for 2018.02.x as well, I guess. ;-)
>
> I'd like to challenge this patch: I am not super convinced. Creating a
> outgoing/ directory is not "git format-patch" default behavior. By
> default, the patches go in the current folder.
>
> It's only the Buildroot manual that suggests to put them in an
> outgoing/ folder (I'm not sure why). My feeling is that the Buildroot
> manual just gives an example, and really users could put their patches
> in any other folder, and we're not going to add all random folders
> in .gitignore.
>
> So I would say no to this patch, and therefore disagree with Yann's
> Acked-by. Peter, Arnout, could you chime in and give your opinion about
> this ?
>
> Best regards,
If you want to ignore patches under outgoing/ then put something like
this in ~/.gitconfig:
[core]
excludesFile = ~/.gitignore-global
And this in ~/.gitignore-global:
outgoing/*.patch
outgoing/*/*.patch
--
Carlos Santos (Casantos) - DATACOM, P&D
“Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.” — Epitaph of a volunteer
More information about the buildroot
mailing list