From: Jeff King <peff@peff.net>
To: 李祐棠 <r01942008@ntu.edu.tw>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Git Bug Report: bisect run failed to locate the right commit
Date: Wed, 27 Aug 2014 10:17:26 -0400 [thread overview]
Message-ID: <20140827141725.GA31879@peff.net> (raw)
In-Reply-To: <C40A01C66E914D4EB90E1B40564B0E56CBFE1C82@MBOX2-4.ntu.internal>
On Wed, Aug 27, 2014 at 01:42:45PM +0000, 李祐棠 wrote:
> Here is the manual test script I use is "manualscript.py":
>
> I use git bisect manually, search from 1.2.9(bad) to 1.2.8(good), I
> locate the commit that fixes this issue. The running log is attached
> in this file(manual).
>
> However if I use the automatic script git bisect run with the script
> "auto script":
>
> It will give a wrong answer, the log file is also attached(auto)
When you get to 300cd08225, your manual bisect shows this as bad:
Bisecting: 0 revisions left to test after this (roughly 1 step)
[300cd0822505a4bd308acd1520ff3ef0f20f8635] fixed issue #19
$ ./manualscript.py
False
False
$ git bisect bad
When you hit the same commit with your automatic test, the output from
your script is different:
Bisecting: 0 revisions left to test after this (roughly 1 step)
[300cd0822505a4bd308acd1520ff3ef0f20f8635] fixed issue #19
running ./autoscript.py
False
True
which would yield "git bisect good" according to the simplified scripts
you sent. I suspect your problem is in the test script.
-Peff
prev parent reply other threads:[~2014-08-27 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 13:42 Git Bug Report: bisect run failed to locate the right commit 李祐棠
2014-08-27 14:15 ` Christian Couder
2014-08-27 14:17 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140827141725.GA31879@peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=r01942008@ntu.edu.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).