From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: re-running merge on a single file Date: Fri, 12 Mar 2010 07:45:29 +0100 Message-ID: <4B99E309.2070603@viscovery.net> References: <201003112129.52596.markus.heidelberg@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Jakub Narebski , GIT To: Chris Packham X-From: git-owner@vger.kernel.org Fri Mar 12 07:45:43 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Npycs-00047U-Jx for gcvg-git-2@lo.gmane.org; Fri, 12 Mar 2010 07:45:38 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418Ab0CLGpd (ORCPT ); Fri, 12 Mar 2010 01:45:33 -0500 Received: from lilzmailso02.liwest.at ([212.33.55.13]:62473 "EHLO lilzmailso01.liwest.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753236Ab0CLGpd (ORCPT ); Fri, 12 Mar 2010 01:45:33 -0500 Received: from cpe228-254.liwest.at ([81.10.228.254] helo=theia.linz.viscovery) by lilzmailso01.liwest.at with esmtpa (Exim 4.69) (envelope-from ) id 1Npyck-00040y-90; Fri, 12 Mar 2010 07:45:30 +0100 Received: from [127.0.0.1] (J6T.linz.viscovery [192.168.1.95]) by theia.linz.viscovery (Postfix) with ESMTP id F09C51660F; Fri, 12 Mar 2010 07:45:29 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-Spam-Score: -1.4 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Chris Packham schrieb: > $ git checkout --merge -- cpu/mpc83xx/start.S > $ git show :1:$(git rev-parse --show-prefix)cpu/mpc83xx/start.S > fatal: Path 'cpu/mpc83xx/start.S' is in the index, but not at stage 1. > Did you mean ':0:cpu/mpc83xx/start.S'? Both of these work only as long as the index still records the conflicted state. If you (or one of your tools) has git-added the file, or you have git-checked-out some version of the file, the conflict stages are lost, and you must reset --hard and redo the entire merge. -- Hannes