Move buffer diff storage from BufferStore to GitStore (#26795)
Release Notes: - N/A --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: max <max@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
max
parent
3d1ae68f83
commit
011f823f33
@@ -89,14 +89,15 @@ impl HeadlessProject {
|
||||
|
||||
let environment = project::ProjectEnvironment::new(&worktree_store, None, cx);
|
||||
let git_store = cx.new(|cx| {
|
||||
GitStore::local(
|
||||
let mut store = GitStore::local(
|
||||
&worktree_store,
|
||||
buffer_store.clone(),
|
||||
environment.clone(),
|
||||
fs.clone(),
|
||||
session.clone().into(),
|
||||
cx,
|
||||
)
|
||||
);
|
||||
store.shared(SSH_PROJECT_ID, session.clone().into(), cx);
|
||||
store
|
||||
});
|
||||
let prettier_store = cx.new(|cx| {
|
||||
PrettierStore::new(
|
||||
|
||||
Reference in New Issue
Block a user