From: Jon Seymour Date: Sun, 31 Jul 2011 13:26:18 GMT Subject: Re: [PATCH v8 0/7] bisect: Add support for --no-checkout and --update-ref= options. Message-ID: In-Reply-To: <1312113321-28760-1-git-send-email-jon.seymour@gmail.com> On Sun, Jul 31, 2011 at 9:55 PM, Jon Seymour wrote: > > For example: > >        git bisect run eval ' >                rc=1; >                if git rev-list --objects HEAD >tmp.$$; then >                   git pack-objects --stdout >/dev/null < tmp.$$ && rc=0; >                fi; >                rm tmp.$$; >                test $rc -eq 0;' > Sverre has pointed out I screwed the example up again. It should have been: git bisect start HEAD --no-checkout git bisect run eval ' rc=1; if git rev-list --objects HEAD >tmp.$$; then git pack-objects --stdout >/dev/null < tmp.$$ && rc=0; fi; rm tmp.$$; test $rc -eq 0;' I think the examples in the documentation and test are correct (modulo an accurate description of what good choices for 's are). jon.