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: Sat, 15 Oct 2022 15:15:02 +0000 Message-ID: <8735bp5dah.fsf@posteo.net> References: <84v8qgn1z9.fsf@iki.fi> <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> <871qrchzli.fsf@posteo.net> <86tu471vhq.fsf@mail.linkov.net> <875ygnjyp0.fsf@posteo.net> <87mt9zii8w.fsf@posteo.net> <831qrba2g1.fsf@gnu.org> <87ilknidkv.fsf@posteo.net> <83sfjq99vl.fsf@gnu.org> <87czau6ps0.fsf@posteo.net> <83o7ud7evv.fsf@gnu.org> <87r0z95n0l.fsf@posteo.net> <834jw56zxd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, 57400@debbugs.gnu.org, ane@iki.fi, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 17:19:41 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 1ojiwu-0009BW-T2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 17:19:40 +0200 Original-Received: from localhost ([::1]:58948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojiwt-0004lC-K3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 11:19:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojitO-0002ph-90 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 11:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43389) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojitO-0003Ff-0F for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 11:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojitN-0001s2-Og for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 11:16: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: Sat, 15 Oct 2022 15:16: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.16658469107118 (code B ref 57400); Sat, 15 Oct 2022 15:16:01 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 15 Oct 2022 15:15:10 +0000 Original-Received: from localhost ([127.0.0.1]:42466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojisY-0001qj-Aw for submit@debbugs.gnu.org; Sat, 15 Oct 2022 11:15:10 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:48079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojisW-0001qS-Uy for 57400@debbugs.gnu.org; Sat, 15 Oct 2022 11:15:09 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6FE6924002A for <57400@debbugs.gnu.org>; Sat, 15 Oct 2022 17:15:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665846903; bh=H92/r8EuPwuKCEEl358QZI6pdinrxuqzfDbdEFcRvos=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=PRJYUwStP0eo7a7hbz9ksm6smhvCQh40VuRSL1UDHprRH+E2az25Fkh68CZlT8IiM kJAoPbiEIDThkFUImwQtihGuBCm2ZrciJZgd3tQ0jS8/1ejvf96wHmlq99OP7T4hOc /SW8WYTdPSbb850iEuj9x/C7tX5GSQByWEk1v3hLSC9yztD9vwLLc6tZvviLpXcgOh OhTnMjDRPNx5zUfMjQCQbNqX8PSRRoAK5JgPpCCbsZtbcB5wGzK2cKGvxu5kzbdGG0 x0jIELfekrhypkAVPVVWabMjCw0iyIrQCwBuBvnn4p6cTLFWaizbJfMjgOwbNMj2Dt MZr1/SkJNgSdA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MqRdL6Mqjz6tlh; Sat, 15 Oct 2022 17:15:02 +0200 (CEST) In-Reply-To: <834jw56zxd.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Oct 2022 15:20:46 +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:245565 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: juri@linkov.net, rpluim@gmail.com, 57400@debbugs.gnu.org, ane@iki.fi >> Date: Sat, 15 Oct 2022 11:44:58 +0000 >> >> The function does accept everything that "git name-rev" accepts, after >> all it just passes commit to the subcommand. What FORCE does is >> restrict what "git name-rev" response is accepted to be returned by >> `vc-git-symbolic-commit'. > > Ah, so this is what I was missing... > > Then how about > > If the optional argument FORCE is non-nil, the returned value is > allowed to include revision specifications like \"master~8\" > (the 8th parent of the commit currently pointed to by the master > branch), otherwise such revision specifications are rejected, and > the function returns nil. Sounds good to me.