diff options
author | yuangli <yuangli@mathworks.com> | 2022-08-11 09:32:28 +0100 |
---|---|---|
committer | yuangli <yuangli@mathworks.com> | 2022-08-11 09:32:28 +0100 |
commit | 49e641be8c5549f6f5731d6d72e9e6902e71d0e1 (patch) | |
tree | c337d5838c10e8e9a2f4b5aebe8d969a84f798ab /src/libgit2 | |
parent | df5eb3239b1419b3f4382d7bcca9a5d85611d7d3 (diff) | |
download | libgit2-49e641be8c5549f6f5731d6d72e9e6902e71d0e1.tar.gz |
remove unused api
Diffstat (limited to 'src/libgit2')
-rw-r--r-- | src/libgit2/repository.c | 14 |
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; |