sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
276 stars 14 forks source link

GitHub Error Not Being Forwarded to SM's GUI #1697

Open bradhoward-dfs opened 1 year ago

bradhoward-dfs commented 1 year ago

Version info

Description

Since Github does not allow me to push files over 100mb, they rejected the push. The command display box in the center of the window showed some text like "Pushing to remote" for two hours plus. I clicked on that little icon to get some feedback on the running command and there was no error message, and the text that was shown led me to think the operation succeeded. I checked GitHub and I saw the branch was not successfully pushed.

I then ran git push -u origin my_branch_name and got some error text. See below

To be clear, I did something wrong when I pushed those large files. I just expected to get the error forwarded to the GUI.

Steps to reproduce

I pushed a locally created branch to the GitHub remote where a file was > 100mb along with a few other files that were larger than 50mb. There is probably a couple thousand files less than 1mb in that push as well.

Expected behavior

Some sort of error indication relating to the GitHub failure

Screenshots

` Enumerating objects: 129, done.

Counting objects: 100% (129/129), done.

Delta compression using up to 20 threads

Compressing objects: 100% (99/99), done.

Writing objects: 100% (128/128), 244.54 MiB | 1.41 MiB/s, done.

Total 128 (delta 10), reused 0 (delta 0)

remote: Resolving deltas: 100% (10/10), done.

remote: warning: File valid_filename_here is 75.94 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

remote: warning: File second_valid_filename_here is 98.13 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

remote: error: Trace: 86811ac59b1eb8d703bc26eee5a91893a57fdb1ffefac2d8872903d753065762

remote: error: See http://git.io/iEPt8g for more information.

remote: error: File third_valid_filename_here is 155.86 MB; this exceeds GitHub's file size limit of 100.00 MB

remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.

To https://github.com/my_repo_name_here/updates.git

! [remote rejected] my_branch_name -> my_branch_name (pre-receive hook declined) error: failed to push some refs to 'https://github.com/my_repo_name_here/updates.git'

`

srbs commented 1 year ago

I clicked on that little icon to get some feedback on the running command and there was no error message, and the text that was shown led me to think the operation succeeded.

What command was run? Did you check for other errors in that history?

bradhoward-dfs commented 1 year ago

I clicked on the up arrow to push my local branch to the remote. I do not know the specific push command that up arrow makes

I ran this in my terminal to get the error I pasted in above git push -u origin my_branch_name

I do not know how to check for other errors in that history. That icon was not showing the little red x after canceling the push operation