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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[...]
> @@ -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);
[...]
>  
>  	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@xxxxxxxxxxxx
40 avenue Raymond Poincaré
75116 Paris
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]