[PATCH 0/4] make it possible to skip away from broken commits
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Jun 2, 2009, 20:16 UTC
- Message-ID
- <20090602200731.3630.33652.chriscool@tuxfamily.org>
This patch series adds a "--ratio=x/y" option to "git bisect skip" so that it is possible to skip away from an area were the commits cannot be tested.
Note that in this series "--ratio=4" means the same as "--ratio=1/4". But I am not sure if this shortcut is worth it.
After this series I plan to implement a similar "--skip-ratio" option that can be passed to "git bisect start" and to add some documentation.
bisect: add parameters to "filter_skipped"
bisect: use the skip ratio to choose a commit away from a skipped
commit
bisect: add "--ratio=<ratio>" option to "git bisect skip"
t6030: add test case for "git bisect skip --ratio=x/y"bisect.c | 74 ++++++++++++++++++++++++++++++++++++++++-- bisect.h | 4 ++- builtin-rev-list.c | 4 ++- git-bisect.sh | 37 ++++++++++++++------- t/t6030-bisect-porcelain.sh | 12 +++++++ 5 files changed, 112 insertions(+), 19 deletions(-)