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

Re: [PATCH] git-remote: make remote name optional for prune operation

From
FGFrancis Galiegue <fge@one2team.com>
Date
May 6, 2009, 14:49 UTC
Message-ID
<200905061649.25351.fge@one2team.com>
In-Reply-To
<1241620621-12188-1-git-send-email-julien@danjou.info>
Le mercredi 06 mai 2009, Julien Danjou a écrit :
[...]
Didn't you forget a little something in your patch?
[...]
> diff --git a/builtin-remote.c b/builtin-remote.c
[...]
Show 6 quoted lines
> @@ -25,6 +25,7 @@ static const char * const builtin_remote_usage[] = {
>  
>  static int verbose;
>  
> +static int get_one_entry(struct remote *remote, void *priv);
>  static int show_all(void);
[...]
Show 6 quoted lines
>  
>  	if (argc < 1)
> -		usage_with_options(builtin_remote_usage, options);
> +	{
> +		struct string_list list = { NULL, 0, 0 };
> +		int result = for_each_remote(get_one_entry, &list);
-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris
Previous: Julien DanjouNext: Julien Danjou
Message 2 of 9 in “git-remote: make remote name optional for prune operation”
  1. git-remote: make remote name optional for prune operationJulien Danjou, May 6, 2009
  2. Francis GaliegueMay 6, 2009
  3. Julien DanjouMay 6, 2009
  4. Jacob HelwigMay 6, 2009
  5. Michael J GruberMay 6, 2009
  6. git-remote: make remote name optional for prune operationJulien Danjou, May 6, 2009
  7. Junio C HamanoMay 6, 2009
  8. Junio C HamanoMay 6, 2009
  9. Finn Arne GangstadMay 6, 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.