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

[PATCH] remote: fix remote set-url usage

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 7, 2011, 03:36 UTC
Message-ID
<1320637017-30863-1-git-send-email-felipe.contreras@gmail.com>
Bad copy-paste.
Otherwise the help would be for a different command:
 git remote set-url --help
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 builtin/remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin/remote.c b/builtin/remote.c
index e1285be..2add79a 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -1427,7 +1427,7 @@ static int set_url(int argc, const char **argv)
 			    "delete URLs"),
 		OPT_END()
 	};
-	argc = parse_options(argc, argv, NULL, options, builtin_remote_update_usage,
+	argc = parse_options(argc, argv, NULL, options, builtin_remote_seturl_usage,
 			     PARSE_OPT_KEEP_ARGV0);
 
 	if (add_mode && delete_mode)
-- 
1.7.7
Next: Junio C Hamano
Message 1 of 5 in “remote: fix remote set-url usage”
  1. remote: fix remote set-url usageFelipe Contreras, Nov 7, 2011
  2. Junio C HamanoNov 7, 2011
  3. Junio C HamanoNov 7, 2011
  4. Junio C HamanoNov 7, 2011
  5. Jonathan NiederNov 7, 2011

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.