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

Re: Complex gitweb URL

From
CDCLOSE Dave <dave.close@us.thalesgroup.com>
Date
Jul 20, 2016, 21:46 UTC
Message-ID
<6505ebe4-15ab-b0ae-10de-6918e1c885da@us.thalesgroup.com>
In-Reply-To
<578FEB1E.5060302@gmail.com>
On 07/20/16 02:20 PM, Jakub Narębski wrote:
> See e.g. http://repo.or.cz/?p=git/zerocommit.git;a=tree;hb=master;f=t

Ah! You have the branch in the hb= parameter whereas I had HEAD in that one. Since HEAD is the default, I suppose I don't really need it.

Indeed, if I use a URL like "http://site/gitweb/?p=repo;a=blob;f=file;hb=branch", I get my file.

Thanks for the clue.
-- 
	Dave Close
Previous: Jakub NarębskiNext: Jakub Narębski
Message 5 of 7 in “Complex gitweb URL”
  1. CLOSE DaveJul 20, 2016
  2. Jakub NarębskiJul 20, 2016
  3. CLOSE DaveJul 20, 2016
  4. Jakub NarębskiJul 20, 2016
  5. CLOSE DaveJul 20, 2016
  6. Jakub NarębskiJul 23, 2016
  7. Junio C HamanoJul 25, 2016

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.