RE: Question about submodules and absolute paths
- From
- Matt Seitz (matseitz) <matseitz@cisco.com>
- Date
- May 22, 2012, 19:25 UTC
- Message-ID
- <70952A932255A2489522275A628B97C31348C70D@xmb-sjc-233.amer.cisco.com>
- In-Reply-To
- <CAOmKuSrmxnHKaip2X87Y0Cp=XtLAtpAwUp71QhZ5od3gbDF2sg@mail.gmail.com>
> From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On > Behalf Of Alexey Pelykh > > Not on two machines, on single machine but with two OSes Windows +
Linux +
> shared 'work' partition :) So both Windows and Linux use same repo
clone
> that is stored on a 'work' partition. But due to those absolute paths,
it
> gives '/cygdrive/d/work' on windows and '/media/work' on linux. Thus I > have to keep 2 copies of each repository that uses submodules (and
that is
> very inconvenient :( )
As a workaround, how about using Cygwin's mount table to mount "/media" to "d:/", or "/media/work" to "d:/work"?
See: http://cygwin.com/cygwin-ug-net/using.html#mount-table