tests-clar/network/push.c
static void verify_refs(git_remote *remote, expected_ref expected_refs[], size_t expected_refs_len)
{
	git_vector actual_refs = GIT_VECTOR_INIT;

	git_remote_ls(remote, record_ref_cb, &actual_refs);
	verify_remote_refs(&actual_refs, expected_refs, expected_refs_len);

	git_vector_free(&actual_refs);
}
/**
 * Verifies that after git_push_finish(), refs on a remote have the expected
 * names, oids, and order.
 * 
 * @param remote remote to verify
 * @param expected_refs expected remote refs after push
 * @param expected_refs_len length of expected_refs
 */
Verifies that after git_push_finish(), refs on a remote have the expected
names, oids, and order.

@param remote remote to verify
@param expected_refs expected remote refs after push
@param expected_refs_len length of expected_refs
Verifies that after git_push_finish () refs on a remote have the expected names oids and order . @param remote remote to verify @param expected_refs expected remote refs after push @param expected_refs_len length of expected_refs
static void verify_refs(git_remote *remote, expected_ref expected_refs[], size_t expected_refs_len)
{
	git_vector actual_refs = GIT_VECTOR_INIT;
	git_remote_ls(remote, record_ref_cb, &actual_refs);
	verify_remote_refs(&actual_refs, expected_refs, expected_refs_len);
	git_vector_free(&actual_refs);
}
static void verify_refs ( git_remote * remote , expected_ref expected_refs [ ] , size_t expected_refs_len ) { git_vector actual_refs = GIT_VECTOR_INIT ; git_remote_ls ( remote , record_ref_cb , & actual_refs ) ; verify_remote_refs ( & actual_refs , expected_refs , expected_refs_len ) ; git_vector_free ( & actual_refs ) ; }
Verifies that after git_push_finish(), refs on a remote have the expected
 names, oids, and order.
Verifies that after git_push_finish () refs on a remote have the expected names oids and order .