git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-remote: fixed missing .uploadpack usage for show command

From
CFChris Frey <cdfrey@foursquare.net>
Date
Jun 25, 2009, 09:00 UTC
Message-ID
<20090625090036.GA32650@foursquare.net>

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
Next: Junio C Hamano
Message 1 of 4 in “git-remote: fixed missing .uploadpack usage for show command”
  1. git-remote: fixed missing .uploadpack usage for show commandChris Frey, Jun 25, 2009
  2. Junio C HamanoJun 25, 2009
  3. git-remote: fixed missing .uploadpack usage for show commandChris Frey, Jun 25, 2009
  4. Junio C HamanoJun 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.