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

Re: [PATCH] remote: fix remote set-url usage

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 7, 2011, 09:48 UTC
Message-ID
<20111107094841.GE30641@elie.hsd1.il.comcast.net>
In-Reply-To
<7vfwi04itx.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 8 quoted lines
> --- a/builtin/remote.c
> +++ b/builtin/remote.c
> @@ -1336,7 +1336,7 @@ static int set_branches(int argc, const char **argv)
>  			     builtin_remote_setbranches_usage, 0);
>  	if (argc == 0) {
>  		error("no remote specified");
> -		usage_with_options(builtin_remote_seturl_usage, options);
> +		usage_with_options(builtin_remote_setbranches_usage, options);
Good eyes.  Thanks for catching it.
Previous: Junio C Hamano
Message 5 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.