git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-remote: fixed missing .uploadpack usage for show command
@ 2009-06-25  9:00 Chris Frey
  2009-06-25 18:32 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Frey @ 2009-06-25  9:00 UTC (permalink / raw)
  To: git

When using 'git remote show <name>', the remote HEAD check
did not use the uploadpack configuration setting.

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
---
 builtin-remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin-remote.c b/builtin-remote.c
index 658d578..ec1f903 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);
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-25 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25  9:00 [PATCH] git-remote: fixed missing .uploadpack usage for show command Chris Frey
2009-06-25 18:32 ` Junio C Hamano
2009-06-25 21:21   ` Chris Frey
2009-06-25 21:48     ` [PATCH] git-remote: fix " Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).