mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 00:48:35 +00:00
file revlog: diff issues
* clear on open * populate after log was loaded
This commit is contained in:
parent
1013d3fa24
commit
457ea47457
1 changed files with 3 additions and 0 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Reference in a new issue