summaryrefslogtreecommitdiff
path: root/tests/t06-index.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-07-06 18:08:13 +0200
committerVicent Marti <tanoku@gmail.com>2011-07-06 18:08:13 +0200
commit858dba58bf6eaaf1293ec0da03a02f95f8f2e0b9 (patch)
tree2aca041ca299d93ce5add3a16485fe1a41d49469 /tests/t06-index.c
parentb8e2db5f94d2a5d93bb4a328cbff5c26f65a5ebb (diff)
downloadlibgit2-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.c2
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)