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

From: "Alfred M. Szmidt" <[email-masked]>
Date: Tue, 26 Sep 2023 12:51:14 -0400

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".

I stand corrected, the short form output when you pass a wrong
argument didn't show the switch.  I'll try tomorrow.

   Both FreeBSD and OpenBSD seem to support it:

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