bisect: remove too much function nesting
commit2b020695e4db8dbaee7997090aec08760903291b
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 9 May 2009 15:55:42 +0000 (9 17:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2009 21:30:26 +0000 (10 14:30 -0700)
tree5febd300e0a12091be925877fa9bb3a1bb4f629e
parent1c953a1f46340a9ca0fc84345e826c9372dee42a
bisect: remove too much function nesting

This patch moves some function calls into "bisect_next_exit" so
that functions are nesting less.

The call to "bisect_rev_setup" is moved from "bisect_common" into
"bisect_next_exit" and the call to "read_bisect_refs" from
"bisect_rev_setup" into "bisect_next_exit".

While at it, "rev_argv" is moved into "bisect_rev_setup".

This will make it easier and cleaner to implement checking merge
bases.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c