{"thread":{"id":"7372","subject":"[PATCH] git-bisect: typofix","startedAt":"2007-03-23T21:57:10Z","lastAt":"2007-03-23T21:57:10Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"37841","messageId":"7vwt17oc7d.fsf@assigned-by-dhcp.cox.net","threadId":"7372","inReplyTo":null,"subject":"[PATCH] git-bisect: typofix","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-03-23T21:57:10Z","receivedAt":"2007-03-23T21:57:10Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The branch you are on while bisecting is always \"bisect\", and\nchecking for \"refs/heads/bisect*\" is wrong.  Only check if it is\nexactly \"refs/heads/bisect\".\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n---\n git-bisect.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-bisect.sh b/git-bisect.sh\nindex 3043f65..8eaea7c 100755\n--- a/git-bisect.sh\n+++ b/git-bisect.sh\n@@ -50,7 +50,7 @@ bisect_start() {\n \thead=$(GIT_DIR=\"$GIT_DIR\" git-symbolic-ref HEAD) ||\n \tdie \"Bad HEAD - I need a symbolic ref\"\n \tcase \"$head\" in\n-\trefs/heads/bisect*)\n+\trefs/heads/bisect)\n \t\tif [ -s \"$GIT_DIR/head-name\" ]; then\n \t\t    branch=`cat \"$GIT_DIR/head-name\"`\n \t\telse\n-- \n1.5.1.rc1.651.g2ca06\n"}]}