Code

bisect: store good revisions in a "sha1_array"
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 9 May 2009 15:55:40 +0000 (17:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2009 21:30:22 +0000 (14:30 -0700)
commitfad2d31d62277eced9aa7fc187ae3b97e72895bb
tree16c57d9a3bbff65b22a102bb979dbb44e1750a9e
parent3755ccdb65a3bcaa1d55a6b4ec9c47eab0501baa
bisect: store good revisions in a "sha1_array"

This will make it easier to use good revisions for checking merge
bases later.

To simplify the code, a new "sha1_array_push" function is also
introduced.

And while at it we move the earlier part of the code to fill the
argv that is passed to "setup_revisions", so that all this code is
now completely after "read_bisect_refs".

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