gg
gg copied to clipboard
Fetching with wrong password produces wrong output
Normally, when entering the wrong password, git fetch
output should be
remote: Invalid username or password.
fatal: Authentication failed for ...
but gg f
doesn't produce any error, only shows
[✔] Fetched!
Hmm, this is strange as the error catching implementation for fetch()
is identical to that of every other function. Perhaps git fetch
does not return an error code if the fetch was not successfully completed?