file revlog: diff issues

* clear on open
* populate after log was loaded
This commit is contained in:
Stephan Dilly 2022-01-30 23:11:17 +01:00
parent 1013d3fa24
commit 457ea47457

View file

@ -107,6 +107,7 @@ impl FileRevlogComponent {
));
self.table_state.get_mut().select(Some(0));
self.show()?;
self.diff.clear(false);
self.update()?;
@ -137,6 +138,8 @@ impl FileRevlogComponent {
{
self.fetch_commits()?;
}
self.update_diff()?;
}
Ok(())