diff --git a/git-bisect.sh b/git-bisect.sh index e0ca3fb853..5fb42917a0 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -129,7 +129,8 @@ bisect_start() { start_head=$(cat "$GIT_DIR/BISECT_START") if test "z$mode" != "z--no-checkout" then - git checkout "$start_head" -- + git checkout "$start_head" -- || + die "$(eval_gettext "Checking out '\$start_head' failed. Try 'git bisect reset '.")" fi else # Get rev from where we start.