emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 4803fba487 1/2: 'C-x v v' on a diff buffer commits it as a pa


From: Alfred M. Szmidt
Subject: Re: master 4803fba487 1/2: 'C-x v v' on a diff buffer commits it as a patch (bug#52349)
Date: Sun, 04 Sep 2022 08:27:03 -0400

     > 'git apply' will work as a replacement for 'patch' as well.

   Will it work with all the back ends that VC supports?
   If it only works with git, it is not a very useful fallback.

It should; `git apply' doesn't require that directory and files it
works on is a git tree for its most basic functionality.  What might
be an issue is if .git/config is used, and any configuration values
are set that change the behaviour of `git apply'.

GNU patch has nicer features than `git apply' too, and is a standard
Unix program, it makes more sense to depend on patch than on `git
apply'.

   Note that it would add the requirement for git to be installed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]