vim-patch.sh: remove --posix from patch invocation

This was supposed to avoid creating *.orig. It doesn't do that, and
worse, it also seems to prevent new files from being created.
This commit is contained in:
Justin M. Keyes
2018-02-02 01:33:34 +01:00
parent 2cfc1b055b
commit e69a71427c

View File

@@ -234,7 +234,7 @@ stage_patch() {
output="$(commit_message | git commit --allow-empty --file 2>&1 -)" &&
echo "${output}" ||
(echo "${output}"; false)
if test -n "$try_apply" ; then
if ! check_executable patch; then
printf "\n✘ 'patch' command not found\n"