git: Log some more information when opening a git repository and when git show fails (#51495)
Release Notes: - N/A
This commit is contained in:
1 parent
7b21c3ac2e
commit
641d5151f2
3 files changed
+17
-13
No files matched your search
@@ -91,7 +91,7 @@ async fn get_messages_impl(git: &GitBinary, shas: &[Oid]) -> Result<Vec<String>>
|
||||
anyhow::ensure!(
|
||||
output.status.success(),
|
||||
"'git show' failed with error {:?}",
|
||||
output.status
|
||||
String::from_utf8_lossy(&output.stderr)
|
||||
);
|
||||
Ok(String::from_utf8_lossy(&output.stdout)
|
||||
.trim()
|
||||
|
||||
Reference in new issue
Block a user