Re: Question about submodules and absolute paths
- From
Alexey Pelykh <alexey.pelykh@gmail.com>
- Date
- May 22, 2012, 19:18 UTC
- Message-ID
- <CAOmKuSrmxnHKaip2X87Y0Cp=XtLAtpAwUp71QhZ5od3gbDF2sg@mail.gmail.com>
- In-Reply-To
- <7vk4043wc5.fsf@alter.siamese.dyndns.org>
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 :( )
On Tue, May 22, 2012 at 9:27 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> Alexey Pelykh <alexey.pelykh@gmail.com> writes: > >> since these paths differ from OS to OS and thus I have to keep two clones of >> each repository. > > I am not sure what "absolute path" has with this. If you are working on > two machines, don't you need two clones, one for each, anyway?