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: C: vs /cygdrive/c and git


On 06/03/2010 02:03 PM, Bill Hoffman wrote:
> Can someone explain why if I use c:/some/path as an argument to git
> clone, it fails.  But if I use /cygdrive/c/some/path it works.

Because c:/some/path looks like you are asking for protocol:file for
talking to a remote machine, while /cygdrive/c/some/path makes it
obvious that you are asking for a local path, and because git is
compiled to behave in a posix manner.

If drive letters work, great for you.  But if they don't, I am not going
to spend any time beating up the source code to make them work.  They
are intentionally unsupported here - we prefer posix paths for a reason.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org
volunteer cygwin git maintainer

Attachment: signature.asc
Description: OpenPGP digital signature


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