Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'js/bisect-no-checkout' into maint

* js/bisect-no-checkout:
  bisect: fix exiting when checkout failed in bisect_start()
  • Loading branch information...
commit dddc411f7abbd82f6fa7d323711b8a7b94a1abc2 2 parents a4fdd79 + 1acf117
@gitster authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  git-bisect.sh
View
3  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 <validbranch>'.")"
fi
else
# Get rev from where we start.
Please sign in to comment.
Something went wrong with that request. Please try again.