author | Christian Couder <chriscool@tuxfamily.org> | |
Sat, 9 May 2009 15:55:41 +0000 (17:55 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 May 2009 21:30:23 +0000 (14:30 -0700) | ||
commit | 1c953a1f46340a9ca0fc84345e826c9372dee42a | |
tree | 7aa0dc3ae83682bf79b9bf671a72fa732b2b5496 | tree | snapshot |
parent | fad2d31d62277eced9aa7fc187ae3b97e72895bb | commit | diff |
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>
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 | diff | blob | history |