summaryrefslogtreecommitdiff
path: root/src/libgit2/repository.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgit2/repository.c')
-rw-r--r--src/libgit2/repository.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libgit2/repository.c b/src/libgit2/repository.c
index 13559ef07..6b77007aa 100644
--- a/src/libgit2/repository.c
+++ b/src/libgit2/repository.c
@@ -3393,20 +3393,6 @@ on_error:
return error;
}
-int git_repository_shallow_roots(git_oidarray *out, git_repository *repo)
-{
- int ret;
- git_array_oid_t array = GIT_ARRAY_INIT;
-
- assert(out);
-
- ret = git_repository__shallow_roots(&array, repo);
-
- git_oidarray__from_array(out, &array);
-
- return ret;
-}
-
int git_repository_is_shallow(git_repository *repo)
{
git_str path = GIT_STR_INIT;