{"record":{"id":"51516ebfe9cdbac9","repo":"zed-industries/zed","slug":"cannot-blame-binary-file-at-revision-revisio","errorCode":null,"errorMessage":"cannot blame binary file {:?} at revision {revision}","messagePattern":"cannot blame binary file (.+?) at revision (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/project/src/git_store.rs","lineNumber":10152,"sourceCode":"        let worker_task = cx.spawn(async move |this, cx| {\n            let Some(state) = state.await.log_err() else {\n                return;\n            };\n            if let Some(git_hosting_provider_registry) =\n                cx.update(|cx| GitHostingProviderRegistry::try_global(cx))\n            {\n                git_hosting_providers::register_additional_providers(\n                    git_hosting_provider_registry,\n                    state.backend.clone(),\n                )\n                .await;\n            }\n            let state = RepositoryState::Local(state);\n            let mut jobs = VecDeque::new();\n            loop {\n                while let Ok(next_job) = job_rx.try_recv() {\n                    jobs.push_back(next_job);\n                }\n\n                if let Some(job) = jobs.pop_front() {\n                    if let Some(current_key) = &job.key\n                        && jobs\n                            .iter()\n                            .any(|other_job| other_job.key.as_ref() == Some(current_key))\n                    {\n                        let skipped_job_id = job.id;\n                        this.update(cx, |repo, _| {\n                            repo.job_debug_queue.mark_complete(\n                                skipped_job_id,\n                                job_debug_queue::CompletedJobStatus::Skipped,\n                            );\n                        })\n                        .ok();\n                        continue;\n                    }\n                    (job.job)(state.clone(), cx).await;","sourceCodeStart":10134,"sourceCodeEnd":10170,"githubUrl":"https://github.com/zed-industries/zed/blob/916fc2b8cb3a815cbef4a3b40e13081be72036b6/crates/project/src/git_store.rs#L10134-L10170","documentation":"Raised while producing a blame for a buffer: the file at the given repository path is binary at the requested revision, so `git blame` cannot produce line-level attribution. The operation is rejected rather than returning meaningless output.","triggerScenarios":"Thrown at crates/project/src/git_store.rs:10138 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Blame a text revision of the file instead","Verify the correct file path and revision were passed"],"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"}