author | Christian Couder <chriscool@tuxfamily.org> | |
Sat, 9 May 2009 15:55:43 +0000 (17:55 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 May 2009 21:30:29 +0000 (14:30 -0700) | ||
commit | aaaff9e2d29a68c23a416bcc5f3f382504770bf8 | |
tree | 93ddcd5462b84eb0cccf3102dfb32a2e09c77747 | tree | snapshot |
parent | 2b020695e4db8dbaee7997090aec08760903291b | commit | diff |
bisect: make skipped array functions more generic
So they can be used on the good array too.
This is done by renaming many functions and some variables to
remove "skip" in the name, and by adding a
"struct sha1_array *array" argument where needed.
While at it, make the second argument to "lookup_sha1_array"
const. It becomes "const unsigned char *sha1".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
So they can be used on the good array too.
This is done by renaming many functions and some variables to
remove "skip" in the name, and by adding a
"struct sha1_array *array" argument where needed.
While at it, make the second argument to "lookup_sha1_array"
const. It becomes "const unsigned char *sha1".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c | diff | blob | history |