From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: What's new in git.git master branch Date: Thu, 01 Dec 2005 21:45:17 -0800 Message-ID: <7vacfk9hn6.fsf@assigned-by-dhcp.cox.net> References: <7vlkz5n3r1.fsf@assigned-by-dhcp.cox.net> <20051201085433.GA7866@c165.ib.student.liu.se> <7vmzjljgwo.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri Dec 02 06:46:43 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ei3jh-0006E9-UC for gcvg-git@gmane.org; Fri, 02 Dec 2005 06:45:34 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750861AbVLBFpU (ORCPT ); Fri, 2 Dec 2005 00:45:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751661AbVLBFpU (ORCPT ); Fri, 2 Dec 2005 00:45:20 -0500 Received: from fed1rmmtao04.cox.net ([68.230.241.35]:28627 "EHLO fed1rmmtao04.cox.net") by vger.kernel.org with ESMTP id S1750845AbVLBFpT (ORCPT ); Fri, 2 Dec 2005 00:45:19 -0500 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051202054355.RHXU17690.fed1rmmtao04.cox.net@assigned-by-dhcp.cox.net>; Fri, 2 Dec 2005 00:43:55 -0500 To: Fredrik Kuivinen In-Reply-To: <7vmzjljgwo.fsf@assigned-by-dhcp.cox.net> (Junio C. Hamano's message of "Thu, 01 Dec 2005 01:38:47 -0800") 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: > Fredrik Kuivinen writes: > >> It turns out that this change breaks the directory/file conflict >> handling in git-merge-recursive. >> >> git-ls-tree -r -z >> >> Should we do it that way or should ls-tree be changed? > > Ouch. Sorry, I should have been more careful. So we updated ls-tree to take -t flag which shows tree entries under -r flag. I'd appreciate if you test the attached patch. > Also I think I broke the case where base trees need to be merged > in 58cce8a8 commit (I changed processEntry not to collapse the > index entry when file content changes cannot be automerged, but > that change has to be done only for the final merge, and merges > between base trees must collapse to be able to write the index > file out as a tree). I think that the above worry was unfounded, because the updateFileExt call I removed to prevent it from collapsing the unmerged entries was in effect only in !cacheOnly case (i.e. callDepth == 0).