Skip to content

Commit ec26d32

Browse files
committed
fix: textconf programs are now always run through a shell.
This is based on what Git does, see git/git@41a457e . This originally surfaced in gitbutlerapp/gitbutler#9540 .
1 parent f52336f commit ec26d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-diff/src/blob/pipeline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ impl Driver {
549549
let cmd = gix_command::prepare(gix_path::from_bstr(command).into_owned())
550550
// TODO: Add support for an actual Context, validate it *can* match Git
551551
.with_context(Default::default())
552-
.command_may_be_shell_script()
552+
.with_shell()
553553
.stdin(Stdio::null())
554554
.stdout(Stdio::piped())
555555
.stderr(Stdio::piped())

0 commit comments

Comments
 (0)