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

Re: Article about "git bisect run" on LWN

From
David Symonds <dsymonds@gmail.com>
Date
Feb 7, 2009, 12:55 UTC
Message-ID
<ee77f5c20902070455h360d8476re76294735673b4ca@mail.gmail.com>
In-Reply-To
<200902070541.29955.chriscool@tuxfamily.org>

On Sat, Feb 7, 2009 at 3:41 PM, Christian Couder <chriscool@tuxfamily.org> wrote:

Show 6 quoted lines
> It might be useful to have a list of always good commits too, and use it
> like this:
>
> $ git bisect start <bad> <good> $(cat always_good.txt)
> $ git bisect skip $(cat always_skipped.txt)
> $ git bisect run ./my_test_script.sh
Your test script could just do this at its start instead:
  if cat always_good.txt | grep $(rev-parse HEAD); then
    exit 0
  elif cat always_skipped.txt | grep $(rev-parse HEAD); then
    exit 125
  fi
Dave.
Previous: Christian CouderNext: Christian Couder
Message 9 of 18 in “Article about "git bisect run" on LWN”
  1. Christian CouderFeb 5, 2009
  2. Bill LearFeb 5, 2009
  3. Ingo MolnarFeb 5, 2009
  4. david@lang.hmFeb 6, 2009
  5. Ingo MolnarFeb 6, 2009
  6. Ingo MolnarFeb 6, 2009
  7. Christian CouderFeb 6, 2009
  8. Christian CouderFeb 7, 2009
  9. David SymondsFeb 7, 2009
  10. Christian CouderFeb 7, 2009
  11. Junio C HamanoFeb 7, 2009
  12. Ingo MolnarFeb 9, 2009
  13. Johannes SchindelinFeb 9, 2009
  14. David SymondsFeb 9, 2009
  15. Christian CouderFeb 10, 2009
  16. Jonathan CorbetFeb 5, 2009
  17. Christian CouderFeb 5, 2009
  18. david@lang.hmFeb 6, 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.