delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/19/17:58:40

X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=HNtvDDJzC76gJFe5
/Q83V5brE3qwdHjn4ez6sQzyqZYipM3YFpO2/F4NRsyyS5eLg130tabKggEhqUQv
Lrmp9VZTug8otk6aqBk6rhpxFMc+13Sy9MRUp/hPTS2qHGm3/L/XeddMgW/ozuEg
Bj7ojZ8XTO7AF1wwP7pFOY/ZJYI=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=w9Vd7vBfVt3cSGziTel2i+
NAx4s=; b=oX2C4FomCMSrfLTtZSlJVJhA//aA417V4of0aaWsqyEP0B7gv82yFP
0MvAXFcazpsGgxtgt0RyDj4Zg9HnrKezECYWnPR7xR03B8FAjzy/jvRdHz/vfiYs
58EksbZsP1uoyZRn3mBZaM35enGRxUnW7Md8q1ozOzBfS/uBvd6AI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:892b8f6, H*MI:sk:892b8f6, H*f:sk:892b8f6, hey
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: git and absolute Windows-style paths
To: cygwin AT cygwin DOT com
References: <57169662 DOT 9060503 AT gmail DOT com> <892b8f62-266a-da20-c8f4-4b2b82a66c39 AT gmail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <5716A9FA.6020407@cornell.edu>
Date: Tue, 19 Apr 2016 17:58:18 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <892b8f62-266a-da20-c8f4-4b2b82a66c39@gmail.com>
X-PMX-Cornell-Gauge: Gauge=X
X-IsSubscribed: yes

On 4/19/2016 5:31 PM, Marco Atzeri wrote:
> On 19/04/2016 22:34, silverwind wrote:
>> Hey,
>>
>> I noticed that Cygwin's git does not seem to correctly process
>> Windows-style paths in at least v2.7.4 and v2.8.1. It may have worked
>> before, but I'm not totally certain.
>
> don't assume cygwin programs are able to process windows path.
> Most don't. Use Posix paths

But I think the OP is correct in pointing out that git should have given 
an error, as it does when a Posix path points to a non-existent file:

$ git add foo
fatal: pathspec 'foo' did not match any files

Ken

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019