diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-07-01 19:40:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-01 19:40:54 -0700 |
commit | 59773c7e583b1dcf4b63c4ee222b79cef460456b (patch) | |
tree | 35275079bb399b2a212ee991a7263d1dacee91d1 /builtin-remote.c | |
parent | e6c7c2cc9766434607b8da5db872e7881a043925 (diff) | |
parent | 345a38039414366e91a32f3c01257c3afcf78e27 (diff) | |
download | git-59773c7e583b1dcf4b63c4ee222b79cef460456b.tar.gz |
Merge branch 'cf/maint-remote-uploadpack-useconfig-fix'
* cf/maint-remote-uploadpack-useconfig-fix:
git-remote: fix missing .uploadpack usage for show command
Diffstat (limited to 'builtin-remote.c')
-rw-r--r-- | builtin-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-remote.c b/builtin-remote.c index 2fb76d32f8..008abfe092 100644 --- a/builtin-remote.c +++ b/builtin-remote.c @@ -787,7 +787,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); |