Skip to content

Commit 0115fa8

Browse files
committed
Assure paths used in shells for signing program are quoted. (#5839)
1 parent 0a578ea commit 0115fa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/gitbutler-repo/src/repository_ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ fn prepare_with_shell(program: impl Into<OsString>) -> gix::command::Prepare {
582582
.with_shell_program(gix::path::env::shell())
583583
// force using a shell, we want access to additional programs here
584584
.with_shell()
585+
.with_quoted_command()
585586
} else {
586587
prepare
587588
}

0 commit comments

Comments
 (0)