From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [WARNING] please stop using git.git "next" for now Date: Wed, 03 May 2006 16:13:32 -0700 Message-ID: <7vejzabt2b.fsf@assigned-by-dhcp.cox.net> References: <7virombwro.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org X-From: git-owner@vger.kernel.org Thu May 04 01:13:46 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbQXJ-0005T1-IE for gcvg-git@gmane.org; Thu, 04 May 2006 01:13:37 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751388AbWECXNe (ORCPT ); Wed, 3 May 2006 19:13:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751389AbWECXNe (ORCPT ); Wed, 3 May 2006 19:13:34 -0400 Received: from fed1rmmtao10.cox.net ([68.230.241.29]:17349 "EHLO fed1rmmtao10.cox.net") by vger.kernel.org with ESMTP id S1751388AbWECXNd (ORCPT ); Wed, 3 May 2006 19:13:33 -0400 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao10.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060503231332.IQGP18458.fed1rmmtao10.cox.net@assigned-by-dhcp.cox.net>; Wed, 3 May 2006 19:13:32 -0400 To: git@vger.kernel.org In-Reply-To: <7virombwro.fsf@assigned-by-dhcp.cox.net> (Junio C. Hamano's message of "Wed, 03 May 2006 14:53:31 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano writes: > I just noticed there is a breakage in write-tree optimization > that uses the new cache-tree data structure in the "next" > branch. Switching branches with "git checkout anotherbranch" > when your index exactly matches the current HEAD commit and then > immediately doing write-tree produces a nonsense tree, and > commits on top of that results in tree objects that have > duplicated entries. > > I will be working on a fix now, but in the meantime please do > not use the "next" branch for real work. Sorry for the > breakage. Two-way merge by read-tree forgot to invalidate the directories a new element was added underneath. The fix is simple and will be in the "next" I'll push out tonight. Sorry for the noise.