From 66f0f87933f799539ca4520a991a6844585fd3b1 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 10 Jan 2023 21:18:47 +0100 Subject: [PATCH] Small change to storage log output Previously it would show eg. `RefString(...)`. Signed-off-by: Alexis Sellier --- radicle/src/storage/git.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle/src/storage/git.rs b/radicle/src/storage/git.rs index a219a7b6..3a9be380 100644 --- a/radicle/src/storage/git.rs +++ b/radicle/src/storage/git.rs @@ -651,11 +651,11 @@ impl WriteRepository for Repository { let head_ref = refname!("HEAD"); let (branch_ref, head) = self.canonical_head()?; - log::debug!("Setting ref {:?} -> {:?}", &branch_ref, head); + log::debug!("Setting ref: {} -> {}", &branch_ref, head); self.raw() .reference(&branch_ref, *head, true, "set-local-branch (radicle)")?; - log::debug!("Setting ref {:?} -> {:?}", head_ref, branch_ref); + log::debug!("Setting ref: {} -> {}", head_ref, branch_ref); self.raw() .reference_symbolic(&head_ref, &branch_ref, true, "set-head (radicle)")?;