Closed rcoup closed 3 years ago
Add support for git_repository_is_shallow() to Pygit2 to indicate whether a repository is a shallow clone or not.
git_repository_is_shallow()
libgit2 currently doesn't support shallow clones beyond detecting there's a non-empty .git/shallow file but it's helpful nonetheless.
.git/shallow
Add support for
git_repository_is_shallow()
to Pygit2 to indicate whether a repository is a shallow clone or not.libgit2 currently doesn't support shallow clones beyond detecting there's a non-empty
.git/shallow
file but it's helpful nonetheless.