Re: [PATCH] git-remote: make remote name optional for prune operation
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