git-lfs/lfshttp
brian m. carlson a1e86326c4
standalone: include stderr if git rev-parse fails
If `git rev-parse --git-dir` fails, Git doesn't think that the
destination is a valid repository for whatever reason.  One of the most
common reasons for that is that the repository is owned by another user.

In such a case, we want to show the error message from Git, since we
really have no other indication that this is the case.  It could be just
that the destination isn't a repository at all.  Regardless, the error
message would be useful to the user to determine the problem, so let's
return it if standard error isn't empty.
2023-02-13 20:42:40 +00:00
..
standalone standalone: include stderr if git rev-parse fails 2023-02-13 20:42:40 +00:00
body.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_darwin.go subprocess: report errors when finding executables 2022-04-19 09:45:20 -07:00
certs_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
certs_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
certs_windows.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs.go Set package version to v3 2021-09-02 20:41:08 +00:00
client_test.go commands,lfs{api,http}: uppercase HTTP in messages 2022-01-29 22:25:07 -08:00
client.go lfshttp: log the Negotiate error on failure 2022-05-10 20:51:49 +00:00
cookies.go Set package version to v3 2021-09-02 20:41:08 +00:00
endpoint.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
errors.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
lfshttp.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
proxy_test.go lfshttp/proxy: consider scheme of request URL when choosing proxy 2021-02-03 20:27:39 +00:00
proxy.go Set package version to v3 2021-09-02 20:41:08 +00:00
retries_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
retries.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
ssh_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
ssh.go ssh: disable concurrent transfers if no multiplexing 2022-10-14 14:34:52 +00:00
stats_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
stats.go Set package version to v3 2021-09-02 20:41:08 +00:00
verbose_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
verbose.go revise some informational and error messages 2022-01-29 22:10:48 -08:00