From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] xdl_merge(): introduce XDL_MERGE_ZEALOUS_ALNUM Date: Fri, 15 Feb 2008 09:32:57 -0800 Message-ID: <7vlk5mgm5y.fsf@gitster.siamese.dyndns.org> References: <7v3arxzlke.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Voltage Spike , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Fri Feb 15 18:33:56 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQ4Rc-0008QL-Cc for gcvg-git-2@gmane.org; Fri, 15 Feb 2008 18:33:52 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbYBORdT (ORCPT ); Fri, 15 Feb 2008 12:33:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753327AbYBORdS (ORCPT ); Fri, 15 Feb 2008 12:33:18 -0500 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:33451 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014AbYBORdS (ORCPT ); Fri, 15 Feb 2008 12:33:18 -0500 Received: from a-sasl-quonix.pobox.com (localhost [127.0.0.1]) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id 0993932DE; Fri, 15 Feb 2008 12:33:17 -0500 (EST) Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id 2B39732C1; Fri, 15 Feb 2008 12:33:07 -0500 (EST) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin writes: > Maybe even both. > > As Linus has stated in the other reply, up to three lines between two > conflicts could be "merged" with the conflicts by default, because less or > equally much screen estate would used. > > So I am thinking about an interface that is not too painful. I think there is no excuse not to coalesce hunks separated by three lines or less, so we can first get immediate improvement without any configuration or tweaking. My "less than N alnums" was ill thought out overengineering, and Linus's improvement is much cleaner.