Expose isShallow from ScmProviderRepository
Open
Beginner friendly
enhancement
- Dominant language
- Java
- Stars
- 104
- Forks
- 189
- Avg merge
- 17h 46m
- Merged PRs (30d)
- 6
Description
### New feature, improvement proposal
Git supports [shallow clones](https://git-scm.com/docs/shallow). However those behave differently in certain aspects (e.g. #1378). Therefore a getter method exposing for a repository if it is shallow cloned or not would be beneficial.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating ScmProviderRepository and reading how repository state, including shallow clones, is represented. Add an accessor that reports whether the repository is shallow-cloned, then verify the exposed value against the repository state; the issue does not name a specific test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100