Submodules disappears when checking out a revision
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start at Rugged's repo.checkout API and the documented recursive submodule option, using the origin/<branch_name> example as the reproduction. Determine how checkout currently handles submodules and define completion as recursively checking out submodules with the same options, with behavior verified for a project containing several submodules.
Written by the indexing model from the issue text.
Description
I have a git project that has several submodules, if I checkout a specific version:
repo.checkout("origin/#{branch_name}", {strategy: :force})
the submodules folder is empty and it seems I can't checkout the submodules in any way.
I see that checkout should have an option
Recursively checkout submodules with same options (NOT IMPLEMENTED).
but it is not working because it is not implemented. Anyway I can checkout also the submodules through the Rugged Library?
- Dominant language
- C
- Stars
- 2.3k
- Forks
- 293
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from libgit2/rugged
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100