X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-bisect.sh;h=99efbe884528ffa730d6c0297e20d9de93d5ad9e;hb=bd193f46b70fd3f8a55e2a8dcbb1fb2b4eec13d6;hp=2524060475ef369c0b9a4641aa88dc2ad6083da4;hpb=982d1dce349732539780ee81bb79c8ab26eaed20;p=git.git diff --git a/git-bisect.sh b/git-bisect.sh index 252406047..99efbe884 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -126,7 +126,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.