diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-10-02 18:20:07 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-10-02 18:20:07 -0400 |
commit | 08d1bf025bffd421d9421509fcd922b8fa5f1d4d (patch) | |
tree | b5b63581787744b3ac6583102a6322db32221dee /tests/submodule/modify.c | |
parent | 84bf3acdef38803084106a0354491f2579cbc549 (diff) | |
parent | fe07fa64878f3b7dfc7ed2964c3d45fd2fd6be7f (diff) | |
download | libgit2-08d1bf025bffd421d9421509fcd922b8fa5f1d4d.tar.gz |
Merge branch 'ethomson/gitstr' into future
Diffstat (limited to 'tests/submodule/modify.c')
-rw-r--r-- | tests/submodule/modify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/submodule/modify.c b/tests/submodule/modify.c index 654f677e6..fd3b0f80b 100644 --- a/tests/submodule/modify.c +++ b/tests/submodule/modify.c @@ -213,7 +213,7 @@ void test_submodule_modify__set_url(void) void test_submodule_modify__set_relative_url(void) { - git_buf path = GIT_BUF_INIT; + git_str path = GIT_STR_INIT; git_repository *repo; git_submodule *sm; @@ -222,12 +222,12 @@ void test_submodule_modify__set_relative_url(void) cl_git_pass(git_submodule_sync(sm)); cl_git_pass(git_submodule_open(&repo, sm)); - cl_git_pass(git_buf_joinpath(&path, clar_sandbox_path(), "relative-url")); + cl_git_pass(git_str_joinpath(&path, clar_sandbox_path(), "relative-url")); assert_config_entry_value(g_repo, "submodule."SM1".url", path.ptr); assert_config_entry_value(repo, "remote.origin.url", path.ptr); git_repository_free(repo); git_submodule_free(sm); - git_buf_dispose(&path); + git_str_dispose(&path); } |