Tweak some of the tool.uv.sources error messages for consistency (#3364)

This commit is contained in:
Charlie Marsh 2024-05-03 22:38:47 -04:00 committed by GitHub
parent 100935f4f1
commit 363e808724
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 43 deletions

View file

@ -146,9 +146,9 @@ pub enum RequirementSource {
/// `<scheme>://<domain>/<path>#subdirectory=<subdirectory>`.
url: VerbatimUrl,
},
/// A remote git repository, either over HTTPS or over SSH.
/// A remote Git repository, over either HTTPS or SSH.
Git {
/// The repository URL (without `git+` prefix).
/// The repository URL (without the `git+` prefix).
repository: Url,
/// Optionally, the revision, tag, or branch to use.
reference: GitReference,