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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 20, 2008 2:58 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> "Jay Soffian" <jaysoffian@xxxxxxxxx> writes:
>
> > On Feb 20, 2008 2:24 PM, Daniel Barkalow <barkalow@xxxxxxxxxxxx> 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.


?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux