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