From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Thu, 13 Oct 2022 10:04:07 +0300 Organization: LINKOV.NET Message-ID: <86lepkw7d4.fsf@mail.linkov.net> References: <84v8qgn1z9.fsf@iki.fi> <87h71zo3p8.fsf@posteo.net> <87sfljmgwz.fsf@posteo.net> <87y1twvima.fsf@posteo.net> <84sfk2p846.fsf@iki.fi> <87h70i9ntt.fsf@posteo.net> <87edvl6vbj.fsf@gmail.com> <8735c1nn3y.fsf@posteo.net> <877d1d6rcy.fsf@gmail.com> <867d1cjc8w.fsf@mail.linkov.net> <87o7unkggk.fsf@posteo.net> <86edvids93.fsf@mail.linkov.net> <87zge52nx0.fsf@posteo.net> <86sfjvqz68.fsf@mail.linkov.net> <87edvecg45.fsf@posteo.net> <86r0ze2ldb.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: philipk@posteo.net, 57400@debbugs.gnu.org, rpluim@gmail.com, ane@iki.fi To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 10:24:59 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oitWU-0005Rt-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 10:24:58 +0200 Original-Received: from localhost ([::1]:34724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oitWT-0001eu-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 04:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oisOs-0000X2-Un for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oisOs-0001bX-Lw for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oisOr-0006dP-Pl for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 07:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57400 X-GNU-PR-Package: emacs Original-Received: via spool by 57400-submit@debbugs.gnu.org id=B57400.166564513225438 (code B ref 57400); Thu, 13 Oct 2022 07:13:01 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 13 Oct 2022 07:12:12 +0000 Original-Received: from localhost ([127.0.0.1]:59266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oisO4-0006cD-Aw for submit@debbugs.gnu.org; Thu, 13 Oct 2022 03:12:12 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oisO0-0006bv-1x for 57400@debbugs.gnu.org; Thu, 13 Oct 2022 03:12:10 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id C00961C000E; Thu, 13 Oct 2022 07:11:59 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Wed, 12 Oct 2022 18:01:04 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245272 Archived-At: > > The last revision currently is supported only by git and hg backends > > in vc-git-log-edit-toggle-amend and vc-hg-log-edit-toggle-amend. > > 1. I think this can be supported in CVS. How about doing that? It seems this is already supported in vc-cvs-working-revision, but currently I can't confirm this. > 2. Isn't it natural to be able to specify a previous version > to compare the current workfile against? C-x v = supports that. > > Why not compare the work file In case of vc-git-diff, it just runs `git diff-index` to compare to the working tree. However, 'C-u C-x v =' raises more questions: 1. When used on one file, for the default value of the old revision, it converts the name "HEAD" of the current branch to its unabbreviated hash number. So the question is why not leave it alone and display the default value "HEAD" as is? 2. When used on many files, there is no default value. But why not use the same "HEAD" even in case of multiple files?