Introduce primitives in GitStore to support reviewing assistant diffs (#27576)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2025-03-27 10:46:31 +01:00 committed by GitHub
parent cd6b1d32d0
commit 82a06f0ca9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 666 additions and 63 deletions

View file

@ -1041,7 +1041,10 @@ impl Worktree {
if let Some(git_repo) =
snapshot.git_repositories.get(&repo.work_directory_id)
{
return Ok(git_repo.repo_ptr.load_index_text(repo_path).await);
return Ok(git_repo
.repo_ptr
.load_index_text(None, repo_path)
.await);
}
}
}