From bf69ead98470992e044079026dc9273fc3f20461 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 23 May 2023 23:02:35 +0200 Subject: [PATCH] cli: Implement hunk-based code review Review code with an interface similar to `git add -p`. --- radicle-tui/src/ui/cob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-tui/src/ui/cob.rs b/radicle-tui/src/ui/cob.rs index 9ffe9981..8b0cde6f 100644 --- a/radicle-tui/src/ui/cob.rs +++ b/radicle-tui/src/ui/cob.rs @@ -142,7 +142,7 @@ impl TableItem<8> for PatchItem { let author = Cell::from(format_author(&self.author.did, self.author.is_you)) .style(Style::default().fg(theme.colors.browser_list_author)); - let head = Cell::from(format::oid(self.head)) + let head = Cell::from(format::oid(self.head).item) .style(Style::default().fg(theme.colors.browser_patch_list_head)); let added = Cell::from(format!("{}", self.added))