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

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

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 30, 2009, 04:18 UTC
Message-ID
<200903300618.19041.chriscool@tuxfamily.org>
In-Reply-To
<20090329115547.91e2de5b.chriscool@tuxfamily.org>
Le dimanche 29 mars 2009, Christian Couder a écrit :
Show 12 quoted lines
> -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.

Previous: Christian Couder
Message 2 of 2 in “bisect--helper: string output variables together with "&&"”
  1. 2/2 bisect--helper: string output variables together with "&&"Christian Couder, Mar 29, 2009
  2. Christian CouderMar 30, 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.