RE: Question about submodules and absolute paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: git-owner@xxxxxxxxxxxxxxx [mailto:git-owner@xxxxxxxxxxxxxxx] 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]