git_clone() not cloning submodules
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 10.6k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
git_clone (https://libgit2.org/libgit2/#HEAD/group/clone) is not cloning everything in the repo (the submodules). I already posted this question in stack overflow: https://stackoverflow.com/questions/55129134/how-to-clone-repo-along-with-submodules-in-libgit2
I have not received any feedback to this.
Is this a limitation of the library or am I missing something?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the git_clone() API documentation linked in the issue and trace how cloning handles repository contents. Determine whether submodule checkout is supported or missing, then verify the expected behavior against the linked Stack Overflow question; done means the limitation or required change is clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, git
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100