From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shawn O. Pearce" Subject: Re: [PATCH] Work around a bad interaction between Tcl and cmd.exe with "^{tree}" Date: Thu, 12 Jul 2007 02:47:38 -0400 Message-ID: <20070712064738.GT4436@spearce.org> References: <4693AF6C.99DB933@eudaptics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Johannes Sixt X-From: git-owner@vger.kernel.org Thu Jul 12 08:47:48 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8sSn-0001Jo-TN for gcvg-git@gmane.org; Thu, 12 Jul 2007 08:47:46 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753031AbXGLGrn (ORCPT ); Thu, 12 Jul 2007 02:47:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752985AbXGLGrn (ORCPT ); Thu, 12 Jul 2007 02:47:43 -0400 Received: from corvette.plexpod.net ([64.38.20.226]:52827 "EHLO corvette.plexpod.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752083AbXGLGrm (ORCPT ); Thu, 12 Jul 2007 02:47:42 -0400 Received: from [74.70.48.173] (helo=asimov.home.spearce.org) by corvette.plexpod.net with esmtpa (Exim 4.66) (envelope-from ) id 1I8sSh-0002MA-68; Thu, 12 Jul 2007 02:47:39 -0400 Received: by asimov.home.spearce.org (Postfix, from userid 1000) id CA24620FBAE; Thu, 12 Jul 2007 02:47:38 -0400 (EDT) Content-Disposition: inline In-Reply-To: <4693AF6C.99DB933@eudaptics.com> User-Agent: Mutt/1.5.11 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - corvette.plexpod.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - spearce.org Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Sixt wrote: > It seems that MSYS's wish does some quoting for Bourne shells, in > particular, escape the first '{' of the "^{tree}" suffix, but then it uses > cmd.exe to run "git rev-parse". However, cmd.exe does not remove the > backslash, so that the resulting rev expression ends up in git's guts > as unrecognizable garbage: rev-parse fails, and git-gui hickups in a way > that it must be restarted. Finally fixed in git-gui 0.7.5, which I just pushed out. -- Shawn.