Subject: Re: bug#66211: 30.0.50; C-x v v in vc-diff does not work with lesser versionf of patch

From: Dmitry Gutov <[email-masked]>
Date: Tue, 26 Sep 2023 19:30:39 +0300

On 26/09/2023 18:08, Alfred M. Szmidt wrote:
>     diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
>     index 2f4b028bb4a..356da5ddfac 100644
>     --- a/lisp/vc/vc.el
>     +++ b/lisp/vc/vc.el
>     @@ -1724,7 +1724,8 @@ vc-default-checkin-patch
> 						  nil
> 						  "-p1"
> 						  "-r" null-device
>     -                                             "--no-backup-if-mismatch"
>     +                                             "--posix"
>     +                                             "--remove-empty-files"
> 
> 
> Patch on BSD doe not have --remote-empty-files.

Just to make sure: did you try the correct spelling? "remove", not "remote".

Both FreeBSD and OpenBSD seem to support it:

https://man.freebsd.org/cgi/man.cgi?patch(1)
https://man.openbsd.org/patch.1