From: Jay Soffian Date: Wed, 20 Feb 2008 20:22:08 GMT Subject: Re: [PATCH 2/2] Add support for url aliases in config files Message-ID: <76718490802201222y5bbe09d5j541690669a96672f@mail.gmail.com> In-Reply-To: <7vfxvn4cyh.fsf@gitster.siamese.dyndns.org> On Feb 20, 2008 2:58 PM, Junio C Hamano wrote: > > "Jay Soffian" writes: > > > On Feb 20, 2008 2:24 PM, Daniel Barkalow wrote: > >> This order of values is definitely the right thing, for the mapping > >> reasons you saw. And I think "aka" is generally used to indicate > >> additional non-canonical names for something with an official name (see, > >> for example, IMDB's usage). I haven't been able to come up with anything > >> better to indicate "this is a name that I will recognize but not use > >> myself". > > > > I think the word you want is "alias", isn't it? I've never really seen > > aka used in a technical sense, whereas alias is used quite often (URL > > aliases, DNS aliases, etc). So: > > > > url.$canonical_name.alias = $local_name. > > Read the first line you quoted, and think again. Well I'm just not seeing it, but you could you do it just like the [alias] section? git config url.local canonical [url] local = canonical git config would have to be extended to deal with a URL on the LHS. ?