X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=fBI2Susd4869esly2YTPGDtkDfYR
	SVG9m01wHn0mIHeOqdjQME+hz6zl6PhdcluSeZKNsN8zaZAfnzDEB+l21flAB/0i
	ecAoEbjXcaUR9UQT3Oct034SJosnbkap2YIRbTKLSjhwHvVsMHtCnwqQtwsXVuh2
	QZTqodIwB0dlzxM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; s=default; bh=QZsarib4qZ7MbSRvmfMONIBJDkk=; b=xY
	wM4U2t2xRm5UKWKu8QrJinJ174Q69LhpCYPmuaoP+FLwDYHB80EYY5dzutqlOXll
	u4qDDWkAPpqfsmNg4Drmd+GdjKmXkR0NhyXGYwh4bOCypQjwGSktJiWHKQNBLH10
	H/gJ5E7jykG/+ZYcodiI3yaCzF6j8Dfi62fe7coYU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=D*no, Carles.Cufi@nordicsemi.no, CarlesCufinordicsemino, sk:carles
X-HELO: etr-usa.com
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: git 2.8.3 spurious output
From: Warren Young <wyml@etr-usa.com>
In-Reply-To: <087DA9770269374FB58D517AC05CCA3F017497826F@mbx04.nvlsi.no>
Date: Thu, 9 Jun 2016 13:36:30 -0600
Message-Id: <C2079F30-ECD8-4BED-A63B-5B5F482FFC53@etr-usa.com>
References: <087DA9770269374FB58D517AC05CCA3F017497826F@mbx04.nvlsi.no>
To: The Cygwin Mailing List <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u59JbGr9017147

On Jun 9, 2016, at 1:52 AM, Cufi, Carles <Carles.Cufi@nordicsemi.no> wrote:
> 
>> I prefer to use Cygwin most of the
>> time, then run a âmingwâ script I wrote to temporarily shift my Cygwin
>> environment to MinGW mode:
> 
> This sounds like a very good idea, but the problem is that sometimes I need to run mingw commands from standard Windows Command Prompts.

So write a mingw.bat file that does something similar for cmd.exe.

It won’t be seen from Cygwin even if it’s in Cygwin’s path because Cygwin won’t run it without the “.bat” extension, and Cygwin’s mingw shell script won’t be run by cmd.exe, so the “mingw” command will mean something completely different to each shell.

Incidentally, I see that I forgot to fix a /c -> /cygdrive/c in the script I posted.  (I normally run with cygdrive mounted at the root, and write my scripts accordingly.)
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


