[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] .gitignore: Add *.patch



On 07-09-22, 12:09, Juergen Gross wrote:
> On 07.09.22 12:05, Viresh Kumar wrote:
> > Add *.patch entry to .gitignore file to stop showing git generated
> > patches in commands like 'git status'.
> > 
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> > ---
> >   .gitignore | 1 +
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/.gitignore b/.gitignore
> > index 9f9f18c97d5f..d9a4fd038145 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -20,6 +20,7 @@
> >   *.gcno
> >   *.gcda
> >   *.py[ocd]
> > +*.patch
> >   TAGS
> >   GTAGS
> >   GRTAGS
> 
> NAK.
> 
> We have some files named *.patch in our tree (e.g. stubdom/polarssl.patch).

Ahh, I missed that :(

Will it be acceptable to have something like this then to just ignore the
patches ?

[0-9]*-*.patch

-- 
viresh



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.