{"thread":{"id":"7374","subject":"[PATCH] git-bisect.sh: properly dq $GIT_DIR","startedAt":"2007-03-23T21:57:15Z","lastAt":"2007-03-23T21:57:15Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"37843","messageId":"7vvegroc78.fsf@assigned-by-dhcp.cox.net","threadId":"7374","inReplyTo":null,"subject":"[PATCH] git-bisect.sh: properly dq $GIT_DIR","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-03-23T21:57:15Z","receivedAt":"2007-03-23T21:57:15Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Otherwise you would be in trouble if your GIT_DIR has IFS letters in it.\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 8eaea7c..936b4a4 100755\n--- a/git-bisect.sh\n+++ b/git-bisect.sh\n@@ -141,7 +141,7 @@ bisect_next() {\n \tbad=$(git-rev-parse --verify refs/bisect/bad) &&\n \tgood=$(git-rev-parse --sq --revs-only --not \\\n \t\t$(cd \"$GIT_DIR\" && ls refs/bisect/good-*)) &&\n-\trev=$(eval \"git-rev-list --bisect $good $bad -- $(cat $GIT_DIR/BISECT_NAMES)\") || exit\n+\trev=$(eval \"git-rev-list --bisect $good $bad -- $(cat \"$GIT_DIR/BISECT_NAMES\")\") || exit\n \tif [ -z \"$rev\" ]; then\n \t    echo \"$bad was both good and bad\"\n \t    exit 1\n-- \n1.5.1.rc1.651.g2ca06\n"}]}