libgit2 / libgit2/libgit2sharp
the command pull take the class Repository instead of the interface like other commands
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction steps
try to use a IRepository as parameter to Commands.Pull
Expected behavior
I expect it to work
Actual behavior
I can't use the interface cause it's the class itself in the parameters
Version of LibGit2Sharp (release number or SHA1)
0.30.0
Operating system(s) tested; .NET runtime tested
windows 11, .NET 8
I can make the PR to change it
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 at Commands.Pull and compare its parameter type with the other commands mentioned in the issue, especially the use of IRepository versus Repository. Reproduce the call with an IRepository on .NET 8, then verify that the pull command accepts the interface consistently with those commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100