public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: Linus Torvalds <torvalds@osdl.org>,
	"Brown, Len" <len.brown@intel.com>,
	"David S. Miller" <davem@davemloft.net>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	akpm@osdl.org, git@vger.kernel.org
Subject: Re: git pull on Linux/ACPI release tree
Date: Mon, 9 Jan 2006 00:53:25 +0100	[thread overview]
Message-ID: <20060108235325.GJ7142@w.ods.org> (raw)
In-Reply-To: <20060108230611.GP3774@stusta.de>

Hi Adrian,

On Mon, Jan 09, 2006 at 12:06:11AM +0100, Adrian Bunk wrote:
> On Sun, Jan 08, 2006 at 11:41:28AM -0800, Linus Torvalds wrote:
> >...
> > What I object to is that there were _also_ two automated merges within ten 
> > hours or each other, with absolutely _zero_ development in your tree in 
> > between. Why did you do that in your development tree? By _definition_ you 
> > had done zero development. You just tracked the development in _my_ tree.
> >...
> 
> My impression is that you and Len are talking at different levels.
> 
> I can't speak for Len, but let me try to describe a problem in this area 
> I don't know the solution for:
> 
> Consider I want to do the following:
> 1. update my tree daily from your tree
> 2. include 10 patches per week into my tree
> 3. ask you once a month to pull from my tree
> 
> How should step 1 be done?

I believe we all have the same problem. The only solution I found for
this was to proceed like David described. I know even have a 'git-patches'
directory next to my git repo to keep the resulting patches after I do a
'git-format-patch --mbox'.

When Linus called it the 'stupid content tracker', he was half right.
In fact, it's more a 'changes tracker' than a 'content tracker'. It
logs everything you and others do, so if you don't want your operations
to appear on others' history, you have to hide them by working on
temporary trees to generate the patches you will use later.

At first I found this very annoying, but finally, it's a way to ensure
that I always have clean and ordered patches. It's not much different
from what I was doing by hand previously, it's just that all git-xxx
operations take much longer time, possibly because of the compression.
On the other hand, its ability to understand mbox saves me some time.

> In CVS, I'd do a "cvs update -dP ."
> In cogito, the equivalent command seems to be "cg-update".
> 
> CVS has no problems if I have changed MAINTAINERS in one place and it 
> changes daily in your tree in other places, but how do I do the same in 
> git/cogito without creating the merges you don't want to see?
> 
> The solution might be described somewhere in TFM, but this is the class 
> of problems people like me run into when the goal is simply a git tree 
> to both track your tree and send changes to you without any interest in 
> advanced SCM knowledge.

What sometimes worries me is that some operations seem so much complicated
that there is a high risk of doing the wrong thing, and I'm not certain
that this will reduce the number of mistakes I do in a month, compared
to manual patching. I became a real addict to 'git-reset --hard' ...

> cu
> Adrian

Regards,
Willy


  reply	other threads:[~2006-01-08 23:58 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-08 18:28 git pull on Linux/ACPI release tree Brown, Len
2006-01-08 19:19 ` Martin Langhoff
2006-01-08 19:33   ` Junio C Hamano
2006-01-08 19:57     ` Linus Torvalds
2006-01-08 20:50       ` Tony Luck
2006-01-08 19:56   ` Linus Torvalds
2006-01-08 20:35     ` David S. Miller
2006-01-08 21:20     ` Luben Tuikov
2006-01-09  1:13       ` Linus Torvalds
2006-01-08 19:41 ` Linus Torvalds
2006-01-08 23:06   ` Adrian Bunk
2006-01-08 23:53     ` Willy Tarreau [this message]
2006-01-09  3:26     ` Linus Torvalds
2006-01-09  4:34       ` Martin Langhoff
2006-01-10 20:19       ` Adrian Bunk
2006-01-10 20:31         ` Linus Torvalds
2006-01-10 20:33         ` Martin Langhoff
2006-01-12  1:37         ` Greg KH
2006-01-12 16:10           ` Catalin Marinas
2006-01-13 14:50           ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-01-09  8:05 Brown, Len
2006-01-09 16:47 ` Linus Torvalds
2006-01-09 16:57   ` Linus Torvalds
2006-01-09 22:51     ` Luben Tuikov
2006-01-09 23:07       ` Linus Torvalds
2006-01-09 23:34         ` Martin Langhoff
2006-01-10  2:50       ` Linus Torvalds
2006-01-10  6:33         ` Kyle Moffett
2006-01-10  6:38           ` Martin Langhoff
2006-01-10 18:05             ` Kyle Moffett
2006-01-10 18:27               ` Linus Torvalds
2006-01-10 18:45                 ` Johannes Schindelin
2006-01-10 19:01                   ` Linus Torvalds
2006-01-10 19:28                     ` Linus Torvalds
2006-01-13 23:35                     ` Matthias Urlichs
2006-01-11  3:32               ` Luben Tuikov
2006-01-09 20:06   ` Junio C Hamano
2006-01-10 15:31     ` Alex Riesen
2006-01-09  7:34 Brown, Len
2006-01-09 10:11 ` Martin Langhoff
2006-01-09 12:31   ` Johannes Schindelin
2006-01-09  6:27 Brown, Len
2006-01-09  6:13 Brown, Len
2006-01-09  5:55 linux
2006-01-09  5:53 Brown, Len
2006-01-09  6:08 ` Martin Langhoff
2006-01-09  6:13   ` Linus Torvalds
2006-01-09  6:46     ` Junio C Hamano
2006-01-08  7:47 Brown, Len
2006-01-08  8:16 ` Catalin Marinas
2006-01-08  8:16 ` David S. Miller
2006-01-08 19:10 ` Linus Torvalds
2006-01-09  0:48   ` Al Viro
2006-01-09  3:50     ` Linus Torvalds
2005-12-01  8:05 Len Brown
2005-12-06  8:17 ` Len Brown
2005-12-23  5:42   ` Len Brown
2006-01-07 15:54     ` Len Brown
2006-01-07 18:22       ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060108235325.GJ7142@w.ods.org \
    --to=willy@w.ods.org \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=davem@davemloft.net \
    --cc=git@vger.kernel.org \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox