From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Sat, 15 Oct 2022 15:20:46 +0300 Message-ID: <834jw56zxd.fsf@gnu.org> References: <84v8qgn1z9.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> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, 57400@debbugs.gnu.org, ane@iki.fi, juri@linkov.net To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 14:22:33 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 1ojgBU-0008Wh-LM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 14:22:33 +0200 Original-Received: from localhost ([::1]:56446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojgBT-0004fz-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 08:22:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojgB0-0004bR-G6 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 08:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojgB0-0001JT-7q for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 08:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojgAz-0004tU-SX for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 08:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2022 12:22: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.166583647118751 (code B ref 57400); Sat, 15 Oct 2022 12:22:01 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 15 Oct 2022 12:21:11 +0000 Original-Received: from localhost ([127.0.0.1]:39727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojgAB-0004sM-He for submit@debbugs.gnu.org; Sat, 15 Oct 2022 08:21:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojgA6-0004rS-2j for 57400@debbugs.gnu.org; Sat, 15 Oct 2022 08:21:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojg9y-00012U-PR; Sat, 15 Oct 2022 08:20:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SDjcamY/YB97guK0kfWnCW1EEXOFMqW0TaJRQWPB8QA=; b=BU+EzlgIqTxl S0ZL9vboLEjvux8Qo44BCBAE7z5ov80f7B/Lqv2coDu2hujGMnsHQk8YF1zRXocv7hfzSGm3ajD1I VkxU5PvndC5kmo7je326C2HQ0LnGW2mYdVuM1al380umwNUfxdBqBzbEII5w7+E6orR+MetWKVKhM +snvmoHi+80ow52CYIrZftJugsS50Xb0QC99CNRHjS+zMQy3ymRXP7nc5dlTHS1swlbN/KhUDKsFH wPLpHvrhONQlgvzvvB0IiOBF9+GU990+gRNYbxMkYLjvQs3gpXg7NLWCpREHw6BKxjRItbnuJZabm ckd6QLjCd3rY7s1uEZJiYw==; Original-Received: from [87.69.77.57] (port=3265 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojg9y-0003hn-2v; Sat, 15 Oct 2022 08:20:58 -0400 In-Reply-To: <87r0z95n0l.fsf@posteo.net> (message from Philip Kaludercic on Sat, 15 Oct 2022 11:44:58 +0000) 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:245545 Archived-At: > 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.