summaryrefslogtreecommitdiff
path: root/tests/shallow/feature_flag.c
blob: 25d283a44896249a5d5d5f94c5d7c32f7109ff70 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "clar_libgit2.h"

void test_shallow_feature_flag__set_feature_flag(void)
{
    cl_must_pass(git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 1));
}

void test_shallow_feature_flag__unset_feature_flag(void)
{
    cl_must_pass(git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0));
}