From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Thu, 13 Oct 2022 08:55:37 +0000 Message-ID: <871qrchzli.fsf@posteo.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="39541"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Pluim , 57400@debbugs.gnu.org, Antoine Kalmbach To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 11:17:23 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 1oiuLC-0009wI-Am for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 11:17:22 +0200 Original-Received: from localhost ([::1]:54344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiuLB-0006J0-8X for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 05:17:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiu0Z-0006oU-SR for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 04:56:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiu0X-0000Nf-Nh for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 04:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiu0X-0001Lh-Id for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 04:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 08:56: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.16656513565174 (code B ref 57400); Thu, 13 Oct 2022 08:56:01 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 13 Oct 2022 08:55:56 +0000 Original-Received: from localhost ([127.0.0.1]:59514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiu0R-0001LN-CN for submit@debbugs.gnu.org; Thu, 13 Oct 2022 04:55:55 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:39799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiu0K-0001L6-W8 for 57400@debbugs.gnu.org; Thu, 13 Oct 2022 04:55:54 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 93E05240103 for <57400@debbugs.gnu.org>; Thu, 13 Oct 2022 10:55:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665651342; bh=YMZGQCd2KfFIjg9bDg+QC04zLQvWrBwhqMfo94EHK2w=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=D2tUeclI8pQXpIdz7oG1lCUe0+crIk1a5jfQSKo1tjIwMbvlJ6iGL2VBCc+fWWSMK eupL+cWXRvtUHL6VI67SrO7CGhzNdzzbNhGKnQCHFn7DrGhrjvClTA5HmVZkMEiQLJ +05rY9Zkbyrs90FaM9F3MGDf7+uxsFgC+lSNtqfcaMVlDeMtsZPEQ9U7twPzsehJf6 OBfOD6pF5xBYLW2TuV6aKt9MECT/lmAd84GIsez3bZiaUjS3gPUpi621i46gG2NG7G 06uBMk4fyS+p0awBqPpWpfir5SxddXAQcVrhFrVhh691dGx7sN18jXXaZCTRsvdq0g fz5HNRdY00pow== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mp3JT5TDLz9rxN; Thu, 13 Oct 2022 10:55:37 +0200 (CEST) In-Reply-To: <86r0ze2ldb.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 11 Oct 2022 22:47:28 +0300") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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:245279 Archived-At: Juri Linkov writes: >>>> I can also imagine that the initial input outside of a log buffer ought >>>> to just be the last commit. >>> >>> Depends on whether this is one of the most popular workflows. >> >> Seems popular to me, you make a change and want to submit it. The issue >> I have noticed is that vc doesn't allow for an easy way to detect the >> latest revision. The best I can do is the last revision for the file >> associated with the current buffer. > > 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. > >> I have done all of the above and am prepared to push the changes, but >> before I do I was wondering if anyone would have any objections to the >> following changes to vc-git.el: > > Indeed, abbreviated commits are more usable. But please wait a little > for more comments. Also note that this change would also only affect working-revision and previous-revision. If necessary or preferred, I could also modify the changes to only affect working-revision.