@@ -94,6 +94,10 @@
 
     let output = child.output().await.context("reading git blame output")?;
 
+    handle_command_output(output)
+}
+
+fn handle_command_output(output: std::process::Output) -> Result<String> {
     if !output.status.success() {
         let stderr = String::from_utf8_lossy(&output.stderr);
         let trimmed = stderr.trim();
