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

Re: [PATCH v3] t6030 (bisect): work around Mac OS X "ls"

From
Jonathan Nieder <jrnieder@uchicago.edu>
Date
Jul 24, 2008, 18:16 UTC
Message-ID
<Pine.GSO.4.62.0807241307020.17634@harper.uchicago.edu>
In-Reply-To
<Pine.GSO.4.62.0807241233190.16518@harper.uchicago.edu>
Jonathan Nieder wrote:
> -	test_must_fail ls .git/BISECT_* &&
> +	case $(echo .git/BISECT_*) in *\*) ;; *) false ;; esac &&

Actually, if we want to go that route, I prefer the version Dscho gave. So please ignore my patch v3; I'd rather people choose between Christian's and Dscho's suggestions.

Personally, without knowing how much time avoiding the ls saves, I
am not sure which is best.  Certainly the version with "ls" is clearer,
which is most important; but if the time savings (of avoiding such
constructs generally) are significant, then that is very much worthwhile
- a faster test suite can be run more often.
Jonathan
Previous: Jonathan NiederNext: Christian Couder
Message 8 of 12 in “t6030 (bisect): work around Mac OS X "ls"”
  1. t6030 (bisect): work around Mac OS X "ls"Jonathan Nieder, Jul 24, 2008
  2. Christian CouderJul 24, 2008
  3. Mike HommeyJul 24, 2008
  4. t6030 (bisect): work around Mac OS X "ls"Jonathan Nieder, Jul 24, 2008
  5. Mike HommeyJul 24, 2008
  6. Johannes SchindelinJul 24, 2008
  7. t6030 (bisect): work around Mac OS X "ls"Jonathan Nieder, Jul 24, 2008
  8. Jonathan NiederJul 24, 2008
  9. Christian CouderJul 27, 2008
  10. Christian CouderJul 27, 2008
  11. t6030 (bisect): work around Mac OS X "ls"Jonathan Nieder, Jul 27, 2008
  12. Christian CouderJul 27, 2008

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.