Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T08:01:24.019Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

possible-04.diff

25 lines · 790 B · text
1@@ -93,17 +93,20 @@
2     stdin.flush().await?;
3
4     let output = child.output().await.context("reading git blame output")?;
5+    handle_command_output(&output)?;
6+    Ok(String::from_utf8(output.stdout)?)
7+}
8
9+fn handle_command_output(output: &std::process::Output) -> Result<()> {
10     if !output.status.success() {
11         let stderr = String::from_utf8_lossy(&output.stderr);
12         let trimmed = stderr.trim();
13         if trimmed == GIT_BLAME_NO_COMMIT_ERROR || trimmed.contains(GIT_BLAME_NO_PATH) {
14-            return Ok(String::new());
15+            return Ok(());
16         }
17         anyhow::bail!("git blame process failed: {stderr}");
18     }
19-
20-    Ok(String::from_utf8(output.stdout)?)
21+    Ok(())
22 }
23
24 #[derive(Serialize, Deserialize, Default, Debug, Clone, PartialEq, Eq)]
25
Served at tenant.openagents/omega Member data and write actions are omitted.