From: greened@obbligato.org Subject: Re: A possible subtree split bug Date: Mon, 20 Aug 2012 20:48:13 -0500 Message-ID: <87boi5f21u.fsf@waller.obbligato.org> References: <5017BFB0.9070701@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Fabien POTENCIER X-From: git-owner@vger.kernel.org Tue Aug 21 04:24:27 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T3e8h-0007h8-KT for gcvg-git-2@plane.gmane.org; Tue, 21 Aug 2012 04:24:19 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755106Ab2HUCXe (ORCPT ); Mon, 20 Aug 2012 22:23:34 -0400 Received: from li209-253.members.linode.com ([173.255.199.253]:38996 "EHLO johnson.obbligato.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754945Ab2HUCXc (ORCPT ); Mon, 20 Aug 2012 22:23:32 -0400 Received: from c-75-73-20-8.hsd1.mn.comcast.net ([75.73.20.8] helo=waller.obbligato.org) by johnson.obbligato.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.77) (envelope-from ) id 1T3dfm-0000fU-BP; Mon, 20 Aug 2012 20:54:26 -0500 In-Reply-To: <5017BFB0.9070701@gmail.com> (Fabien POTENCIER's message of "Tue, 31 Jul 2012 13:21:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Filter-Spam-Score: () X-Filter-Spam-Report: Spam detection software, running on the system "johnson.obbligato.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Fabien POTENCIER writes: > According to the docs: > > "Repeated splits of exactly the same history are > guaranteed to be identical (ie. to produce the same > commit ids). Because of this, if you add new commits > and then re-split, the new commits will be attached as > commits on top of the history you generated last time..." > > But unfortunately, that's not always the case. > > I've found that if you have a commit that reverts the previous one and > then merge a branch where those two com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Fabien POTENCIER writes: > According to the docs: > > "Repeated splits of exactly the same history are > guaranteed to be identical (ie. to produce the same > commit ids). Because of this, if you add new commits > and then re-split, the new commits will be attached as > commits on top of the history you generated last time..." > > But unfortunately, that's not always the case. > > I've found that if you have a commit that reverts the previous one and > then merge a branch where those two commits did not exist, then the > next time you split, they won't be present anymore in the split tree. I'm not entirely sure that they history *should* be the same in the presence of a merge. It's certainly not the same history as when the original split was done so I don't think guarantee holds. -Dave