Skip to content

Commit 09489dc

Browse files
authored
fix: changing description should stay at the top (#147)
1 parent a2d03da commit 09489dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/log_tab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ impl Component for LogTab<'_> {
761761
self.head.commit_id.as_str(),
762762
&describe_textarea.lines().join("\n"),
763763
)?;
764-
self.head = commander.get_current_head()?;
764+
self.head = commander.get_head_latest(&self.head)?;
765765
self.refresh_log_output(commander);
766766
self.refresh_head_output(commander);
767767
self.describe_textarea = None;

0 commit comments

Comments
 (0)