From: Christian Couder <christian.couder@gmail.com>
To: "Aaron S. Meurer" <asmeurer@gmail.com>
Cc: git@vger.kernel.org, "SZEDER Gábor" <szeder@ira.uka.de>,
"Jonathan Nieder" <jrnieder@gmail.com>
Subject: Re: git bisect problems/ideas
Date: Fri, 21 Jan 2011 14:18:20 +0100 [thread overview]
Message-ID: <AANLkTikG6Ft3Y922Aaakf28cnYs26PcRHoq9GSNj04mu@mail.gmail.com> (raw)
In-Reply-To: <0253BAE3-90F7-492C-ADF5-8B16DFFA1E44@gmail.com>
On Wed, Jan 19, 2011 at 8:44 PM, Aaron S. Meurer <asmeurer@gmail.com> wrote:
>>>
>>> I don't understand how this can only be one way? Isn't this symmetric? In
>>> other words, how is it different from
>>>
>>> A-B-C-D-E <-- dev
>>> \F-G <-- master
>>>
>>> as far as bisect is concerned? Or maybe I am not entirely clear on what you
>>> are saying.
>>
>> Yes, it is symmetric, so we cannot just automatically reverse the
>> meanning because there is no "after" or "before" relationship between
>> "dev" and "master".
>
> I think I understand. What if something works in A, gets broken in C, stays broken in E, but gets fixed in G? Should it maybe be implied by whichever one is marked as good first, A or G, if you trying to find the fix or the break?
In this case, if we are given "git bisect bad E" and "git bisect good
A", yes, as A is before E, we must suppose that we are looking for the
break.
But if we are given "git bisect bad E" and "git bisect good G", we
have to suppose that we are looking for the break too. There are many
good reasons for that:
- it's the logical default for bisect,
- if what is wanted is the fix, there has been for a long time the
possibility to just switch "bad" and "good",
- the user might not even realize that E and G have no "after" or
"before" relationship.
> If no, I think --reverse is actually a suitable fix.
Yeah, but I think that what Dscho started was probably better. The
problem is just that it is not so simple to implement and no one yet
has been interested enough or took enough time to finish it.
Best regards,
Christian.
next prev parent reply other threads:[~2011-01-21 13:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-15 7:33 git bisect problems/ideas Aaron S. Meurer
2011-01-17 9:38 ` Christian Couder
2011-01-17 11:51 ` Jonathan Nieder
2011-01-17 13:38 ` SZEDER Gábor
2011-01-17 20:55 ` Jonathan Nieder
2011-01-18 9:05 ` Christian Couder
2011-01-17 18:27 ` Aaron S. Meurer
2011-01-17 18:23 ` Aaron S. Meurer
2011-01-18 9:04 ` Christian Couder
2011-01-18 18:34 ` Junio C Hamano
2011-01-19 13:15 ` Christian Couder
2011-01-19 19:15 ` Aaron S. Meurer
2011-01-19 19:29 ` Junio C Hamano
2011-01-19 19:44 ` Aaron S. Meurer
2011-01-21 13:18 ` Christian Couder [this message]
2011-01-21 22:04 ` Johannes Sixt
2011-01-22 14:52 ` Jakub Narebski
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=AANLkTikG6Ft3Y922Aaakf28cnYs26PcRHoq9GSNj04mu@mail.gmail.com \
--to=christian.couder@gmail.com \
--cc=asmeurer@gmail.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=szeder@ira.uka.de \
/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).