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

Re: [PATCH v3] gitweb: Replace <base> tag with full URLs (when using PATH_INFO)

From
TGTobias Girstmair <tobi@isticktoit.net>
Date
Jul 13, 2020, 14:59 UTC
Message-ID
<20200713145931.GA1059578@isticktoit.net>
In-Reply-To
<xmqq1rlfpj8i.fsf@gitster.c.googlers.com>
On Mon, Jul 13, 2020 at 07:44:45AM -0700, Junio C Hamano wrote:
>Any other cases that are
>affected by this, or is README the only one?
>

README.html is the only per-repository file, but gitweb has some (unset/nonexisting by default) config variables to include more HTML: $site_header, $site_footer, $home_text. These are described in 'man 5 gitweb.conf' under "Changing gitweb's look". grepping for 'insert_file' reveals them in the code.

	tobias
Previous: Junio C HamanoNext: Tobias Girstmair
Message 9 of 10 in “gitweb: Replace <base> tag with full URLs (when using PATH_INFO)”
  1. gitweb: Replace <base> tag with full URLs (when using PATH_INFO)Tobias Girstmair, Jul 11, 2020
  2. gitweb: Replace <base> tag with full URLs (when using PATH_INFO)Tobias Girstmair, Jul 12, 2020
  3. gitweb: Replace <base> tag with full URLs (when using PATH_INFO)Tobias Girstmair, Jul 12, 2020
  4. Junio C HamanoJul 12, 2020
  5. Tobias GirstmairJul 12, 2020
  6. Junio C HamanoJul 13, 2020
  7. Tobias GirstmairJul 13, 2020
  8. Junio C HamanoJul 13, 2020
  9. Tobias GirstmairJul 13, 2020
  10. Tobias GirstmairNov 20, 2020

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.