Re: [PATCH v1/RFC 1/1] 'git clone <url> C:\cygwin\home\USER\repo' is working (again)
- From
- J.H. van de Water <houder@xs4all.nl>
- Date
- Nov 28, 2018, 05:55 UTC
- Message-ID
- <1543384528-4498-1-git-send-email-houder@xs4all.nl>
- In-Reply-To
- <xmqq1s75u9im.fsf@gitster-ct.c.googlers.com>
Show 9 quoted lines
> > me@work /cygdrive > > $ ls > > c d > > > > So `/cygdrive` *is* a valid directory in Cygwin. > > That supports the code that does not special case a path that begins > with /cygdrive/ and simply treats it as a full path and freely use > relative path, I guess. Very good point.
Please read
https://cygwin.com/cygwin-ug-net/using.html#cygdrive
( The cygdrive path prefix ).... you can access arbitary drives on your system by using the cygdrive path prefix. The default value for this prefix is /cygdrive ... ....
The cygdrive prefix is a >>> virtual directory <<< under which all drives on a system are subsumed ... ....
The cygdrive prefix may be CHANGED in the fstab file as outlined above !!!!! ....
To simplify scripting, Cygwin also provides a /proc/cygdrive symlink, ...
=====