From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git) Date: Sun, 12 Nov 2023 13:21:29 +0200 Message-ID: References: <66fc4912-6aa5-79da-bd6f-52f068cf1a77@gmail.com> <83y1f4wxby.fsf@gnu.org> <2eb31324-ae24-db4b-4f62-a0140bfb9f81@gutov.dev> <83sf5bv77j.fsf@gnu.org> <83bkbzusri.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35762"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: jporterbugs@gmail.com, 67062@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 12:22:31 2023 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 1r28Xu-00096i-SZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 12:22:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r28Xm-0004mv-Ok; Sun, 12 Nov 2023 06:22:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r28Xl-0004mk-Cs for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 06:22:21 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r28Xl-0000C1-4s for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 06:22:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r28YP-0007qW-LI for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 06:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Nov 2023 11:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67062 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67062-submit@debbugs.gnu.org id=B67062.169978814130108 (code B ref 67062); Sun, 12 Nov 2023 11:23:01 +0000 Original-Received: (at 67062) by debbugs.gnu.org; 12 Nov 2023 11:22:21 +0000 Original-Received: from localhost ([127.0.0.1]:55169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r28Xl-0007pY-FR for submit@debbugs.gnu.org; Sun, 12 Nov 2023 06:22:21 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:43109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r28Xj-0007pL-Jx for 67062@debbugs.gnu.org; Sun, 12 Nov 2023 06:22:20 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E0F7232004ED; Sun, 12 Nov 2023 06:21:32 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 12 Nov 2023 06:21:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699788092; x=1699874492; bh=RKP3O76EeuzZlQ5vPHFqzJB0edJBh9hKAoI DikjyUgY=; b=HUW74A6UIdYa3Wv29grnI2r6tYKcLB4QO8KuvLq2n/8QDlSrKdu 4HsRUXGe8I7vgP1pYr+tuEhUxw5ZU9pEVUtcmR6z+3LCOaK4r8HOVnfSplWUfUJI RJ++QbnrFSYYwhGv+cMXIXrdNSCtHAJGN1pDY1tBkpVWslCjMrsg/6q16wmiVPmZ DRd7mcyfh7Bkl3v6cGn4AxaXe0V/hmtAxvDSjhktUhr7qOAubOdbUg2uFu/5+19C nhstEEi9J5TEG8g5wI9XoxaVY+u7XN+/hn5ngX+yiP8SkKSOTbj8090oJcspVfds fF5nhWdi7qY54ojqzB9jolrD21xJsba626w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699788092; x=1699874492; bh=RKP3O76EeuzZlQ5vPHFqzJB0edJBh9hKAoI DikjyUgY=; b=E0kBTeuxPJKcQG7EZhMVNAmQv5PV8Tz3fpALLHCNRm9cKfNf15j m/78ql6/ZtS1m5gS7cGyDnL+HmmltHEQTlIC0FyJZQSjndnVmbf4PdmedsFsjIqi czGPOl+7hE/DEn6HshJlb9ZQXVmHolB4IOfI3E/tf1d6Mab8AL7Enuw0vq89B9TB 5Ji3syzQ6BRvv9sUgSpBrTZ3kdQ1akX8eivoAgFPbEvEeNHA8wqRzI/og/hixOzt Jkw8aQnPP/17prptoksRRaE6G6+4KK27cyLZPmAu5Er20R5UI3NjtiYpgwkHtakQ eRi2KkSivWpxzwNA4qRZtdoRtUG5h9oWPDQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvkedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 06:21:31 -0500 (EST) Content-Language: en-US In-Reply-To: <83bkbzusri.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274197 Archived-At: On 12/11/2023 13:15, Eli Zaretskii wrote: > no, vc-annotate will call a new function, which will have a special > code for Git alone. That's one extra indirection, but conceptually the same. We couldn't modify vc-working-revision for this, so it'll have to be a new function. And the new function (name pending) will need to check (eq backend 'Git) and call vc-git-short-revision anyway.