All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: git@vger.kernel.org
Subject: Re: Multiple push remotes via aliases
Date: Sun, 10 May 2015 11:46:27 -0700	[thread overview]
Message-ID: <xmqq4mnkgtj0.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20150510181703.GC225482@vauxhall.crustytoothpaste.net> (brian m. carlson's message of "Sun, 10 May 2015 18:17:03 +0000")

"brian m. carlson" <sandals@crustytoothpaste.net> writes:

> I recently discovered that it was possible to specify multiple push URLs
> for a remote.  This is useful for me because some of my projects live
> both on GitHub and on my own server, and some live only one place or the
> other.
>
> One feature that I'm looking for, however, is the ability to specify
> those URLs by reference to another remote.

Two issues that immediately comes to my mind are

 (1) how you deal with a misconfiguration that makes a loop;

 (2) how would you disambiguate a local directory and a nickname.

I do not think either is insurmountable and as long as clean
solutions for them are implemented I would say "why not?" for the
new feature.  Of course there may be other issues other than these
two knee-jerk ones.

  reply	other threads:[~2015-05-10 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-10 18:17 Multiple push remotes via aliases brian m. carlson
2015-05-10 18:46 ` Junio C Hamano [this message]
2015-05-10 19:10   ` brian m. carlson
2015-05-11 14:17 ` Michael Haggerty

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=xmqq4mnkgtj0.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=sandals@crustytoothpaste.net \
    /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.