delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/18/03:36:18

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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=V3D1tBp
utK71Kr4NUmR8svGUtdjCi9cri+oRUnUxQC/JNuIl94A2ueBFE80CuCeEudRt8UB
904KN/kUkNs3AsZX0LPSqeb6+zF3napoqPeJe/fEoQLgHvkq+bPoWpCpksyWlyrP
JHPjZ4TfOqAf1tnuSmwR5TiRJCZGOtrO76nE=
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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=yRKyI7mXjCx5f
NY20rFqn2lXxAY=; b=n6BQ6KczohFtboXbZYLY7Czwvm1GernzsbGD9cIPaolB1
TtJqfCofXHrYHYdKiPUVgt5UgSHDygm71k5BcjlXcP5yi3JBf4tyYZeCDexujB3B
yieZQ/plOM+V9M5oqUHK/ADu1/sZzeNUjG9u1G+8Qjshh8XshjCNfh3TxTwjZk=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:Sun, penny, Penny, H*c:alternative
X-HELO: mail-lj1-f177.google.com
MIME-Version: 1.0
References: <5bf10195 DOT 1c69fb81 DOT 27494 DOT eed4 AT mx DOT google DOT com>
In-Reply-To: <5bf10195.1c69fb81.27494.eed4@mx.google.com>
From: Ray Donnelly <mingw DOT android AT gmail DOT com>
Date: Sun, 18 Nov 2018 08:35:50 +0000
Message-ID: <CAOYw7duJhns_6s4Le34y7zAtfL7o9zwupG0qrb+X=4hcvxn2Xw@mail.gmail.com>
Subject: Re: Cygwin Git with Windows paths
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

This is very much the point of msys2.

On Sun, Nov 18, 2018, 6:07 AM Steven Penny <svnpenn AT gmail DOT com wrote:

> Cygwin Git can clone with Unix form paths:
>
>     $ git clone git://github.com/benhoyt/goawk /tmp/goawk
>     Cloning into '/tmp/goawk'...
>     remote: Enumerating objects: 330, done.
>
> However it fails with Windows form:
>
>     $ git clone git://github.com/benhoyt/goawk 'C:\cygwin64\tmp\goawk'
>     Cloning into 'C:\cygwin64\tmp\goawk'...
>     fatal: Invalid path '/home/Steven/C:\cygwin64\tmp\goawk': No such file
> or
>     directory
>
> and mixed form:
>
>     $ git clone git://github.com/benhoyt/goawk C:/cygwin64/tmp/goawk
>     fatal: Invalid path '/home/Steven/C:/cygwin64': No such file or
> directory
>
> Note that other Cygwin programs work fine with these forms:
>
>     $ ls 'C:\cygwin64'
>     bin         Cygwin.ico           dev  home  sbin  usr
>     Cygwin.bat  Cygwin-Terminal.ico  etc  lib   tmp   var
>
> This causes problems for any non-Cygwin tools that might call Git:
>
> http://github.com/golang/go/issues/23155
>
>
> --
> 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
>
>

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