aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-07-08 09:52:14 -0700
committerJunio C Hamano <gitster@pobox.com>2009-07-08 09:52:14 -0700
commitb13493b2b492d433cf1e3b33a840bc3122f95ee0 (patch)
tree70ef887870dc5c52e1e20f5604ecfd5073a0f1ad
parent595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb (diff)
parent345a38039414366e91a32f3c01257c3afcf78e27 (diff)
downloadgit-b13493b2b492d433cf1e3b33a840bc3122f95ee0.tar.gz
git-b13493b2b492d433cf1e3b33a840bc3122f95ee0.tar.xz
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 d436412d9..7685cfcaf 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);