aboutsummaryrefslogtreecommitdiff
path: root/test-sigchain.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-06-06 06:41:34 +0200
committerJunio C Hamano <gitster@pobox.com>2009-06-06 11:26:56 -0700
commit62d0b0daf12239fdb898a0d197dfc49a5e2742b0 (patch)
tree773b2848ee77cc9cd8e05b2609cdc95fdde871c7 /test-sigchain.c
parent9af3589e0e42eb289dfdb8bb4031e5bec4923308 (diff)
downloadgit-62d0b0daf12239fdb898a0d197dfc49a5e2742b0.tar.gz
git-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 'test-sigchain.c')
0 files changed, 0 insertions, 0 deletions