fork-dev / Tracker

Bug and issue tracker for Fork for Mac
505 stars 12 forks source link

Warning during push is treated as an error by Fork #2197

Open lane-eden opened 1 week ago

lane-eden commented 1 week ago

Hi, we use a redirect due to a proxy in front of GHES instance and I don't want to get this warning interrupting my workflow every time I push. When I push using the git command line, the warning prints but doesn't interrupt me:

>> git push
warning: redirecting to https://stash.vpn:1234/scm/org/repo.git/
Everything up-to-date

Unfortunately in stash, a modal pops up every time I push:

Git Error
An unexpected error occurred while performing the git request.

Error Details:
Pushing to https://git.vpn/org/repo.git
warning: redirecting to https://stash.vpn:1234/scm/org/repo.git
...
DanPristupov commented 1 week ago

Warning during push is treated as an error by Fork

No, it's not like that. Fork doesn't care about the output and handles the exit code instead. Warning is unrelated.