summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-07-08 16:52:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-07-08 16:52:14 (GMT)
commitb13493b2b492d433cf1e3b33a840bc3122f95ee0 (patch)
tree70ef887870dc5c52e1e20f5604ecfd5073a0f1ad
parent595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb (diff)
parent345a38039414366e91a32f3c01257c3afcf78e27 (diff)
downloadgit-b13493b2b492d433cf1e3b33a840bc3122f95ee0.zip
git-b13493b2b492d433cf1e3b33a840bc3122f95ee0.tar.gz
git-b13493b2b492d433cf1e3b33a840bc3122f95ee0.tar.bz2
Merge branch 'cf/maint-remote-uploadpack-useconfig-fix' into maint
* cf/maint-remote-uploadpack-useconfig-fix: git-remote: fix missing .uploadpack usage for show command
-rw-r--r--builtin-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-remote.c b/builtin-remote.c
index d436412..7685cfc 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c
@@ -789,7 +789,7 @@ static int get_remote_ref_states(const char *name,
read_branches();
if (query) {
- transport = transport_get(NULL, states->remote->url_nr > 0 ?
+ transport = transport_get(states->remote, states->remote->url_nr > 0 ?
states->remote->url[0] : NULL);
remote_refs = transport_get_remote_refs(transport);
transport_disconnect(transport);