GNU bug report logs - #66211
30.0.50; C-x v v in vc-diff does not work with lesser versionf of patch

Previous Next

Package: emacs;

Reported by: "Alfred M. Szmidt" <ams <at> gnu.org>

Date: Tue, 26 Sep 2023 12:19:02 UTC

Severity: normal

Found in version 30.0.50

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 66211 <at> debbugs.gnu.org (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 66211 <at> debbugs.gnu.org
Subject: Re: bug#66211: 30.0.50; C-x v v in vc-diff does not work with lesser
 versionf of patch
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






This bug report was last modified 1 year and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.