summaryrefslogtreecommitdiff
path: root/tests-clar/diff/patch.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-10-08 16:59:59 -0700
committerRussell Belfer <rb@github.com>2013-10-08 16:59:59 -0700
commit867f7c9b3329952dc0aebf9770019a7a01ff2691 (patch)
treede119377901e57bcdd66b9e9ef4d395fb8f136a0 /tests-clar/diff/patch.c
parent92dac975869bf6207eca0754345dc9aa7fec8992 (diff)
downloadlibgit2-867f7c9b3329952dc0aebf9770019a7a01ff2691.tar.gz
Rename new fn to git_repository_reinit_filesystem
Diffstat (limited to 'tests-clar/diff/patch.c')
-rw-r--r--tests-clar/diff/patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/diff/patch.c b/tests-clar/diff/patch.c
index 1dbfc9ac5..171abc819 100644
--- a/tests-clar/diff/patch.c
+++ b/tests-clar/diff/patch.c
@@ -240,7 +240,7 @@ void test_diff_patch__hunks_have_correct_line_numbers(void)
git_repository_set_config(g_repo, cfg);
git_config_free(cfg);
- git_repository_reset_filesystem(g_repo, false);
+ git_repository_reinit_filesystem(g_repo, false);
cl_git_pass(
git_futils_readbuffer(&old_content, "renames/songof7cities.txt"));
@@ -524,7 +524,7 @@ void test_diff_patch__line_counts_with_eofnl(void)
git_repository_set_config(g_repo, cfg);
git_config_free(cfg);
- git_repository_reset_filesystem(g_repo, false);
+ git_repository_reinit_filesystem(g_repo, false);
cl_git_pass(git_futils_readbuffer(&content, "renames/songof7cities.txt"));