We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c1944d + ee2314f commit d5cbdbaCopy full SHA for d5cbdba
git-bisect.sh
@@ -191,6 +191,21 @@ check_expected_revs() {
191
done
192
}
193
194
+bisect_skip() {
195
+ all=''
196
+ for arg in "$@"
197
+ do
198
+ case "$arg" in
199
+ *..*)
200
+ revs=$(git rev-list "$arg") || die "Bad rev input: $arg" ;;
201
+ *)
202
+ revs="'$arg'" ;;
203
+ esac
204
+ all="$all $revs"
205
+ done
206
+ bisect_state 'skip' $all
207
+}
208
+
209
bisect_state() {
210
bisect_autostart
211
state=$1
@@ -630,8 +645,10 @@ case "$#" in
630
645
git bisect -h ;;
631
646
start)
632
647
bisect_start "$@" ;;
633
- bad|good|skip)
648
+ bad|good)
634
649
bisect_state "$cmd" "$@" ;;
650
+ skip)
651
+ bisect_skip "$@" ;;
635
652
next)
636
653
# Not sure we want "next" at the UI level anymore.
637
654
bisect_next "$@" ;;
0 commit comments