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
fiDave.