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