From: Ron Garret Subject: Re: master^ is not a local branch -- huh?!? Date: Sat, 30 Jan 2010 00:56:22 -0800 Organization: Amalgamated Widgets Message-ID: References: <7vmxzwh906.fsf@alter.siamese.dyndns.org> <7vvdek70ma.fsf@alter.siamese.dyndns.org> <7vaavw1478.fsf@alter.siamese.dyndns.org> <7vhbq4xbok.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Jan 30 10:00:16 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 1Nb9Bf-0001aH-Ij for gcvg-git-2@lo.gmane.org; Sat, 30 Jan 2010 10:00:15 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752870Ab0A3JAJ (ORCPT ); Sat, 30 Jan 2010 04:00:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752863Ab0A3JAI (ORCPT ); Sat, 30 Jan 2010 04:00:08 -0500 Received: from lo.gmane.org ([80.91.229.12]:60800 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624Ab0A3JAG (ORCPT ); Sat, 30 Jan 2010 04:00:06 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nb9BV-0001Ti-4t for git@vger.kernel.org; Sat, 30 Jan 2010 10:00:05 +0100 Received: from 68-190-211-184.dhcp.gldl.ca.charter.com ([68.190.211.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jan 2010 10:00:05 +0100 Received: from ron1 by 68-190-211-184.dhcp.gldl.ca.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jan 2010 10:00:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 68-190-211-184.dhcp.gldl.ca.charter.com User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: In article <7vhbq4xbok.fsf@alter.siamese.dyndns.org>, Junio C Hamano wrote: > Ron Garret writes: > > > It wouldn't. Was this a trick question? Did you mean to ask what would > > happen if I ran commit -a? > > I didn't mean _literally_ "git commit". Any random thing you may want to > do when you come back to work the next day and find a checked out work > tree. Viewing, editing, committing, etc. Then I really don't understand the issue. I'd be in a situation that is no different from (in fact indistinguishable from) having manually edited my code so that it looks like an earlier checked-in version. What's the problem? rg