Re: Git bisect does not find commit introducing the bug

2017-02-20 Thread Oleg Taranenko
> Anyway, I don't think it is feasible to weaken the assumption that there > is only one transition from 'old' ('good') to 'new' ('bad'); this is > what allows O(log(N)) operations. See bisection method of root finding, > that is finding zeros of a continuous function. I don't intended to change

Re: Git bisect does not find commit introducing the bug

2017-02-19 Thread Oleg Taranenko
>>> Then you must adjust your definition of "good": All commits that do not have >>> the feature, yet, are "good": since they do not have the feature in the >>> first place, they cannot have the breakage that you found in the feature. >>> >>> That is exactly the situation in your original example!

Developing git with IDE

2017-02-13 Thread Oleg Taranenko
. Would be nice to have a kind of 'Getting Started Manual' Thanks for your time, Oleg Taranenko

Re: [PATCH v3] checkout: eliminate unnecessary merge for trivial checkout

2016-09-13 Thread Oleg Taranenko
Sorry for bothering, why not introduce a brand new option like git checkout -b foo --skip-worktree-merge for such rare optimization use case? On Wed, Sep 14, 2016 at 12:34 AM, Junio C Hamano wrote: > Ben Peart writes: > >> +static int needs_working_tree_merge(const struct checkout_opts *opts, >>

Re: git bisect for reachable commits only

2016-08-04 Thread Oleg Taranenko
On Tue, Aug 2, 2016 at 11:00 PM, Junio C Hamano wrote: > Oleg Taranenko writes: > >> First, assuming the common ancestor is GOOD based on the fact that >> some descendant given as GOOD is pretty bad idea. > > What you claim is fundamentally incompatible with the way "

Re: git bisect for reachable commits only

2016-08-02 Thread Oleg Taranenko
Guys, thanks for discussion, I will try to reply in bulk here. First, assuming the common ancestor is GOOD based on the fact that some descendant given as GOOD is pretty bad idea. It may be, but may not be. In the git-flow like workflows new features (aka branches) are created from trunk (master/d

Re: git bisect for reachable commits only

2016-08-01 Thread Oleg Taranenko
t bisect bad Bisecting: 2 revisions left to test after this (roughly 1 step) [e571fdd09582e40fc54ffc5a4f112eac2b9f2c8e] prepare cocktail git bisect bad Bisecting: 0 revisions left to test after this (roughly 0 steps) [041a5a53704bccc60c489f8c9a4742bad79d5a95] tee git bisect bad 041a5a53704bccc60c

Re: git bisect for reachable commits only

2016-07-30 Thread Oleg Taranenko
uot;sugar" git bisect start git bisect good git bisect bad develop # 23a4 cat coffee # nothing git bisect bad # c080 cat coffee # nothing git bisect bad # c080fb4df39d721e2f2e0fdd91fe16d8bdd77515 is the first bad commit commit c080fb4df39d721e2f2e

git bisect for reachable commits only

2016-07-29 Thread Oleg Taranenko
Hi all, I just found an interesting post how git bisect can trouble humans. Full story is here https://groups.google.com/forum/#!topic/git-users/v3__t42qbKE My suggestion to fix it (ditto) What I suggest change logic of bisecting to something like git config bisect.reachable true Th