Re: [PATCH] ls-remote: default to 'origin' when no remote specified
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Apr 8, 2010, 05:58 UTC
- Message-ID
- <o2qbe6fef0d1004072258h3cab0156o9f63d6bfa732eb87@mail.gmail.com>
- In-Reply-To
- <7vochu8rg7.fsf@alter.siamese.dyndns.org>
Hi,
On Thu, Apr 8, 2010 at 1:05 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Tay Ray Chuan <rctay89@gmail.com> writes: > >> Instead of breaking execution when no remote (as specified in the >> variable dest) is specified when git-ls-remote is invoked, continue on >> and let remote_get() handle it. > > Shouldn't it default to "branch.$current.remote", not "origin", though, as > ls-remote to inspect is most closely related to "git pull"?
actually, it already does so (remote_get() does all the magic); it was my commit message that was not accurate.
-- Cheers, Ray Chuan