bisect: use new "struct argv_array" to prepare argv for "setup_revisions"
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 9 May 2009 15:55:41 +0000 (17:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2009 21:30:23 +0000 (14:30 -0700)
commit1c953a1f46340a9ca0fc84345e826c9372dee42a
tree7aa0dc3ae83682bf79b9bf671a72fa732b2b5496
parentfad2d31d62277eced9aa7fc187ae3b97e72895bb
bisect: use new "struct argv_array" to prepare argv for "setup_revisions"

Because we will use other instances of this struct.

The "rev_argv_push" function is changed into 2 functions
"argv_array_push" and "argv_array_push_sha1" that take a "struct
argv_array *" as first argument. And these functions are used to
simplify "bisect_rev_setup".

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