Re: Question about submodules and absolute paths

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

 



Thanks, Matt.

Indeed this is a workaround, what I was thinking about to use. The
thing I wanted actually to discuss whether it worth to research
possibility of replacing these absolute paths with relative ones. At
least afaik, git repo clone is fully portable (movable) except for
submodules. So I wanted to ask community if this is an intended
behavior, or it may (and should?) be refined.

Best regards,
Alexey

On Tue, May 22, 2012 at 10:25 PM, Matt Seitz (matseitz)
<matseitz@xxxxxxxxx> wrote:
>> 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]