From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel 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 Message-ID: References: <166171593185.16640.41619657947456727@vcs2.savannah.gnu.org> <87r10znm0y.fsf@gnus.org> <83fshfvvyn.fsf@gnu.org> <999d1cb2-6b7f-8020-5202-e919278d895e@yandex.ru> <877d2pnqup.fsf@yahoo.com> <86zgfknc9a.fsf@mail.linkov.net> <87sflc91q7.fsf@gnus.org> <87wnao7l74.fsf@gnus.org> <0d5679a1-7635-53db-51c7-0ac0e35325d8@yandex.ru> <87mtbke7wf.fsf@gnus.org> <87ilm8e5am.fsf@gnus.org> <87k06nz9g8.fsf@gnus.org> <874jxrz5ai.fsf@gnus.org> <874jxrgr8s.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19718"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, larsi@gnus.org, dgutov@yandex.ru, juri@linkov.net, luangruo@yahoo.com, eliz@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 04 14:28:18 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oUoja-0004xF-7p for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Sep 2022 14:28:18 +0200 Original-Received: from localhost ([::1]:59876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUojY-0008GI-RS for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Sep 2022 08:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUoiR-0007Tc-1B for emacs-devel@gnu.org; Sun, 04 Sep 2022 08:27:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUoiP-0004eT-10; Sun, 04 Sep 2022 08:27:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=YhsO4ng48kB1EBhi8BKFxR2FbN6Aq8GDe/O5XgJ4uHw=; b=BTf7bO2j8o5Z 0fLxE0POd4etjDehKWMfmN8tAdNKzm2FuIREGuoRuxC4QfjXXxrZIP4jY6L+Q6zUlRxhDaiUQOQu5 QQGrZ/IYtMQAcHNj1e8BHuW5u89bqA8haubXs1CopDOMr9gEsKM18efpZCBY9ht9U9XsCHOw7+SsL rK5qnD139Wdzh+sGrNGSb2rSXGDOfqL5a02YNVyzEuHIJsne5YDV0C8ObrC5MBTEOTryKOO6AApJj qVjhAS4Kdq99/rf/EMZNK4swfXRqsxK6/jl/eMn6Hz8nPfYvTiL2XUIv8so458cHFPCsN4W2mFntg tlLL4DurSjT6GHbG0CRnYg==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oUoiN-0002db-QN; Sun, 04 Sep 2022 08:27:03 -0400 In-Reply-To: (message from Richard Stallman on Fri, 02 Sep 2022 22:51:17 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:294701 Archived-At: > '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.