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

Re: [PATCH 1/2] bisect: fix quoting TRIED revs when "bad" commit is also "skip"ped

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2009, 06:55 UTC
Message-ID
<7v8wnsnzbf.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20090227073122.ca74c387.chriscool@tuxfamily.org>
Christian Couder <chriscool@tuxfamily.org> writes:
Show 10 quoted lines
> diff --git a/git-bisect.sh b/git-bisect.sh
> index 85db4ba..a9324b2 100755
> --- a/git-bisect.sh
> +++ b/git-bisect.sh
> @@ -288,6 +288,8 @@ filter_skipped() {
>  		return
>  	fi
>  
> +	VARS= FOUND= TRIED=
> +

Did you have any particular reason to move these out of the subshell on the downstream side of the pipe as I wrote in my response? That is where these variables matter.

>  	# Let's parse the output of:
>  	# "git rev-list --bisect-vars --bisect-all ..."
>  	eval "$_eval" | while read hash line
> @@ -309,7 +311,7 @@ filter_skipped() {

Also you seem to have lost my fix to ignore $line for "bisect_foo=value" lines where $line is always empty.

Previous: Christian Couder
Message 2 of 2 in “bisect: fix quoting TRIED revs when "bad" commit is also "skip"ped”
  1. 1/2 bisect: fix quoting TRIED revs when "bad" commit is also "skip"pedChristian Couder, Feb 27, 2009
  2. Junio C HamanoFeb 27, 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.