diff options
author | Max Jonas Werner <mail@makk.es> | 2023-10-07 00:02:01 +0200 |
---|---|---|
committer | Max Jonas Werner <mail@makk.es> | 2023-10-12 11:26:36 +0200 |
commit | 129b709887b4528ced42c8d74f4c2609800a8942 (patch) | |
tree | df965cf99f0ae91b3ea662690fb17c8f672fd58d /plumbing/format/commitgraph/v2 | |
parent | 19fe126d8889134e6224717a756745eed9985e22 (diff) | |
download | go-git-129b709887b4528ced42c8d74f4c2609800a8942.tar.gz |
plumbing: transport/common, Improve handling of remote errors
Instead of simply returning the first line that the remote returned,
go-git now actively searches all of stderr for lines that may contain
a more actionable error message and returns that.
In addition, this change adds a case to map the GitLab-specific error
message to an ErrRepositoryNotFound error.
Signed-off-by: Max Jonas Werner <mail@makk.es>
Diffstat (limited to 'plumbing/format/commitgraph/v2')
0 files changed, 0 insertions, 0 deletions