All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Jon Loeliger <jdl@freescale.com>,
	Daniel Barkalow <barkalow@iabervon.org>,
	Junio C Hamano <gitster@pobox.com>,
	git@vger.kernel.org
Subject: Re: [PATCH 2/2] Add support for host aliases in config files
Date: Wed, 20 Feb 2008 20:44:53 +0100	[thread overview]
Message-ID: <200802202044.54987.jnareb@gmail.com> (raw)
In-Reply-To: <alpine.LSU.1.00.0802191547580.30505@racer.site>

Johannes Schindelin wrotr:
 
> 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

  parent reply	other threads:[~2008-02-20 19:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19  4:28 [PATCH 2/2] Add support for host aliases in config files Daniel Barkalow
2008-02-19 15:11 ` Jon Loeliger
2008-02-19 15:49   ` Johannes Schindelin
2008-02-19 16:52     ` Daniel Barkalow
2008-02-20 19:44     ` Jakub Narebski [this message]
2008-02-19 16:45   ` Daniel Barkalow
2008-02-19 21:35     ` Junio C Hamano
2008-02-20  0:02       ` Daniel Barkalow
2008-02-20  1:01         ` Johannes Schindelin
2008-02-20  1:04           ` Junio C Hamano
2008-02-20  1:14             ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802202044.54987.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jdl@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.