Example #1
0
void test_repo_head__initialize(void)
{
	repo = cl_git_sandbox_init("testrepo.git");
	cl_git_pass(git_repository_set_ident(repo, "Foo Bar", g_email));
}
Example #2
0
void test_network_remote_local__initialize(void)
{
    cl_git_pass(git_repository_init(&repo, "remotelocal/", 0));
    cl_git_pass(git_repository_set_ident(repo, "Foo Bar", "*****@*****.**"));
    cl_assert(repo != NULL);
}
Example #3
0
void test_refs_rename__initialize(void)
{
	g_repo = cl_git_sandbox_init("testrepo");
	cl_git_pass(git_repository_set_ident(g_repo, "me", "*****@*****.**"));
}
Example #4
0
/* Fixture setup and teardown */
void test_refs_reflog_messages__initialize(void)
{
	g_repo = cl_git_sandbox_init("testrepo.git");
	cl_git_pass(git_repository_set_ident(g_repo, "Foo Bar", g_email));
}