diff --git a/crates/gitbutler-core/src/git/repository_ext.rs b/crates/gitbutler-core/src/git/repository_ext.rs index 4ebee3c14..de70ce3e4 100644 --- a/crates/gitbutler-core/src/git/repository_ext.rs +++ b/crates/gitbutler-core/src/git/repository_ext.rs @@ -199,7 +199,9 @@ fn sign_buffer(repo: &git2::Repository, buffer: &String) -> Result { #[cfg(windows)] cmd.creation_flags(0x08000000); // CREATE_NO_WINDOW - let mut child = cmd.spawn()?; + let mut child = cmd + .spawn() + .context(anyhow::format_err!("failed to spawn {:?}", cmd))?; child .stdin .take()