libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.15k stars 887 forks source link

Push not throwing exception when more than 100MB file is being pushed to GitHub #1933

Open thealifaisal opened 2 years ago

thealifaisal commented 2 years ago

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

ali-bhutto commented 2 years ago

I'm facing the same issue. It doesn't throw an exception when it can't push large files to GitHub.