diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2009-06-06 06:41:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 11:26:56 -0700 |
commit | 62d0b0daf12239fdb898a0d197dfc49a5e2742b0 (patch) | |
tree | 773b2848ee77cc9cd8e05b2609cdc95fdde871c7 /builtin-fetch-pack.c | |
parent | bisect: add parameters to "filter_skipped" (diff) | |
download | tgif-62d0b0daf12239fdb898a0d197dfc49a5e2742b0.tar.xz |
bisect: when skipping, choose a commit away from a skipped commit
To do that a new function "apply_skip_ratio" is added and another
function "managed_skipped" is created to wrap both "filter_skipped"
and the previous one.
In "managed_skipped" we detect when we should choose a commit away
from a skipped one and then we automatically choose a skip ratio
to pass to "apply_skip_ratio".
The ratio is choosen so that it alternates between 1/5, 2/5 and
3/5.
In "apply_skip_ratio", we ignore a given ratio of all the commits
that could be tested.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch-pack.c')
0 files changed, 0 insertions, 0 deletions