Re: [PATCH 0/5] bisect: Add support for a --no-checkout option.
On Sat, Jul 30, 2011 at 6:28 PM, Jon Seymour <jon.seymour@gmail.com> wrote:
Show 11 quoted lines
> For some bisection tasks, checking out the commit at each stage of the bisection process is unecessary or undesirable.
>
> This series adds support for a --no-checkout[=<ref>] option to git-bisect.
>
> If specified, this option causes git-bisect to update the specified reference at each stage of the bisection process instead of checking out the commit at that point. If <ref> is not specified, HEAD is assumed.
>
> One application of this option is to find, within a partially damaged repository, the earliest commit such that the graph of commits, trees and blobs reachable from the parents of that commit is completely reachable.
>
> For example:
>
> git bisect start HEAD <known-good-commit> [ <damaged-or-missing-commit> ... ]
Sorry, this example should include --no-checkout.
git bisect start --no-checkout HEAD <known-good-commit> [
<damaged-or-missing-commit> ... ]
Example in documentation is correct.
jon.