From: Junio C Hamano Date: Thu, 08 Apr 2010 05:05:12 GMT Subject: Re: [PATCH] ls-remote: default to 'origin' when no remote specified Message-ID: <7vochu8rg7.fsf@alter.siamese.dyndns.org> In-Reply-To: <1270699083-5424-1-git-send-email-rctay89@gmail.com> 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"?