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

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 20, 2008, 19:44 UTC
Message-ID
<200802202044.54987.jnareb@gmail.com>
In-Reply-To
<alpine.LSU.1.00.0802191547580.30505@racer.site>
Johannes Schindelin wrotr:
 
Show 11 quoted lines
> I just tried this:
> 
> $ git config rewrite."master.kernel.org:/pub".url \
> 	git://git.kernel.org/pub/
> 
> and it worked.  IOW, the config will look like this:
> 
> [rewrite "master.kernel.org:/pub"]
>         url = git://git.kernel.org/pub/
> 
> So maybe this is easier to grasp?

Perhaps that it is easier to grasp, but imho it is backwards, as it is inherently 1 -> 1 in <original> -> <rewritten>, while I think it is more common to have n -> 1, i.e. multiple URLs (aliases), multiple alternative "spellings" with one tried way to access repository.

-- 
Jakub Narebski
Poland
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 5 of 11 in “Add support for host aliases in config files”
  1. 2/2 Add support for host aliases in config filesDaniel Barkalow, Feb 19, 2008
  2. Jon LoeligerFeb 19, 2008
  3. Johannes SchindelinFeb 19, 2008
  4. Daniel BarkalowFeb 19, 2008
  5. Jakub NarebskiFeb 20, 2008
  6. Daniel BarkalowFeb 19, 2008
  7. Junio C HamanoFeb 19, 2008
  8. Daniel BarkalowFeb 20, 2008
  9. Johannes SchindelinFeb 20, 2008
  10. Junio C HamanoFeb 20, 2008
  11. Johannes SchindelinFeb 20, 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.