diff options
author | Yuang Li <yuangli@uk-yuangli-l.dhcp.mathworks.com> | 2022-06-28 11:57:50 +0100 |
---|---|---|
committer | Yuang Li <yuangli@uk-yuangli-l.dhcp.mathworks.com> | 2022-06-28 11:57:50 +0100 |
commit | 70a332a51b6364507d19bd1821b22fabbd1f2e08 (patch) | |
tree | b4bc4c335360e1837c6054a266eb6fc73a095c9f /tests | |
parent | 06eacb91679f4d7c828c64c71081500219926f22 (diff) | |
download | libgit2-70a332a51b6364507d19bd1821b22fabbd1f2e08.tar.gz |
disable shallow clone feature flag in test cleanup
Diffstat (limited to 'tests')
-rw-r--r-- | tests/grafts/basic.c | 1 | ||||
-rw-r--r-- | tests/grafts/shallow.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/grafts/basic.c b/tests/grafts/basic.c index 3d3c65aeb..4be4a12bf 100644 --- a/tests/grafts/basic.c +++ b/tests/grafts/basic.c @@ -13,6 +13,7 @@ void test_grafts_basic__initialize(void) void test_grafts_basic__cleanup(void) { + git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0); cl_git_sandbox_cleanup(); } diff --git a/tests/grafts/shallow.c b/tests/grafts/shallow.c index 339235860..a75b5a051 100644 --- a/tests/grafts/shallow.c +++ b/tests/grafts/shallow.c @@ -25,6 +25,7 @@ void test_grafts_shallow__initialize(void) void test_grafts_shallow__cleanup(void) { + git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0); cl_git_sandbox_cleanup(); } |