aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/commitgraph/commitgraph_test.go
diff options
context:
space:
mode:
authorMax Jonas Werner <mail@makk.es>2023-10-07 00:02:01 +0200
committerMax Jonas Werner <mail@makk.es>2023-10-12 11:26:36 +0200
commit129b709887b4528ced42c8d74f4c2609800a8942 (patch)
treedf965cf99f0ae91b3ea662690fb17c8f672fd58d /plumbing/format/commitgraph/commitgraph_test.go
parent19fe126d8889134e6224717a756745eed9985e22 (diff)
downloadgo-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/commitgraph_test.go')
0 files changed, 0 insertions, 0 deletions