WIP Start refactoring separation of concerns for repo metadata
Co-Authored-By: Max Brunsfeld <max@zed.dev> Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
42b7820dbb
commit
c95646a298
5 changed files with 73 additions and 148 deletions
|
@ -676,10 +676,6 @@ impl Buffer {
|
|||
self.git_diff_status.diff.needs_update(self)
|
||||
}
|
||||
|
||||
pub fn is_recalculating_git_diff(&self) -> bool {
|
||||
self.git_diff_status.update_in_progress
|
||||
}
|
||||
|
||||
pub fn git_diff_recalc(&mut self, cx: &mut ModelContext<Self>) {
|
||||
if self.git_diff_status.update_in_progress {
|
||||
self.git_diff_status.update_requested = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue