From: Jakub Narebski <jnareb@gmail.com>
To: Sven Verdoolaege <skimo@liacs.nl>
Cc: git@vger.kernel.org
Subject: Re: Gitweb and submodules
Date: Sat, 28 Jul 2007 12:29:16 +0200 [thread overview]
Message-ID: <200707281229.17351.jnareb@gmail.com> (raw)
In-Reply-To: <20070727123229.GB31114MdfPADPa@greensroom.kotnet.org>
On Fri, 27 July 2007, Sven Verdoolaege wrote
> On Fri, Jul 27, 2007 at 01:22:49PM +0200, Jakub Narebski wrote:
> > But for that I need a question answered: how to find GIT_DIR of
> > repository which contains submodule objects? We have to assume in
> > gitweb that repositories are bare...
>
> You'll have to add a configuration variable for that.
> The submodule may not even be on the same server.
What do you think about using "submodule.$name.gitdir" configuration
variable for that? It has to be configuration variable because the
location of repository which has submodule objects doesn't change when
checking out (or rewinding) to different commit in supermodule.
As a special case I'd use 'no value' to note that submodule objects are
contained in the supermodule repository.
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2007-07-28 10:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 11:22 Gitweb and submodules Jakub Narebski
2007-07-27 12:32 ` Sven Verdoolaege
2007-07-28 10:29 ` Jakub Narebski [this message]
2007-07-28 10:40 ` Sven Verdoolaege
2007-07-28 20:39 ` Jakub Narebski
2007-07-29 16:37 ` Sven Verdoolaege
2007-07-30 0:09 ` Jakub Narebski
2007-07-30 7:06 ` Sven Verdoolaege
2007-07-27 14:31 ` Lars Hjemli
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707281229.17351.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=skimo@liacs.nl \
/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.
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 NNTP newsgroup(s).