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

Re: [PATCH] Add support for host aliases in config files

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 17, 2008, 18:48 UTC
Message-ID
<m3zltza06r.fsf@localhost.localdomain>
In-Reply-To
<alpine.LNX.1.00.0802171337000.5816@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> +host.<name>.*::
> +	These options provide a way to rewrite URLs when there is a
> +	pattern of URLs with a common prefix which should be replaced
> +	with a different prefix. For every 'alias' prefix given, any
You menat 'rewritebase' prefix here, isn't it?
Show 5 quoted lines
> +------------
> +	[host "<host>"]
> +		base = <actual url base>
> +		rewritebase = <other url base>
> +------------
[...]
> +		else if (!strcmp(subkey, ".rewritebase"))
> +			add_alias(host, xstrdup(value));
> +	}
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 2 of 6 in “Add support for host aliases in config files”
  1. Add support for host aliases in config filesDaniel Barkalow, Feb 17, 2008
  2. Jakub NarebskiFeb 17, 2008
  3. Daniel BarkalowFeb 17, 2008
  4. Johannes SchindelinFeb 17, 2008
  5. Junio C HamanoFeb 18, 2008
  6. Daniel BarkalowFeb 18, 2008

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.