Implement collaborative git manipulations (#23869)
Now commit, stage and unstage can be done both via remote ssh and via collab (by guests with write access). https://github.com/user-attachments/assets/a0f5e4e8-01a3-402b-a1f7-f3fc1236cffd Release Notes: - N/A
This commit is contained in:
parent
e721dac367
commit
41de83fe1f
7 changed files with 482 additions and 30 deletions
|
@ -1530,11 +1530,6 @@ impl LocalWorktree {
|
|||
self.settings.clone()
|
||||
}
|
||||
|
||||
pub fn local_git_repo(&self, path: &Path) -> Option<Arc<dyn GitRepository>> {
|
||||
self.local_repo_for_path(path)
|
||||
.map(|local_repo| local_repo.repo_ptr.clone())
|
||||
}
|
||||
|
||||
pub fn get_local_repo(&self, repo: &RepositoryEntry) -> Option<&LocalRepositoryEntry> {
|
||||
self.git_repositories.get(&repo.work_directory_id)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue