git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Alexey Pelykh <alexey.pelykh@gmail.com>
To: git@vger.kernel.org
Subject: Question about submodules and absolute paths
Date: Tue, 22 May 2012 14:36:45 +0300	[thread overview]
Message-ID: <CAOmKuSpqFrC7G4DbZu=uYDwvU6QqrJUi2aNBnSjy7_PXMMJpjQ@mail.gmail.com> (raw)
In-Reply-To: <CAOmKuSoYP9fYORDy5twLpFh7SQ7rc6x2A=F8XjfKMqo-ErCauQ@mail.gmail.com>

Hello,

Is it possible to avoid usage of absolute paths in information about
submodule? I'm working with same local repository from both Windows and
Linux. But unfortunately absolute paths in modules break all the sweetness,
since these paths differ from OS to OS and thus I have to keep two clones of
each repository.
Regarding absolute paths I refer to are:

In ${REPO}/.git/modules/${MODULE_RELATIVE_PATH}/config file:
[core]
   worktree =  ${FULL_REPO_PATH}/${MODULE_RELATIVE_PATH}

In ${REPO}/${MODULE_RELATIVE_PATH}/.git file:
gitdir: ${FULL_REPO_PATH}/.git/modules/${MODULE_RELATIVE_PATH}

Thanks,
Alexey

       reply	other threads:[~2012-05-22 11:36 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 ` Alexey Pelykh [this message]
2012-05-22 18:27   ` Question about submodules and absolute paths 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
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='CAOmKuSpqFrC7G4DbZu=uYDwvU6QqrJUi2aNBnSjy7_PXMMJpjQ@mail.gmail.com' \
    --to=alexey.pelykh@gmail.com \
    --cc=git@vger.kernel.org \
    /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).