From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Langhoff Subject: Re: git pull on Linux/ACPI release tree Date: Mon, 9 Jan 2006 17:34:25 +1300 Message-ID: <46a038f90601082034g2865b26ftc344c599e29a4655@mail.gmail.com> References: <20060108230611.GP3774@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Adrian Bunk , "Brown, Len" , "David S. Miller" , linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, akpm-3NddpPZAyC0@public.gmane.org, git-u79uwXL29TY76Z2rM5mHXA@public.gmane.org X-From: linux-acpi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Mon Jan 09 05:34:33 2006 Return-path: Envelope-to: glad-acpi-devel-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Evojo-0006EB-Eh for glad-acpi-devel-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org; Mon, 09 Jan 2006 05:34:32 +0100 Received: (majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org) by vger.kernel.org via listexpand id S1751233AbWAIEe1 (ORCPT ); Sun, 8 Jan 2006 23:34:27 -0500 Received: (majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org) by vger.kernel.org id S1751262AbWAIEe1 (ORCPT ); Sun, 8 Jan 2006 23:34:27 -0500 Received: from wproxy.gmail.com ([64.233.184.202]:21942 "EHLO wproxy.gmail.com") by vger.kernel.org with ESMTP id S1751233AbWAIEe0 convert rfc822-to-8bit (ORCPT ); Sun, 8 Jan 2006 23:34:26 -0500 Received: by wproxy.gmail.com with SMTP id 71so3271191wri for ; Sun, 08 Jan 2006 20:34:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kbULiWnHtXsuB7VSscYoIn6PZjUUHUt5gOen6OmMFCRdc+dOfkG479+Aj5OpZjgNv62TOfhesV1MRdqNawX/yQ4lbuetwlvwrmmSGGTCI0VOTv3wr5+hU3KDiLjjGjjiAol5S65jClW+8UYSrRrCuBQ6Oi6jmBh531TcYdpSNZc= Received: by 10.54.115.14 with SMTP id n14mr4427756wrc; Sun, 08 Jan 2006 20:34:25 -0800 (PST) Received: by 10.54.71.5 with HTTP; Sun, 8 Jan 2006 20:34:25 -0800 (PST) To: Linus Torvalds In-Reply-To: Content-Disposition: inline Sender: linux-acpi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Precedence: bulk X-Mailing-List: linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 1/9/06, Linus Torvalds wrote: > And then do > > git-rebase linus > > to rebase your development branch to mine. > > THIS is what "rebase" is for. It sounds like what you really want to do is > not have a development branch at all, but you just want to track my tree > and then keep track of a few branches of your own. In other words, you > don't really have a "real" branch - you've got an odd collection of > patches that you really want to carry around on top of _my_ branch. No? FWIW, I determine whether I should rebase or merge based on + Whether the branch/head I maintain is public. For public repos, I *must* merge carefully as rebase "rewinds" the head and that makes a mess of any repositor tracking me. + Whether the changes on my both sides are significant, and it is semantically meaningful to have a merge. If either side had just a couple of minor commits, rebase makes life a lot easier down the path. If both side clearly saw parallel development, it is more sincere to merge and let that be recorded. + If my attempt to rebase leads to any non-trivial conflicts or co-dependencies, then I definitely cancel the rebase and merge. > Now, in this model, you're not really using git as a distributed system. I'd argue that it is not about distributed or not. It's all in what you want to record in your history. As such, it is a communication device -- and I want to make effective use of it. I guess the question I ask myself is: what will communicate what's happened here most clearly? What will be useful for people to read? In that context, a white-lie here and there simplifying the history a bit where it's not interesting counts as a good thing. cheers, martin - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html