commit | f0e278b1b7a2c0ecbecf644a18c1383dc426db30 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Fri Sep 02 16:22:47 2011 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Sep 09 15:07:56 2011 -0700 |
tree | 2a886861d753054824dcb820c15620cfda9504fa | |
parent | 6d4bb3833c3d2114d9c4e6d028e961c3fba8b8b3 [diff] |
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>