diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-23 19:05:02 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-23 19:05:02 +0200 |
commit | 55cb4999720f46eddb97e25e7ddc6ac068dd0bae (patch) | |
tree | 73d3c2ec6d9d8e21b5f630dec8067e2153fbd2da /tests/config/write.c | |
parent | 4bb6ffb6bb8ad9d49eb173350be965183cd09c96 (diff) | |
download | libgit2-cmn/config-refresh-remove.tar.gz |
config: remove the refresh function and backend fieldcmn/config-refresh-remove
We have been refreshing on read and write for a while now, so
git_config_refresh() is at best a no-op, and might just end up wasting
cycles.
Diffstat (limited to 'tests/config/write.c')
-rw-r--r-- | tests/config/write.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/config/write.c b/tests/config/write.c index 0f11ae8da..067b7445b 100644 --- a/tests/config/write.c +++ b/tests/config/write.c @@ -340,10 +340,5 @@ void test_config_write__outside_change(void) cl_git_pass(git_config_get_int32(&tmp, cfg, "old.value")); cl_assert_equal_i(6, tmp); - cl_git_pass(git_config_refresh(cfg)); - - cl_git_pass(git_config_get_int32(&tmp, cfg, "old.value")); - cl_assert_equal_i(6, tmp); - git_config_free(cfg); } |