Skip to content

Commit d11818e

Browse files
committed
make 'pull' output of previous upstream base prettier
1 parent 8675869 commit d11818e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sync.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,11 @@ impl GitSync {
8080

8181
let orig_head = get_current_head_sha(self.verbose)?;
8282
println!(
83-
"previous upstream base: {:?}",
84-
self.context.last_upstream_sha
83+
"previous upstream base: {}",
84+
self.context
85+
.last_upstream_sha
86+
.as_deref()
87+
.unwrap_or("<none>"),
8588
);
8689
println!("new upstream base: {upstream_sha}");
8790
println!("original local HEAD: {orig_head}");

0 commit comments

Comments
 (0)