From: "Lars Hjemli" <hjemli@gmail.com>
To: "Jakub Narebski" <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Gitweb and submodules
Date: Fri, 27 Jul 2007 16:31:42 +0200 [thread overview]
Message-ID: <8c5c35580707270731l1fa5bd1dw94c9955d314b4ce6@mail.gmail.com> (raw)
In-Reply-To: <200707271322.50114.jnareb@gmail.com>
On 7/27/07, Jakub Narebski <jnareb@gmail.com> wrote:
> I'd like to add submodule support to gitweb, among others marking
> submodules as such in the 'tree' view and adding 'log' view link to
> them.
A bit of advertising:
http://hjemli.net/git/cgit/tree
The implementation can be found here:
http://hjemli.net/git/cgit/tree/ui-tree.c#81
> But for that I need a question answered: how to find GIT_DIR of
> repository which contains submodule objects?
Generally, you can't. But if you just want to show the log of the
submodule path, you probably don't need to do anything at all (except
the special handling in 'tree' view). If you do want to show the log
of the referenced repository, I guess a new entry in .gitmodules
could be helpful.
--
larsh
prev parent reply other threads:[~2007-07-27 14:31 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
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 [this message]
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=8c5c35580707270731l1fa5bd1dw94c9955d314b4ce6@mail.gmail.com \
--to=hjemli@gmail.com \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.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.
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).