git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Two gitweb feature requests

From
David Woodhouse <dwmw2@infradead.org>
Date
Apr 29, 2006, 21:38 UTC
Message-ID
<1146346681.10561.118.camel@shinybook.infradead.org>
In-Reply-To
<Pine.LNX.4.64.0604272250420.4963@mundungus.clifford.ac>
On Thu, 2006-04-27 at 22:54 +0000, Ben Clifford wrote:
Show 5 quoted lines
> 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
Previous: Ben CliffordNext: sean
Message 5 of 11 in “Two gitweb feature requests”
  1. David WoodhouseApr 27, 2006
  2. Matthias LederhoferApr 27, 2006
  3. David WoodhouseApr 27, 2006
  4. Ben CliffordApr 27, 2006
  5. David WoodhouseApr 29, 2006
  6. seanApr 28, 2006
  7. Jakub NarebskiApr 28, 2006
  8. Linus TorvaldsApr 28, 2006
  9. Jakub NarebskiApr 28, 2006
  10. Jeff KingApr 29, 2006
  11. Jakub NarebskiApr 29, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.