{"record":{"id":"8f8461cb5dd35285","repo":"zed-industries/zed","slug":"git-config-isn-t-yet-supported-for-remote-projects","errorCode":null,"errorMessage":"Git Config isn't yet supported for remote projects","messagePattern":"Git Config isn't yet supported for remote projects","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/project/src/git_store.rs","lineNumber":3201,"sourceCode":"                this.update(cx, |this, cx| {\n                    if let Some(diff_state) = this.diffs.get(&buffer_id).cloned() {\n                        diff_state.update(cx, |diff_state, cx| {\n                            diff_state.clear_pending_index_edits_and_hunks(cx);\n                        });\n                    }\n                    cx.emit(GitStoreEvent::IndexWriteError(error));\n                })\n                .ok();\n            }\n        })\n        .detach();\n    }\n\n    fn local_worktree_git_repos_changed(\n        &mut self,\n        worktree: Entity<Worktree>,\n        changed_repos: &UpdatedGitRepositoriesSet,\n        cx: &mut Context<Self>,\n    ) {\n        log::debug!(\"local worktree repos changed\");\n        debug_assert!(worktree.read(cx).is_local());\n\n        for repository in self.repositories.values() {\n            repository.update(cx, |repository, cx| {\n                let repo_abs_path = &repository.work_directory_abs_path;\n                if changed_repos.iter().any(|update| {\n                    update.old_work_directory_abs_path.as_ref() == Some(repo_abs_path)\n                        || update.new_work_directory_abs_path.as_ref() == Some(repo_abs_path)\n                }) {\n                    repository.reload_buffer_diff_bases(cx);\n                }\n            });\n        }\n    }\n\n    pub fn repositories(&self) -> &HashMap<RepositoryId, Entity<Repository>> {","sourceCodeStart":3183,"sourceCodeEnd":3219,"githubUrl":"https://github.com/zed-industries/zed/blob/916fc2b8cb3a815cbef4a3b40e13081be72036b6/crates/project/src/git_store.rs#L3183-L3219","documentation":"git_config was called while the project is in the Remote (non-collab) state; running git config against a remote project's filesystem is not implemented, so the request is rejected with this guard error before any RPC is made.","triggerScenarios":"Thrown at crates/project/src/git_store.rs:3193 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run git config locally where the repository resides","Reopen the project locally if config changes are needed from this machine"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"916fc2b8cb3a815cbef4a3b40e13081be72036b6","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}