mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 20:17:59 +00:00
Clean up a couple things missed in rebase
This commit is contained in:
parent
32def5af9a
commit
18eff2ad70
@ -15,7 +15,7 @@ void test_stash_drop__cleanup(void)
|
|||||||
{
|
{
|
||||||
git_signature_free(signature);
|
git_signature_free(signature);
|
||||||
git_repository_free(repo);
|
git_repository_free(repo);
|
||||||
cl_git_pass(git_futils_rmdir_r("stash", NULL, GIT_DIRREMOVAL_FILES_AND_DIRS));
|
cl_git_pass(git_futils_rmdir_r("stash", NULL, GIT_RMDIR_REMOVE_FILES));
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_stash_drop__cannot_drop_from_an_empty_stash(void)
|
void test_stash_drop__cannot_drop_from_an_empty_stash(void)
|
||||||
|
@ -30,7 +30,7 @@ void test_stash_foreach__cleanup(void)
|
|||||||
{
|
{
|
||||||
git_signature_free(signature);
|
git_signature_free(signature);
|
||||||
git_repository_free(repo);
|
git_repository_free(repo);
|
||||||
cl_git_pass(git_futils_rmdir_r(REPO_NAME, NULL, GIT_DIRREMOVAL_FILES_AND_DIRS));
|
cl_git_pass(git_futils_rmdir_r(REPO_NAME, NULL, GIT_RMDIR_REMOVE_FILES));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int callback_cb(
|
static int callback_cb(
|
||||||
@ -45,7 +45,7 @@ static int callback_cb(
|
|||||||
GIT_UNUSED(message);
|
GIT_UNUSED(message);
|
||||||
|
|
||||||
cl_assert_equal_i(0, git_oid_streq(stash_oid, data->oids[data->invokes++]));
|
cl_assert_equal_i(0, git_oid_streq(stash_oid, data->oids[data->invokes++]));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ void test_stash_save__cleanup(void)
|
|||||||
{
|
{
|
||||||
git_signature_free(signature);
|
git_signature_free(signature);
|
||||||
git_repository_free(repo);
|
git_repository_free(repo);
|
||||||
cl_git_pass(git_futils_rmdir_r("stash", NULL, GIT_DIRREMOVAL_FILES_AND_DIRS));
|
cl_git_pass(git_futils_rmdir_r("stash", NULL, GIT_RMDIR_REMOVE_FILES));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void assert_object_oid(const char* revision, const char* expected_oid, git_otype type)
|
static void assert_object_oid(const char* revision, const char* expected_oid, git_otype type)
|
||||||
|
Loading…
Reference in New Issue
Block a user