diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-06 18:08:13 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-06 18:08:13 +0200 |
commit | 858dba58bf6eaaf1293ec0da03a02f95f8f2e0b9 (patch) | |
tree | 2aca041ca299d93ce5add3a16485fe1a41d49469 /tests/t06-index.c | |
parent | b8e2db5f94d2a5d93bb4a328cbff5c26f65a5ebb (diff) | |
download | libgit2-858dba58bf6eaaf1293ec0da03a02f95f8f2e0b9.tar.gz |
refs: Cleanup reference renaming
`git_futils_rmdir_r`: rename, clean up.
`git_reference_rename`: cleanup. Do not use 3x4096 buffers on the stack
or things will get ugly very fast. We can reuse the same buffer.
Diffstat (limited to 'tests/t06-index.c')
-rw-r--r-- | tests/t06-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t06-index.c b/tests/t06-index.c index 4a111b42e..fc6fd5b8b 100644 --- a/tests/t06-index.c +++ b/tests/t06-index.c @@ -210,7 +210,7 @@ BEGIN_TEST(add0, "add a new file to the index") git_index_free(index); git_repository_free(repo); - must_pass(git_futils_rmdir_recurs(TEMP_REPO_FOLDER, 1)); + must_pass(git_futils_rmdir_r(TEMP_REPO_FOLDER, 1)); END_TEST BEGIN_SUITE(index) |