summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2009-06-06 06:41:34 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-06 11:26:56 -0700
commit62d0b0daf12239fdb898a0d197dfc49a5e2742b0 (patch)
tree773b2848ee77cc9cd8e05b2609cdc95fdde871c7 /sha1_file.c
parentbisect: add parameters to "filter_skipped" (diff)
downloadtgif-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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions