libgit2 / libgit2/libgit2sharp
Performing Delete or Push on a master branch or a protected branch doesn't throw any exception
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
Perform Delete or Push on master or protected branch
Expected behavior
There should be an exception thrown of specific type
Actual behavior
Performing Delete or Push on a master branch or a protected branch doesn't throw any exception
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
.NET6
Windows 10
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
Reproduce the issue with LibGit2Sharp 0.27.0-preview-0175 on .NET 6 and Windows 10 by deleting or pushing to master or another protected branch. Trace the delete and push handling to identify why no exception is raised; done means both operations throw the intended specific exception type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100