Skip to content

Commit fce84ae

Browse files
author
Naseschwarz
committed
Temporarily allow debug formatting of hook path
This will be fixed in gitui-org#2483
1 parent 32807fd commit fce84ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git2-hooks/src/hookspath.rs

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ impl HookPaths {
109109
pub fn run_hook(&self, args: &[&str]) -> Result<HookResult> {
110110
let hook = self.hook.clone();
111111

112+
#[allow(clippy::unnecessary_debug_formatting)]
112113
let arg_str = format!("{:?} {}", hook, args.join(" "));
113114
// Use -l to avoid "command not found" on Windows.
114115
let bash_args =

0 commit comments

Comments
 (0)