This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin Git with Windows paths


This is very much the point of msys2.

On Sun, Nov 18, 2018, 6:07 AM Steven Penny <svnpenn@gmail.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]