From: David Woodhouse <dwmw2@infradead.org>
To: Ben Clifford <benc@hawaga.org.uk>
Cc: Kay Sievers <kay.sievers@vrfy.org>, git@vger.kernel.org
Subject: Re: Two gitweb feature requests
Date: Sat, 29 Apr 2006 22:38:00 +0100 [thread overview]
Message-ID: <1146346681.10561.118.camel@shinybook.infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0604272250420.4963@mundungus.clifford.ac>
On Thu, 2006-04-27 at 22:54 +0000, Ben Clifford wrote:
> HTML has a <link> element which can be used to indicate alternate forms of
> a page. Gitweb already generates one already to point people at the RSS
> feeds.
>
> Kinda messy to make all the git tools learn how to read HTML, though...
They wouldn't necessarily need to. git-clone and git-pull attempt to use
URLs which wouldn't be used in normal gitweb usage -- for example, any
attempt to fetch http://git.infradead.org/?p=mtd-2.6.git/HEAD or
http://git.infradead.org/?p=mtd-2.6.git/refs/heads can be assumed to be
an attempt to clone or pull with git. So gitweb could be modified to
detect those URLs and give a simple textual redirect which the git tools
could understand.
--
dwmw2
next prev parent reply other threads:[~2006-04-29 21:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 13:27 Two gitweb feature requests David Woodhouse
2006-04-27 13:35 ` Matthias Lederhofer
2006-04-27 13:47 ` David Woodhouse
2006-04-27 22:54 ` Ben Clifford
2006-04-29 21:38 ` David Woodhouse [this message]
[not found] ` <20060428122630.234edde4.seanlkml@sympatico.ca>
2006-04-28 16:26 ` sean
2006-04-28 17:37 ` Jakub Narebski
2006-04-28 18:23 ` Linus Torvalds
2006-04-28 19:11 ` Jakub Narebski
2006-04-29 5:02 ` Jeff King
2006-04-29 11:16 ` Jakub Narebski
-- strict thread matches above, loose matches on Subject: below --
2006-04-29 7:27 Jakub Narebski
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=1146346681.10561.118.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=benc@hawaga.org.uk \
--cc=git@vger.kernel.org \
--cc=kay.sievers@vrfy.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.
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).