Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumbing: transport/common, Improve handling of remote errors | Max Jonas Werner | 2023-10-12 | 1 | -0/+46 |
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> |