git-codereview: fix .netrc authentication
.netrc credentials were clobbered by missing Git cookiefile. The command
to get the output of `git config http.cookiefile` was exiting the
program before it got a chance to see if any .netrc file were defined.
Remove redundancy in handling error of `git config remote.origin.url`.
Reviewed-by: Andrew Gerrand <email@example.com>
2 files changed