Load diff base for buffers that are opening but not yet opened when repositories are discovered
This commit is contained in:
@@ -839,6 +839,7 @@ impl LocalWorktree {
|
||||
fn set_snapshot(&mut self, new_snapshot: LocalSnapshot, cx: &mut ModelContext<Worktree>) {
|
||||
let updated_repos =
|
||||
self.changed_repos(&self.git_repositories, &new_snapshot.git_repositories);
|
||||
|
||||
self.snapshot = new_snapshot;
|
||||
|
||||
if let Some(share) = self.share.as_mut() {
|
||||
|
||||
Reference in New Issue
Block a user