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

Re: [PATCH] test-lib.sh: unfilter GIT_PERF_*

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 15, 2013, 13:43 UTC
Message-ID
<87ehhmr28g.fsf@pctrast.inf.ethz.ch>
In-Reply-To
<1358254409-15187-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> These variables are user parameters to control how to run the perf
> tests. Allow users to do so.
[...]
Show 8 quoted lines
> @@ -86,6 +86,9 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
>  		PROVE
>  		VALGRIND
>  		PERF_AGGREGATING_LATER
> +		PERF_LARGE_REPO
> +		PERF_REPEAT_COUNT
> +		PERF_REPO
>  	));

Wouldn't it be more futureproof to put simply PERF as an entry, and rely on the leading-match logic

> 	my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
to allow all GIT_PERF variables?

Other than that, Ack. I never noticed because I set mine through config.mak, which goes to GIT-BUILD-OPTIONS. Those options are not exported, which means perl does not pick them up. (That just took me far too long to realize.)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Nguyễn Thái Ngọc DuyNext: Duy Nguyen
Message 2 of 7 in “test-lib.sh: unfilter GIT_PERF_*”
  1. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 15, 2013
  2. Thomas RastJan 15, 2013
  3. Duy NguyenJan 15, 2013
  4. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 15, 2013
  5. Junio C HamanoJan 15, 2013
  6. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 16, 2013
  7. Jonathan NiederJan 16, 2013

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.