diff options
author | yuangli <yuangli@mathworks.com> | 2022-07-04 17:08:04 +0100 |
---|---|---|
committer | yuangli <yuangli@mathworks.com> | 2022-07-04 17:08:04 +0100 |
commit | afa79ca05862c24baa0360324ab7b63c0df90689 (patch) | |
tree | fbaa0ddf5f5176e5fb8d83ed7e0db72209473c87 /src/repository.h | |
parent | 70a332a51b6364507d19bd1821b22fabbd1f2e08 (diff) | |
download | libgit2-afa79ca05862c24baa0360324ab7b63c0df90689.tar.gz |
Merge branch 'pr/tiennou/4747' into transportPR
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h index 8da65652d..4b6004bea 100644 --- a/src/repository.h +++ b/src/repository.h @@ -242,6 +242,9 @@ extern size_t git_repository__reserved_names_posix_len; bool git_repository__reserved_names( git_buf **out, size_t *outlen, git_repository *repo, bool include_ntfs); +int git_repository__shallow_roots(git_array_oid_t *out, git_repository *repo); +int git_repository__shallow_roots_write(git_repository *repo, git_array_oid_t roots); + /* * The default branch for the repository; the `init.defaultBranch` * configuration option, if set, or `master` if it is not. |