Allow reviewing of agent changes without Git (#27668)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra
2025-03-28 18:58:53 +00:00
committed by GitHub
parent 8a307e7b89
commit 94ed0b7767
27 changed files with 2271 additions and 1095 deletions
+1 -4
View File
@@ -1041,10 +1041,7 @@ impl Worktree {
if let Some(git_repo) =
snapshot.git_repositories.get(&repo.work_directory_id)
{
return Ok(git_repo
.repo_ptr
.load_index_text(None, repo_path)
.await);
return Ok(git_repo.repo_ptr.load_index_text(repo_path).await);
}
}
}