From: Tay Ray Chuan Date: Thu, 08 Apr 2010 05:58:03 GMT Subject: Re: [PATCH] ls-remote: default to 'origin' when no remote specified Message-ID: In-Reply-To: <7vochu8rg7.fsf@alter.siamese.dyndns.org> Hi, On Thu, Apr 8, 2010 at 1:05 PM, Junio C Hamano wrote: > Tay Ray Chuan 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