From d11818efdc35d763544ebf93fe68fd0bc166bdb6 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 2 Oct 2025 09:06:34 +0200 Subject: [PATCH] make 'pull' output of previous upstream base prettier --- src/sync.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sync.rs b/src/sync.rs index 7270312..3e760a7 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -80,8 +80,11 @@ impl GitSync { let orig_head = get_current_head_sha(self.verbose)?; println!( - "previous upstream base: {:?}", - self.context.last_upstream_sha + "previous upstream base: {}", + self.context + .last_upstream_sha + .as_deref() + .unwrap_or(""), ); println!("new upstream base: {upstream_sha}"); println!("original local HEAD: {orig_head}");