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: Thu, 14 Dec 2023 23:58:18 +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> <86msvi95aw.fsf@mail.linkov.net> <8742d731-62ba-0808-bdc6-cbad1cf98116@gutov.dev> <2f7c9164-4a64-91c6-245e-61208de8560c@gmail.com> <868r72895g.fsf@mail.linkov.net> <83o7fxu458.fsf@gnu.org> <10fbafbc-fad9-6738-1146-c37c61e7b1e3@gmail.com> <83o7espnp3.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="25048"; 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: 67062@debbugs.gnu.org, juri@linkov.net To: Jim Porter , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 22:59:23 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 1rDtjl-0006Fw-Sf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 22:59:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDtjU-0003q6-VU; Thu, 14 Dec 2023 16:59:05 -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 1rDtjS-0003pj-RP for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 16:59:02 -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 1rDtjS-0005oZ-IW for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 16:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDtjS-0005aJ-1G for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 16:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2023 21:59:02 +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.170259110721416 (code B ref 67062); Thu, 14 Dec 2023 21:59:02 +0000 Original-Received: (at 67062) by debbugs.gnu.org; 14 Dec 2023 21:58:27 +0000 Original-Received: from localhost ([127.0.0.1]:51096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDtit-0005ZM-AD for submit@debbugs.gnu.org; Thu, 14 Dec 2023 16:58:27 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDtir-0005Z8-SH for 67062@debbugs.gnu.org; Thu, 14 Dec 2023 16:58:26 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3A8B55C024B; Thu, 14 Dec 2023 16:58:21 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 14 Dec 2023 16:58:21 -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:subject:subject:to:to; s=fm3; t=1702591101; x=1702677501; bh=ischLVe4ToCb+1IoGX/HnCUbcllzDZTM1ojYtpddXV0=; b= JBkIjzCZ4t6eCF6CQ+cC0Tz2R9dNsk6tB9Ddi8MQO1Vi9jR0dWwYiKr1nzJMyKd6 8C+09befW1uvDsyY2gIF46mvZtCn/ZUyQRNt9I0S1mltp8vqAr19A0XAruY6hJMc kkxfnkViQRInMxYdtmGRtNOfzwj8zatBkJGSUa3G88PT2CgPIdxsI9VVOLsy7Eyp h6C7Jq3oLcDSdzcgAg5ugRC3fkH+/er/INKmnDzZd3RXyHv6FNo473r+25gUvf9S AiY9aBgUN4bO1gRJRB7qh2yc5kJ5UHgeGnQ6dVwqZTKoNkUq0aNOfGmE+YwK2PTN uY5TiAaiORYZzFOWNREUnw== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702591101; x= 1702677501; bh=ischLVe4ToCb+1IoGX/HnCUbcllzDZTM1ojYtpddXV0=; b=T Xpvrp79w5RgDINkTChJa6JXS80Zz1GDNF9bYvgkwtwqxGXG2CS0mWF681E1W9GjG PevhXGc5CM+fnvq+ByFObBcjhnijK+QG5TgG0ACADJjiTWGccW5WNxj66sKvsrka SikLQP/n082IcxiqjNRdeosVomN8o9WFcr+RY6xn+AP2ikPTh8/W78X+uPsLhfGd k1hZMEF91FAPQAvtyyTmezYEZyDjyfVVHABXQ1KJVgvyj+76GLeeTthx/nCWJTtJ mcMIYqH8BgGJSXvrDiAbqL3ajkSo7fCP4rffWTS5O96Yi2wWY5jBzGFgJoMZLEJO fDjWiUktigzTKJwT/tPdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelledgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Dec 2023 16:58:19 -0500 (EST) Content-Language: en-US In-Reply-To: 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:276223 Archived-At: On 14/12/2023 22:34, Jim Porter wrote: > +(defcustom vc-git-use-short-revisions t > + "If non-nil, return short Git revisions when calling `vc-short-revision'. > +If nil, always return full Git revisions. > + > +This affects the revision shown in the buffer name for > +`vc-annotate'." > + :type 'boolean > + :version "30.1") Do we need this option? I'm probably missing something, but IIUC a new variable to control the behavior was suggested as an alternative to using a new backend action. But here we add a new backend action anyway. I don't mind either way, though.