From: Alexey Pelykh <alexey.pelykh@gmail.com>
To: "Matt Seitz (matseitz)" <matseitz@cisco.com>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Question about submodules and absolute paths
Date: Tue, 22 May 2012 22:29:07 +0300 [thread overview]
Message-ID: <CAOmKuSqRHMS+hvCXL4Ok6ReTPW-3xT9SunGeibjCCCgVk9SU6Q@mail.gmail.com> (raw)
In-Reply-To: <70952A932255A2489522275A628B97C31348C70D@xmb-sjc-233.amer.cisco.com>
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@cisco.com> wrote:
>> 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
>
next prev parent reply other threads:[~2012-05-22 19:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAOmKuSoYP9fYORDy5twLpFh7SQ7rc6x2A=F8XjfKMqo-ErCauQ@mail.gmail.com>
2012-05-22 11:36 ` Question about submodules and absolute paths Alexey Pelykh
2012-05-22 18:27 ` Junio C Hamano
2012-05-22 19:18 ` Alexey Pelykh
2012-05-22 19:25 ` Matt Seitz (matseitz)
2012-05-22 19:29 ` Alexey Pelykh [this message]
2012-05-22 19:36 ` Matt Seitz (matseitz)
2012-05-22 20:25 ` Alexey Pelykh
2012-05-22 21:06 ` Junio C Hamano
2012-05-23 7:24 ` Jens Lehmann
2012-05-23 7:32 ` Alexey Pelykh
2012-05-23 20:42 ` Jens Lehmann
2012-05-24 5:08 ` Alexey Pelykh
2012-05-23 5:36 ` Johannes Sixt
2012-05-23 5:39 ` Alexey Pelykh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOmKuSqRHMS+hvCXL4Ok6ReTPW-3xT9SunGeibjCCCgVk9SU6Q@mail.gmail.com \
--to=alexey.pelykh@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=matseitz@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).