Jon Seymour <jon.seymour@xxxxxxxxx> writes: > diff --git a/bisect.c b/bisect.c > index dd7e8ed..534da2c 100644 > --- a/bisect.c > +++ b/bisect.c > ... > - res = run_command_v_opt(argv_checkout, RUN_GIT_CMD); > - if (res) > - exit(res); > + if (no_checkout) { > + argv_update_ref[3] = bisect_rev_hex; > + if (run_command_v_opt(argv_update_ref, RUN_GIT_CMD)) > + die("update-ref --no-deref HEAD failed on %s", bisect_rev_hex); > + } else { > + res = run_command_v_opt(argv_checkout, RUN_GIT_CMD); > + if (res) > + exit(res); > + } Please. No indentations with just a few SPs. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html