{"thread":{"id":"21721","subject":"[PATCH] bisect: simplify calling visualizer using '--bisect' option","startedAt":"2009-11-23T04:16:14Z","lastAt":"2009-11-23T04:16:14Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"128149","messageId":"20091123041615.4361.52673.chriscool@tuxfamily.org","threadId":"21721","inReplyTo":null,"subject":"[PATCH] bisect: simplify calling visualizer using '--bisect' option","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2009-11-23T04:16:14Z","receivedAt":"2009-11-23T04:16:14Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"In commit ad3f9a7 (Add '--bisect' revision machinery argument) the\n'--bisect' option was added to easily pass bisection refs to\ncommands using the revision machinery.\n\nSo it is now shorter and safer to use the new '--bisect' revision\nmachinery option, than to compute the refs that we must pass.\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n git-bisect.sh |    3 +--\n 1 files changed, 1 insertions(+), 2 deletions(-)\n\n\tThis patch was previously sent in an RFC series aimed at\n\tusing '--bisect-refs' instead of '--bisect' as the revision\n\tmachinery bisect option.\n\ndiff --git a/git-bisect.sh b/git-bisect.sh\nindex 8b3c585..a5ea843 100755\n--- a/git-bisect.sh\n+++ b/git-bisect.sh\n@@ -300,8 +300,7 @@ bisect_visualize() {\n \t\tesac\n \tfi\n \n-\tnot=$(git for-each-ref --format='%(refname)' \"refs/bisect/good-*\")\n-\teval '\"$@\"' refs/bisect/bad --not $not -- $(cat \"$GIT_DIR/BISECT_NAMES\")\n+\teval '\"$@\"' --bisect -- $(cat \"$GIT_DIR/BISECT_NAMES\")\n }\n \n bisect_reset() {\n-- \n1.6.5.1.gaf97d\n"}]}