JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros
https://gitnuro.com/
GNU General Public License v3.0
872 stars 44 forks source link

crash on trying to push via ssh on a repository without the necessary rights. #148

Closed adam-ce closed 11 months ago

adam-ce commented 11 months ago

Describe the bug gitnuro crashes if you try to push to a git repository via ssh, where you don't have the necessary rights

To Reproduce Steps to reproduce the behavior:

  1. Clone e.g. "git@github.com:graphdeco-inria/gaussian-splatting.git" (which i suppose is not writeable by you)
  2. Click on push
  3. wait and it'll crash

Expected behavior Error message, that you can't push to that remote.

Screenshots I've attached a an error log file

Desktop (please complete the following information):

JetpackDuba commented 11 months ago

Hey! Thanks for your report!

Apparently it was fixed as a side effect of the changes in 9a7cc6a988223cf9c2071996d8869d7bb981783f . I noticed that resources were not being released in the right order but I didn't find a case where this would have been a problem, until now :smile:

The fix will be available for v1.3.0.