Load diff base for buffers that are opening but not yet opened when repositories are discovered
This commit is contained in:
parent
fc82489128
commit
51d94f532b
2 changed files with 92 additions and 29 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue