We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d5091 commit f9b7db3Copy full SHA for f9b7db3
git2-hooks/src/hookspath.rs
@@ -184,7 +184,8 @@ impl HookPaths {
184
(child.stdin.take(), stdin)
185
{
186
use std::io::Write;
187
- stdin_handle.write_all(input)?;
+ // Ignore broken pipe errors - the hook may exit without reading stdin
188
+ let _ = stdin_handle.write_all(input);
189
drop(stdin_handle);
190
}
191
0 commit comments