Code

check_everything_connected(): refactor to use an iterator
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2011 23:22:47 +0000 (16:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2011 22:07:56 +0000 (15:07 -0700)
commitf0e278b1b7a2c0ecbecf644a18c1383dc426db30
tree2a886861d753054824dcb820c15620cfda9504fa
parent6d4bb3833c3d2114d9c4e6d028e961c3fba8b8b3
check_everything_connected(): refactor to use an iterator

We will be using the same "rev-list --verify-objects" logic to add a
sanity check to the receiving end of "git push" in the same way, but the
list of commits that are checked come from a structure with a different
shape over there.

Update the function to take an iterator to make it easier to reuse it in
different contexts.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c