mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-22 16:22:09 +00:00
Avoid using debug representation for git source urls (#6779)
e.g. > DEBUG Using existing Git source `https://github.com/StarfishStorage/python-swiftclient.git` instead of > DEBUG Using existing git source `Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/StarfishStorage/gunicorn.git", query: None, fragment: None }`
This commit is contained in:
parent
aad00d22e4
commit
4a98e1eceb
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ impl GitSource {
|
|||
// If we have a locked revision, and we have a preexisting database
|
||||
// which has that revision, then no update needs to happen.
|
||||
(Some(rev), Some(db)) if db.contains(rev.into()) => {
|
||||
debug!("Using existing git source `{:?}`", self.git.repository);
|
||||
debug!("Using existing Git source `{}`", self.git.repository);
|
||||
(db, rev, None)
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ impl GitSource {
|
|||
// situation that we have a locked revision but the database
|
||||
// doesn't have it.
|
||||
(locked_rev, db) => {
|
||||
debug!("Updating git source `{:?}`", self.git.repository);
|
||||
debug!("Updating Git source `{}`", self.git.repository);
|
||||
|
||||
// Report the checkout operation to the reporter.
|
||||
let task = self.reporter.as_ref().map(|reporter| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue