mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-02 14:13:48 +00:00
Reset head tree cache
https://bugzilla.gnome.org/show_bug.cgi?id=728208
This commit is contained in:
parent
7e01fe9d60
commit
2904a38928
|
@ -103,6 +103,8 @@ public class Stage : Object
|
|||
|
||||
public async void refresh() throws Error
|
||||
{
|
||||
d_head_tree = null;
|
||||
|
||||
yield thread_index((index) => {
|
||||
index.read(false);
|
||||
});
|
||||
|
@ -492,6 +494,8 @@ public class Stage : Object
|
|||
} catch {}
|
||||
}
|
||||
|
||||
d_head_tree = null;
|
||||
|
||||
// run post commit
|
||||
post_commit_hook(author);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue