delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/03/16:20:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C080E71.5000608@redhat.com>
Date: Thu, 03 Jun 2010 14:20:01 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: C: vs /cygdrive/c and git
References: <4C080A98 DOT 8090004 AT kitware DOT com>
In-Reply-To: <4C080A98.8090004@kitware.com>
X-IsSubscribed: yes
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

--------------enig46D24947DF110980DB599013
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.

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


--------------enig46D24947DF110980DB599013
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMCA52AAoJEKeha0olJ0Nq5SoH/iUDD65kXDytTt179+8hXopq
yoIwokJDevkCeIP2LfUpXx5XTHCywH0eDd1LA7WYWi6rAKmQeAdoIHhL0CPJe82X
TfwmtRJyl95gV6wlSbIXo2yDXxAofnBXY9Ydp4C729Rl+4Qjj1IT18K9VkOM4MTU
oMPPYLXsyPN3lqyDNGe2E4CPnE3tPvgJAUuNJYXlDlC72OaGWZshgcOulf4y2iAV
xauVUdJH4KRQlyOw+aL9mgFJIJvAi1xrO1koGoi1ZjNQxgZv32Ttwu3lIhJ17Wkp
Psgh14B3MeMZ9yaAkFUoJPdrYNoTDyfoL1hslP7HX54l89D/ZqFkIdFJUjcISM4=
=wHuk
-----END PGP SIGNATURE-----

--------------enig46D24947DF110980DB599013--

- Raw text -


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