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 75b3bd9 commit a93741fCopy full SHA for a93741f
git-fmt-diff
@@ -396,13 +396,12 @@ process_file () (
396
fi
397
398
# shellcheck disable=SC2086
399
- sh -c "$formatter" < "$b_raw" > "$b_fmt" $g_fmtprg_devnull
+ eval "sh -c '$formatter' < '$b_raw' > '$b_fmt' $g_fmtprg_devnull"
400
rm_list__push "$b_fmt"
401
402
git diff -s "$b_raw" "$b_fmt" && return
403
404
- # shellcheck disable=SC2086
405
- sh -c "$formatter" < "$a_raw" > "$a_fmt" $g_fmtprg_devnull
+ eval "sh -c '$formatter' < '$a_raw' > '$a_fmt' $g_fmtprg_devnull"
406
rm_list__push "$a_fmt"
407
408
chng_fmt="$(git_changes_formatted \
0 commit comments