qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch
@ 2013-06-05 21:16 Michael Tokarev
  2013-06-05 21:22 ` Peter Maydell
  2013-06-06  0:18 ` li guang
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Tokarev @ 2013-06-05 21:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Michael Tokarev, liguang

This partially reverts:

 commit 082369e62c5bbaba89f173c2b803bc24115bb111
 Author: liguang <lig.fnst@cn.fujitsu.com>
 Date:   Fri Mar 22 16:44:13 2013 +0800

    gitignore: ignore more files

I'm not sure how this went in.  The thing is that
ignoring *.patch, in my opinion, is just wrong.
Especially for downstreams who apply patches for
real.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 .gitignore |    1 -
 1 file changed, 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 64e9466..0fe114d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,7 +82,6 @@ fsdev/virtfs-proxy-helper.pod
 *.swp
 *.orig
 .pc
-*.patch
 *.gcda
 *.gcno
 patches
-- 
1.7.10.4

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

* Re: [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch
  2013-06-05 21:16 [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch Michael Tokarev
@ 2013-06-05 21:22 ` Peter Maydell
  2013-06-12 11:51   ` Michael Tokarev
  2013-06-06  0:18 ` li guang
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2013-06-05 21:22 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: qemu-trivial, qemu-devel, liguang

On 5 June 2013 22:16, Michael Tokarev <mjt@tls.msk.ru> wrote:
> This partially reverts:
>
>  commit 082369e62c5bbaba89f173c2b803bc24115bb111
>  Author: liguang <lig.fnst@cn.fujitsu.com>
>  Date:   Fri Mar 22 16:44:13 2013 +0800
>
>     gitignore: ignore more files
>
> I'm not sure how this went in.  The thing is that
> ignoring *.patch, in my opinion, is just wrong.
> Especially for downstreams who apply patches for
> real.

Personally I think a lot of the random rubbish in
our .gitignore is bogus and should be removed.
Basically anything that's an editor dropping or
.patch or TAGS file or similar is a local workflow
thing and should be dealt with by setting up a global
ignorefile in your local git config. The only
things in the .gitignore in the public repo should
be files which QEMU's build process itself creates.

But I know not everybody agrees with this, which is
why all this stuff is in the .gitignore :-)

thanks
-- PMM

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

* Re: [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch
  2013-06-05 21:16 [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch Michael Tokarev
  2013-06-05 21:22 ` Peter Maydell
@ 2013-06-06  0:18 ` li guang
  1 sibling, 0 replies; 5+ messages in thread
From: li guang @ 2013-06-06  0:18 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: qemu-trivial, qemu-devel

在 2013-06-06四的 01:16 +0400,Michael Tokarev写道:
> This partially reverts:
> 
>  commit 082369e62c5bbaba89f173c2b803bc24115bb111
>  Author: liguang <lig.fnst@cn.fujitsu.com>
>  Date:   Fri Mar 22 16:44:13 2013 +0800
> 
>     gitignore: ignore more files
> 
> I'm not sure how this went in.  The thing is that
> ignoring *.patch, in my opinion, is just wrong.
> Especially for downstreams who apply patches for
> real.
> 

ignore *.patch is convenient in my opinion, you can change
if it bothered someone else.

thanks!

> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>  .gitignore |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 64e9466..0fe114d 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -82,7 +82,6 @@ fsdev/virtfs-proxy-helper.pod
>  *.swp
>  *.orig
>  .pc
> -*.patch
>  *.gcda
>  *.gcno
>  patches

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

* Re: [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch
  2013-06-05 21:22 ` Peter Maydell
@ 2013-06-12 11:51   ` Michael Tokarev
  2013-06-12 14:33     ` Laszlo Ersek
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Tokarev @ 2013-06-12 11:51 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-trivial, Anthony Liguori, qemu-devel, liguang

06.06.2013 01:22, Peter Maydell wrote:
> Personally I think a lot of the random rubbish in
> our .gitignore is bogus and should be removed.
> Basically anything that's an editor dropping or
> .patch or TAGS file or similar is a local workflow
> thing and should be dealt with by setting up a global
> ignorefile in your local git config. The only
> things in the .gitignore in the public repo should
> be files which QEMU's build process itself creates.
> 
> But I know not everybody agrees with this, which is
> why all this stuff is in the .gitignore :-)

I'm one of the few who completely agrees, there's no
place for various random rubbery in there, only things
which are really generated during build should be there.

I'd really love to remove all the cruft.  But who else
disagrees?

Thanks,

/mjt

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

* Re: [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch
  2013-06-12 11:51   ` Michael Tokarev
@ 2013-06-12 14:33     ` Laszlo Ersek
  0 siblings, 0 replies; 5+ messages in thread
From: Laszlo Ersek @ 2013-06-12 14:33 UTC (permalink / raw)
  To: Michael Tokarev
  Cc: qemu-trivial, Peter Maydell, Anthony Liguori, qemu-devel, liguang

On 06/12/13 13:51, Michael Tokarev wrote:
> 06.06.2013 01:22, Peter Maydell wrote:
>> Personally I think a lot of the random rubbish in
>> our .gitignore is bogus and should be removed.
>> Basically anything that's an editor dropping or
>> .patch or TAGS file or similar is a local workflow
>> thing and should be dealt with by setting up a global
>> ignorefile in your local git config. The only
>> things in the .gitignore in the public repo should
>> be files which QEMU's build process itself creates.
>>
>> But I know not everybody agrees with this, which is
>> why all this stuff is in the .gitignore :-)
> 
> I'm one of the few who completely agrees, there's no
> place for various random rubbery in there, only things
> which are really generated during build should be there.
> 
> I'd really love to remove all the cruft.  But who else
> disagrees?

I agree that .gitignore should list only files produced by the build
process. Anything else can be added to a global ignore file (which I
haven't heard of before, but it probably does exist :)), *or* to

  .git/info/exclude

(recommended by Eric Blake to me some months back)

This file is not tracked like .gitignore, but it doesn't need tracking.

Laszlo

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

end of thread, other threads:[~2013-06-12 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 21:16 [Qemu-devel] [PATCH trivial] gitignore: unignore *.patch Michael Tokarev
2013-06-05 21:22 ` Peter Maydell
2013-06-12 11:51   ` Michael Tokarev
2013-06-12 14:33     ` Laszlo Ersek
2013-06-06  0:18 ` li guang

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).