From: Matt Seitz (matseitz) Date: Tue, 22 May 2012 19:25:28 GMT Subject: RE: Question about submodules and absolute paths Message-ID: <70952A932255A2489522275A628B97C31348C70D@xmb-sjc-233.amer.cisco.com> In-Reply-To: > 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