libgit2 / libgit2/libgit2sharp
Push not throwing exception when more than 100MB file is being pushed to GitHub
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction steps
1 - Copy a new file of size more than 100MB to local repository.
2 - Stage that file.
3 - Commit that file.
4 - Push that file.
Expected behavior
The behavior expected is that it should throw an exception similarly to GitHub Desktop.
Actual behavior
The actual behavior is that there is no exception thrown and does not push as well to the remote repository on GitHub.
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0158
Operating system(s) tested; .NET runtime tested
OS: Windows 10
.NET runtime: .NET 6
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 by reproducing the Windows 10/.NET 6 case with LibGit2Sharp 0.27.0-preview-0158: push a committed file larger than 100 MB and observe the returned behavior. Trace the push path and its error handling, then verify that an appropriate exception is surfaced while the oversized file is rejected.
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
- Needs clarification
- Newbie friendliness
- 35/100