Re: [PATCH 2/2] bisect--helper: string output variables together with "&&"

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

 



Le dimanche 29 mars 2009, Christian Couder a écrit :

> -static void show_tried_revs(struct commit_list *tried)
> +static void show_tried_revs(struct commit_list *tried, int stringed)
>  {
> +	char *last_format = stringed ? "%s &&" : "%s";
> +
>  	printf("bisect_tried='");
>  	for (;tried; tried = tried->next) {
> -		char *format = tried->next ? "%s|" : "%s";
> +		char *format = tried->next ? "%s|" : last_format;
>  		printf(format, sha1_to_hex(tried->item->object.sha1));
>  	}
>  	printf("'\n");

Ooops, sorry, this is wrong I will send an updaed series.

Best regards,
Christian.
--
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]

  Powered by Linux