From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] provide a new "theirs" strategy, useful for rebase --onto Date: Sun, 08 Jun 2008 13:59:16 -0700 Message-ID: <7vk5gziqxn.fsf@gitster.siamese.dyndns.org> References: <7vfxrqrwjm.fsf@gitster.siamese.dyndns.org> <484B49D5.8080708@gnu.org> <7vmylwl4t9.fsf@gitster.siamese.dyndns.org> <484BE0BE.1050102@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Git Mailing List , s-beyer@gmx.net To: Paolo Bonzini X-From: git-owner@vger.kernel.org Sun Jun 08 23:00:33 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 1K5S05-0005rT-Ka for gcvg-git-2@gmane.org; Sun, 08 Jun 2008 23:00:30 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755198AbYFHU7e (ORCPT ); Sun, 8 Jun 2008 16:59:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755213AbYFHU7e (ORCPT ); Sun, 8 Jun 2008 16:59:34 -0400 Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:49790 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755028AbYFHU7d (ORCPT ); Sun, 8 Jun 2008 16:59:33 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id F0FA91618; Sun, 8 Jun 2008 16:59:29 -0400 (EDT) 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-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 4EC1E1609; Sun, 8 Jun 2008 16:59:23 -0400 (EDT) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: C99EC9BC-359D-11DD-BBDA-F9737025C2AA-77302942!a-sasl-fastnet.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Paolo Bonzini writes: > #! /bin/sh > # git-merge-after-amend > # > # Makes it possible to do a fast-forward merge of > # into HEAD, assuming that the first diverging commit of > # is an --amend'ed version of the first diverging commit of HEAD. Can this strong special case limitation "only the first one can be the amend" somehow be loosened? Otherwise I suspect it would not be useful as a general solution.